Tournament fixtures
List tennis opponents and scheduled starts. Group matches by the returned league name and retain each event_id.
GET /v1/events?sport=tennis
Build tennis match pages with ATP, WTA and Challenger fixtures, match-winner odds, set markets and game handicaps. Compare 105 bookmaker feeds, then connect score-enabled matches to sets, games, points and serving state.
/v1/events/tennis-example-001/odds/snapshot
{
"event_id": "tennis-example-001",
"as_of_ts_ms": 1793502000000,
"ttl_seconds": 120,
"items": [
{
"bookmaker": "bet365",
"market_key": "moneyline",
"selection_name": "Jannik Sinner",
"odds": 1.80,
"fair_odds": 1.90
},
{
"bookmaker": "bet365",
"market_key": "moneyline",
"selection_name": "Carlos Alcaraz",
"odds": 2.05,
"fair_odds": 2.11
}
]
}
Compare tennis prices from Bet365, Pinnacle, Sportsbet, William Hill and more through one JSON feed.
Bet365
Pinnacle
Sportsbet
William Hill
Unibet
Ladbrokes
Find opponents and scheduled starts, organize fixtures by tournament and request odds with the match’s event_id. For score-enabled accounts, exchange discovery provides the command to subscribe to tennis score updates.
List tennis opponents and scheduled starts. Group matches by the returned league name and retain each event_id.
GET /v1/events?sport=tennis
Use the selected fixture’s event_id to request its source match record.
GET /v1/events/{event_id}
With score access enabled by support, use the discovered score subscription to receive sets, games, points, serving state and tie-break state.
WS /v1/exchange/tennis/scores/ws
Request match winners, set winners, total games and handicaps. Retain each player selection and line.
GET /v1/events/{event_id}/odds/snapshot
Update the selected match’s odds board through SSE or WebSockets after loading its snapshot.
GET /v1/events/{event_id}/odds/stream
Match the event, market, period, line and selection before comparing prices across bookmakers.
Tennis API documentation starts with sport=tennis: find opponents, tournament names and scheduled matches, then pass event_id to the bookmaker snapshot. Use the Node.js, Python or cURL example to build the request.
X-API-Keybet365, pinnacle, sportsbet/v1/events/{event_id}/odds/snapshot?bookmakers=bet365,pinnacle,sportsbet
Build a tennis odds board with https://api.odds-api.net/v1. Keep ODDS_API_KEY server-side and send it in the X-API-Key header.
Find an upcoming fixture at /events?sport=tennis¬_started_only=true&limit=50 that lists bet365, pinnacle or sportsbet. Use its event_id to fetch /events/{event_id}/odds/snapshot?bookmakers=bet365,pinnacle,sportsbet&price_fields=odds. Follow next_cursor on fixture and snapshot responses until all pages are collected.
Show players, start times, bookmakers, markets, selections and decimal prices. Keep match winners, set winners, games, sets, periods, lines and player names separate when comparing prices. Preserve timestamps so users can check freshness, and handle empty results or unavailable quotes.const base = "https://api.odds-api.net/v1";
const key = process.env.ODDS_API_KEY;
if (!key) throw new Error("Set ODDS_API_KEY on your server.");
const books = ["bet365", "pinnacle", "sportsbet"];
async function* pages(path, params) {
const query = new URLSearchParams(params);
while (true) {
const response = await fetch(`${base}${path}?${query}`, {
headers: {"X-API-Key": key}
});
if (!response.ok) throw new Error(`API error ${response.status}`);
const payload = await response.json();
yield payload;
if (!payload.next_cursor) return;
query.set("cursor", payload.next_cursor);
}
}
let event;
for await (const page of pages("/events", {
sport: "tennis", not_started_only: "true", limit: "50"
})) {
event = page.items.find(item => books.some(book => (item.bookmakers || []).includes(book)));
if (event) break;
}
if (!event) throw new Error("No upcoming tennis match with the selected bookmakers. Try again later.");
for await (const snapshot of pages(`/events/${event.event_id}/odds/snapshot`, {
bookmakers: books.join(","), price_fields: "odds"
})) {
console.log(snapshot);
}
import os
import requests
BASE = "https://api.odds-api.net/v1"
HEADERS = {"X-API-Key": os.environ["ODDS_API_KEY"]}
BOOKMAKERS = ["bet365", "pinnacle", "sportsbet"]
def pages(path, params):
params = dict(params)
while True:
response = requests.get(BASE + path, headers=HEADERS, params=params, timeout=20)
response.raise_for_status()
payload = response.json()
yield payload
cursor = payload.get("next_cursor")
if not cursor:
return
params["cursor"] = cursor
fixtures = pages("/events", {
"sport": "tennis",
"not_started_only": "true", "limit": 50,
})
event = next((event for page in fixtures for event in page["items"]
if any(book in event.get("bookmakers", []) for book in BOOKMAKERS)), None)
if event is None:
raise RuntimeError("No upcoming tennis match with the selected bookmakers. Try again later.")
for snapshot in pages(f"/events/{event['event_id']}/odds/snapshot", {
"bookmakers": ",".join(BOOKMAKERS), "price_fields": "odds",
}):
print(snapshot) # Keep timestamps and stream resume information with the rows.
export ODDS_API_KEY="your_api_key"
curl --fail-with-body -sS -H "X-API-Key: $ODDS_API_KEY" \
"https://api.odds-api.net/v1/events?sport=tennis¬_started_only=true&limit=50"
# Set an event_id returned by discovery. Follow next_cursor using cursor if present.
export EVENT_ID="replace_with_event_id"
curl --fail-with-body -sS -H "X-API-Key: $ODDS_API_KEY" \
"https://api.odds-api.net/v1/events/$EVENT_ID/odds/snapshot?bookmakers=bet365,pinnacle,sportsbet&price_fields=odds"
# Repeat with cursor=next_cursor until next_cursor is empty.
Find fixtures by tournament. Connect every match to its bookmaker odds.
ATP tour
ATP Challenger tour
Women’s tennis
Also in the catalog: Wimbledon, US Open and ITF Women Radom.
Compare prices. Follow live markets. Study the history.
Match winners, set markets and game lines in one feed.
Included in all plans
Get tennis oddsTrack Betfair exchange prices while the match is in play.
Builder, Live and Pro
Explore live accessChart past odds and put your tennis model to the test.
History Lite · +$50/month on a paid plan
Explore historyA match winner, a first-set winner and a −2.5-game handicap are different tennis bets. Use bet_type with period, metric, line and selection to identify exactly what each price represents.
| Tennis market | API bet_type | What it covers |
|---|---|---|
| Match winner | moneyline |
Compare the two players in a match. Example selections: Jannik Sinner or Carlos Alcaraz. |
| Set winner | moneyline |
Use period to select the 1st set or 2nd set. Keep set winners separate from the match winner. |
| Total games | total |
metric: games. Compare Over and Under at the same line, such as 22.5 games, for the same period. |
| Game handicaps | handicap |
metric: games. Compare player selections at a matching handicap, such as −2.5 games. |
| Set totals and handicaps | totalhandicap |
metric: sets. Build total-set and set-handicap views, keeping the line and selection attached to each price. |
| Player game totals | team total |
metric: games. The normalized team total market identifies an individual tennis participant through its selection fields. |
Tools for events, odds, line movement, streams, and paid-plan positive EV or arbitrage feeds.
Agent-ready instructions.
TypeScript, Python, Postman and example builds.
Sports and racing odds coverage for agent workflows.
Lightweight streaming updates for dashboards and alerts.
Price updates for sportsbook and exchange products.
Find a tennis fixture, request the players’ odds and compare prices for the same match, set and line.
Filter events by sport=tennis, then save the event ID for your chosen opponents and tournament.
Read every snapshot page for your chosen bookmakers and retain market, metric and period fields.
Match the player, period, line and games or sets metric before comparing prices.
Open the event stream using the snapshot resume information and apply each odds-row change.
Starter is $50 USD/month with 250,000 requests, 500 stream-hours and three concurrent streams. History Lite adds $50/month for 30 days of retained pre-match odds.
Enterprise grade
Custom projects, scoped with your team.
Answers on tennis bookmaker coverage, live odds, historical prices, documentation and API keys.
Tennis coverage includes ATP, WTA and Challenger events. The coverage feed includes ATP Finals, ATP Challenger tournaments and WTA 125K events. Discover matches with sport=tennis and use the returned league name to organize your tournament pages.
Request /v1/events with sport=tennis and not_started_only=true. Use the returned league names to organize fixtures, then pass an exact league value to narrow the list—for example ATP Challenger Helsinki. URL-encode spaces in a query string.
Compare match winners, first- and second-set winners, total games, game handicaps, set totals, set handicaps and individual player game totals. The markets table gives the exact API bet_type values and examples.
Use moneyline for match and set winners, total for over/under markets, handicap for spreads and team total for participant totals. Match the period, games or sets metric, line and player selection before comparing bookmaker prices.
Load a REST snapshot to populate your match odds board, then follow pre-match price changes through SSE or WebSockets. Both streaming options let you update individual selections as prices change.
Builder, Live and Pro include Betfair in-play exchange access. Use the event and market identifiers to connect exchange prices with your tennis match view; pre-match bookmaker odds and in-play exchange odds are distinct products.
History Lite adds 30 days of retained pre-match odds for $50 USD/month on a paid plan. Query event history to review recorded price movement and compare opening and later observations.
History is useful for reviewing your pricing model, charting bookmaker movement and analyzing past decisions. Keep the event, bookmaker, market, period, metric, line and selection together when building a historical series.
Create an account and copy your API key from the dashboard. Keep it on your server and send it in the X-API-Key header. The examples on this page discover a tennis match and request its bookmaker snapshot, following pagination for both responses.
Starter costs $50 USD/month and includes 250,000 requests, 500 stream-hours and three concurrent streams. Use the pricing page to compare higher request and streaming allowances, then connect the same key to REST, SSE or WebSockets.
The integration example on this page discovers upcoming matches with GET /v1/events?sport=tennis, then requests GET /v1/events/{event_id}/odds/snapshot for Bet365, Pinnacle and Sportsbet. Node.js and Python examples follow next_cursor through event and snapshot pages.
The API reference covers X-API-Key authentication, response fields, pagination, REST snapshots, SSE and WebSockets. For score-enabled accounts, /v1/events/{event_id}/exchange/markets supplies the score_subscription.command for wss://api.odds-api.net/v1/exchange/tennis/scores/ws.
The separately enabled tennis score feed exposes each participant’s sets, games, points and serving state. It also carries current_set, current_game, tie_break, match_status and game_sequence fields for building a tennis scoreboard.
Ask support to enable tennis score access. Discover the match through /v1/events/{event_id}/exchange/markets and use its score_subscription.command with the tennis score WebSocket. These fields describe the match score and serving state.
Connect tournament fixtures, player selections and match prices through one API.