betfair_market_prices
Retrieve Betfair exchange back/lay prices and market state for one or more markets. Get current odds, in-play status, and event details in a single request.
Instructions
Exchange back/lay prices + state for one or more markets (the core odds feed).
Returns: {currencyCode, eventTypes:[{eventTypeId, eventNodes:[{eventId, event:{eventName, countryCode, openDate}, marketNodes:[{marketId, state:{inplay, status}, description, runners:[{...prices: back/lay}]}]}]}]}
Example: Price two markets {"marketIds": "1.258654642,1.258653584"}
Auth: none needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _ak | No | Public web app key (leave default). | nzIFcwyWhrlwYMrh |
| alt | No | Response format (leave json). | json |
| types | No | Which data sections to include (CSV). | MARKET_STATE,MARKET_RATES,MARKET_DESCRIPTION,EVENT,RUNNER_DESCRIPTION,RUNNER_STATE,RUNNER_EXCHANGE_PRICES_BEST,RUNNER_METADATA,MARKET_LINE_RANGE_INFO |
| locale | No | Locale. | en |
| marketIds | Yes | Comma-separated market ids, e.g. "1.258654642,1.258653584". | |
| rollupLimit | No | Price-ladder depth to roll up. | |
| rollupModel | No | Roll-up model (STAKE / MANAGED_LIABILITY / NONE). | STAKE |
| currencyCode | No | Currency for prices/volumes. | AUD |