Betting API
Endpoints
Use these endpoints for Betting API requests. All API requests should be sent as POST.
Quick guidance: use the Global Exchange endpoints unless you are a New Zealand customer. Spanish Exchange customers should also review Betting on Spanish Exchange.
Global Exchange
Interface | Endpoint | JSON-RPC Prefix | Method example |
|---|---|---|---|
JSON-RPC | <method> | SportsAPING/v1.0/listMarketBook | |
JSON REST | — | listMarketBook/ |
New Zealand customers: use the New Zealand-specific endpoints below.
New Zealand Customers
Interface | Endpoint | JSON-RPC Prefix | Method example |
|---|---|---|---|
JSON-RPC | <method> | SportsAPING/v1.0/listMarketBook | |
JSON REST | — | listMarketBook/ |
Operation Summary
The table below summarises the main Betting API operations, grouped by what you are trying to do.
Category | Operation | Returns | Use this to… |
|---|---|---|---|
Discover markets | List<EventTypeResult> | Find the sports associated with markets selected by a MarketFilter. | |
Discover markets | List<CompetitionResult> | Find competitions associated with markets selected by a MarketFilter. Horse racing and greyhound event types are associated with venues instead. | |
Discover markets | List<TimeRangeResult> | Find time ranges, at the requested granularity, for markets selected by a MarketFilter. | |
Discover markets | List<EventResult> | Find events, such as Reading vs. Man United, associated with markets selected by a MarketFilter. | |
Discover markets | List<MarketTypeResult> | Find market types such as MATCH_ODDS or NEXT_GOAL. Market types are the same regardless of locale. | |
Discover markets | List<CountryCodeResult> | Find countries associated with markets selected by a MarketFilter. | |
Discover markets | List<VenueResult> | Find venues such as Cheltenham or Ascot. Only horse racing and greyhound markets are associated with venues. | |
Market data | List<MarketCatalogue> | Retrieve stable information about published ACTIVE or SUSPENDED markets. | |
Market data | List<MarketBook> | Retrieve dynamic market data including prices, market and selection status, traded volume, and order status. | |
Market data | List<MarketBook> | Retrieve dynamic data for a specific runner in a market, including prices, status, traded volume, and order status. | |
Profit and loss | List<MarketProfitAndLoss> | Retrieve profit and loss for open markets, calculated using matched bets and optionally settled bets. | |
Orders | CurrentOrderSummaryReport | Retrieve your current orders. | |
Orders | ClearedOrderSummaryReport | Retrieve settled bets based on bet status, ordered by settled date. | |
Orders | PlaceExecutionReport | Place new orders into a market. | |
Orders | CancelExecutionReport | Cancel all bets, all bets on a market, or fully or partially cancel specific orders on a market. | |
Orders | ReplaceExecutionReport | Replace orders using a bulk cancel followed by a bulk place. The cancel is completed before the new orders are placed. | |
Orders | UpdateExecutionReport | Update non-exposure changing order fields. |