# Betfair Exchange Odds API
URL: https://sockodds.com/bookmakers/betfairexchange-odds-api/

> Access Betfair Exchange betting odds through the SockOdds API. Structured JSON including head to head, lines, totals, player props and more, keyed bookmakerID=betfairexchange.

Access Betfair Exchange betting odds through the SockOdds API. Structured JSON data including head to head, lines, totals, player props and more — `bookmakerID=betfairexchange`.

## Why choose our Betfair Exchange exchange API?

Our Betfair Exchange API provides clean, structured Betfair Exchange odds data for developers and betting platforms, eliminating the need for scraping or unstable data feeds. The Australian Betfair exchange — back and lay prices that anchor fair odds.

## Betfair Exchange Odds API Overview

The SockOdds Betfair Exchange odds API provides fast, accurate data and odds from Betfair Exchange across 16 leagues: [NFL](https://sockodds.com/leagues/nfl-odds-api/), [MLS](https://sockodds.com/leagues/mls-odds-api/), [MLB](https://sockodds.com/leagues/mlb-odds-api/), [La Liga](https://sockodds.com/leagues/la-liga-odds-api/), [Premier League](https://sockodds.com/leagues/epl-odds-api/), [Serie A](https://sockodds.com/leagues/it-serie-a-odds-api/), [Bundesliga](https://sockodds.com/leagues/bundesliga-odds-api/), [Ligue 1](https://sockodds.com/leagues/fr-ligue-1-odds-api/), [Champions League](https://sockodds.com/leagues/uefa-champions-league-odds-api/), [ATP](https://sockodds.com/leagues/atp-odds-api/) and 6 more. 164 events are priced by Betfair Exchange right now.

With a single, unified API solution, developers can retrieve pre-match Betfair Exchange odds, including:

- Head to head / moneylines (2-way and 3-way markets)
- Lines, spreads and handicaps
- Totals (over/under)
- Alternative lines
- Player props and game props
- Period-specific markets (quarters, halves, innings, sets, rounds)

All data is provided in structured JSON via REST endpoints, refreshed every ~2 minutes.

## Betfair Exchange API Features & Market Types

### Main markets

- **Head to head** — 2-way and 3-way lines
- **Line / handicap** — spreads with the price
- **Totals** — over/under lines for points, goals, runs and more
- **Period markets** — halves, quarters, innings, sets, rounds where priced

### Player props & alternate lines

Betfair Exchange prices 8 distinct player-prop markets in the feed — Points / score, First to score, Shots on goal, Cards — plus alternative spreads and totals, team props and game props.

### Pre-match data

- **Pre-game odds** — current odds before game time, with `decimal` alongside the American string
- **Availability** — a suspended selection is listed with `available: false`, never dropped silently
- **Line movement tracking** — every price carries `lastUpdatedAt`, and finished events are retained

### Deeplinks & settlement data

- **Deeplinks** — 141 events carry a Betfair Exchange entry in `links.bookmakers`
- **Results** — event results and `scoringSupported` flags where the source grades the market

## Betfair Exchange coverage by league

| League | leagueID | Events priced |
| --- | --- | --- |
| [NFL](https://sockodds.com/leagues/nfl-odds-api/) | `NFL` | 130 |
| [MLS](https://sockodds.com/leagues/mls-odds-api/) | `MLS` | 96 |
| [MLB](https://sockodds.com/leagues/mlb-odds-api/) | `MLB` | 85 |
| [La Liga](https://sockodds.com/leagues/la-liga-odds-api/) | `LA_LIGA` | 41 |
| [Premier League](https://sockodds.com/leagues/epl-odds-api/) | `EPL` | 39 |
| [Serie A](https://sockodds.com/leagues/it-serie-a-odds-api/) | `IT_SERIE_A` | 33 |
| [Bundesliga](https://sockodds.com/leagues/bundesliga-odds-api/) | `BUNDESLIGA` | 27 |
| [Ligue 1](https://sockodds.com/leagues/fr-ligue-1-odds-api/) | `FR_LIGUE_1` | 27 |
| [Champions League](https://sockodds.com/leagues/uefa-champions-league-odds-api/) | `UCL` | 17 |
| [ATP](https://sockodds.com/leagues/atp-odds-api/) | `ATP` | 12 |
| [AFLW](https://sockodds.com/leagues/aflw-odds-api/) | `AFLW` | 9 |
| [NRLW](https://sockodds.com/leagues/nrlw-odds-api/) | `RUGBYLEAGUE_NRLW` | 9 |
| [Rugby Union Internationals](https://sockodds.com/leagues/rugby-union-internationals-odds-api/) | `RUGBYUNION_INTERNATIONALS` | 8 |
| [AFL](https://sockodds.com/leagues/afl-odds-api/) | `AFL` | 6 |
| [IPL](https://sockodds.com/leagues/ipl-odds-api/) | `IPL` | 5 |
| [WTA](https://sockodds.com/leagues/wta-odds-api/) | `WTA` | 4 |

## Betfair Exchange Odds API Technical Specifications

### API Architecture

- **REST API** — Simple HTTP endpoints with JSON responses, identical to the SportsGameOdds v2 paths
- **Polling, not push** — the feed refreshes every ~2 minutes; `/v2/stream/events` is reserved and answers 501 rather than pretending
- **Rate limits** — per-key, per-minute meters that bind under concurrency; plans sized to your usage
- **Authentication** — secure API key access via the `x-api-key` header or `apiKey` query parameter

### Data Update Speed

- **Odds updates** — every ~2 minutes across every bookmaker lane
- **Event status** — `status` flags and `info.stale` tell you exactly how current a price is

### Developer Resources

- [Interactive documentation](https://sockodds.com/docs/) — live examples, copy-paste snippets and an [AI (vibe coding)](https://sockodds.com/docs/info/ai-vibe-coding/) context
- [SDKs & libraries](https://sockodds.com/docs/sdk/) — the SportsGameOdds SDKs for TypeScript, Python, Ruby, Go and Java work unchanged with the base URL pointed here
- [Postman collection](https://sockodds.com/postman-collection/) — pre-built requests ready to run
- [Support](https://sockodds.com/docs/help/) — email support on every plan, priority on paid plans

### Betfair Exchange market coverage by category

| Market category | Example markets | Markets | Availability | Typical bookmakers |
| --- | --- | --- | --- | --- |
| **Full game lines** | Points / score O/U, Points / score line, Points / score 1X2, Points / score | 20 oddIDs | Pre-match | [BetFocus](https://sockodds.com/bookmakers/betfocus-odds-api/), [MintBet](https://sockodds.com/bookmakers/mintbet-odds-api/), [Dabble](https://sockodds.com/bookmakers/dabble-odds-api/), [Picklebet](https://sockodds.com/bookmakers/picklebet-odds-api/), [Betfair Exchange](https://sockodds.com/bookmakers/betfairexchange-odds-api/), [PointsBet](https://sockodds.com/bookmakers/pointsbet-odds-api/) |
| **Period markets** | Points / score O/U, Points / score 1X2 | 5 oddIDs | Pre-match | [Dabble](https://sockodds.com/bookmakers/dabble-odds-api/), [BetFocus](https://sockodds.com/bookmakers/betfocus-odds-api/), [MintBet](https://sockodds.com/bookmakers/mintbet-odds-api/), [BetDeluxe](https://sockodds.com/bookmakers/betdeluxe-odds-api/), [Betfair Exchange](https://sockodds.com/bookmakers/betfairexchange-odds-api/), [BetRight](https://sockodds.com/bookmakers/betright-odds-api/) |
| **Score & margin specials** | Half-time / full-time, Correct score, Winning margin | 56 oddIDs | Pre-match | [BetFocus](https://sockodds.com/bookmakers/betfocus-odds-api/), [MintBet](https://sockodds.com/bookmakers/mintbet-odds-api/), [Dabble](https://sockodds.com/bookmakers/dabble-odds-api/), [Betfair Exchange](https://sockodds.com/bookmakers/betfairexchange-odds-api/), [Picklebet](https://sockodds.com/bookmakers/picklebet-odds-api/), [Neds](https://sockodds.com/bookmakers/neds-odds-api/) |
| **Team & game specials** | Both teams to score yes/no, Win to nil yes/no, Games line | 8 oddIDs | Pre-match | [BetFocus](https://sockodds.com/bookmakers/betfocus-odds-api/), [MintBet](https://sockodds.com/bookmakers/mintbet-odds-api/), [BetDeluxe](https://sockodds.com/bookmakers/betdeluxe-odds-api/), [Betfair Exchange](https://sockodds.com/bookmakers/betfairexchange-odds-api/), [BetRight](https://sockodds.com/bookmakers/betright-odds-api/), [Dabble](https://sockodds.com/bookmakers/dabble-odds-api/) |
| **Team & innings markets** | Runs | 2 oddIDs | Pre-match | [Betfair Exchange](https://sockodds.com/bookmakers/betfairexchange-odds-api/), [BetRight](https://sockodds.com/bookmakers/betright-odds-api/), [betr (sportsbook)](https://sockodds.com/bookmakers/betrsportsbook-odds-api/), [Dabble](https://sockodds.com/bookmakers/dabble-odds-api/), [Ladbrokes](https://sockodds.com/bookmakers/ladbrokes-odds-api/), [Neds](https://sockodds.com/bookmakers/neds-odds-api/) |
| **Cards, corners & shots** | Corners O/U | 2 oddIDs | Pre-match | [BetFocus](https://sockodds.com/bookmakers/betfocus-odds-api/), [MintBet](https://sockodds.com/bookmakers/mintbet-odds-api/), [Betfair Exchange](https://sockodds.com/bookmakers/betfairexchange-odds-api/), [BetRight](https://sockodds.com/bookmakers/betright-odds-api/), [Epic Odds](https://sockodds.com/bookmakers/epicodds-odds-api/), [Neds](https://sockodds.com/bookmakers/neds-odds-api/) |
| **Player props** | Points / score O/U, First to score yes/no, Points / score yes/no, Shots on goal O/U, Cards yes/no | 8 oddIDs | Pre-match | [MintBet](https://sockodds.com/bookmakers/mintbet-odds-api/), [BetFocus](https://sockodds.com/bookmakers/betfocus-odds-api/), [Betfair Exchange](https://sockodds.com/bookmakers/betfairexchange-odds-api/), [Neds](https://sockodds.com/bookmakers/neds-odds-api/), [PointsBet](https://sockodds.com/bookmakers/pointsbet-odds-api/), [TABtouch](https://sockodds.com/bookmakers/tabtouch-odds-api/) |

## Use Cases for Betfair Exchange API Data

- [Arbitrage](https://sockodds.com/use-cases/arbitrage-betting-api/) & [+EV tools](https://sockodds.com/use-cases/positive-ev-betting-api/) — compare Betfair Exchange odds across every Australian bookmaker to uncover arbitrage opportunities and positive expected value angles.
- [Odds comparison platforms](https://sockodds.com/use-cases/odds-comparison-api/) — display Betfair Exchange odds from every book side by side for comprehensive line shopping.
- **Pricing models & trading** — use Betfair Exchange market data as inputs for proprietary pricing algorithms and betting strategies.
- [Sports analytics & research](https://sockodds.com/use-cases/sports-betting-machine-learning/) — examine Betfair Exchange line movements and betting-market patterns, and build predictive models on retained events.
- [Betting automation](https://sockodds.com/use-cases/odds-alert-bot-api/) — build systems that monitor Betfair Exchange lines across bookmakers and trigger actions when your target odds appear.
- [Sportsbook & fantasy apps](https://sockodds.com/use-cases/sports-betting-app-api/) — power your Betfair Exchange product with reliable odds, status and bet-slip deeplinks.

## Betfair Exchange Odds API Documentation

Our interactive documentation covers everything you need to integrate Betfair Exchange odds into your project:

- Full endpoint reference with parameters and response schemas
- Live request and response examples
- Code snippets in Python, JavaScript, Ruby, Go and Java
- Authentication setup and API key management
- Rate limiting and the `notice` field
- Error handling and troubleshooting

[View documentation](https://sockodds.com/docs/)

## Start building today

Free plan available. Set up in 5 minutes. Scale when you're ready.
