betfair_markets_by_event
Retrieve market structure (IDs, names, runners) for Betfair events. Use market IDs from this tool to fetch exchange prices via betfair_market_prices.
Instructions
Market STRUCTURE for an event (market ids, names, runners) — probed live 2026-07-06: this route STRIPS exchange prices (runners come back without the exchange block) and 400s on multi-id batches. For prices, feed the market ids into betfair_market_prices; for bulk market-id discovery, betfair_navigation with attachments=MENU,EVENT,MARKET returns 1000+ MARKET nodes per event type in one call.
Returns: {currencyCode, eventTypes:[{eventNodes:[{eventId, event:{eventName}, marketNodes:[{marketId, description:{marketType}, state, runners:[{...prices}]}]}]}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _ak | No | nzIFcwyWhrlwYMrh | |
| alt | No | json | |
| types | No | MARKET_STATE,MARKET_RATES,MARKET_DESCRIPTION,EVENT,RUNNER_DESCRIPTION,RUNNER_STATE,RUNNER_EXCHANGE_PRICES_BEST,RUNNER_METADATA,MARKET_LINE_RANGE_INFO | |
| locale | No | en | |
| eventIds | Yes | ||
| rollupLimit | No | ||
| rollupModel | No | STAKE | |
| currencyCode | No | AUD |