Tennis Gauge API
Two JSON APIs built from the same database that runs this site: every ATP and WTA match we track, from tour level down to ITF, and the Tennis Gauge ratings and predictions on top of it. Data refreshes daily.
Match Data API
Finished matches with set-by-set scores, players with country and birth date, and head-to-head records.
- 210 810 matches since March 2025, 23 732 players
- Tour, event, surface, seeds and official rank at the time of each match
- Search players, filter matches by date, tour and surface, full match history per player
$12/monthafter a 7-day free trial
Start free trial10 000 requests a day
Ratings & Analytics API
The Tennis Gauge model: ratings for every player, rating history, and a win probability for every scheduled match with the reasons behind it.
- Ratings and ranks for 23 732 ATP and WTA players, updated daily
- Daily win probabilities with a factor breakdown: rating, surface, age, time off, seeding, nationality and more
- Value scores, graded results and the model's public track record: it picked the winner in 74.8% of 2 212 picks published before the match was played (matches where it gave one player more than 55%)
$20/monthafter a 7-day free trial
Start free trial10 000 requests a day
All Access
Both APIs on one key: every match, rating, prediction and the model's track record.
- Everything in Match Data and Ratings & Analytics
- One key, one bill, double the daily allowance
$30/monthafter a 7-day free trial
Start free trial20 000 requests a day
How the trial works: every plan starts with a 7-day free trial. A card is needed to start, but you won't be charged until it ends, and you can cancel any time from the billing portal; a cancellation takes effect at the end of the billing period you've paid for. Your API key is emailed to you as soon as you sign up. During the trial it covers the last 30 days of data at up to 1,000 requests a day; full history and your plan's full allowance switch on with the first payment.
Quick start
Send your key in the X-API-Key header. Every response is JSON with data and meta (requests used today, your limit, when the data was last updated).
curl -H "X-API-Key: YOUR_KEY" "https://tennisgauge.com/api/v1/predictions?tour=ATP"
Players are identified by the same id as their page on this site: carlos-alcaraz for tennisgauge.com/player/carlos-alcaraz.html. Lists take limit (up to 1000, default 100) and offset. Dates are YYYY-MM-DD.
Match Data API endpoints
| Endpoint | What it returns | Options |
|---|---|---|
GET /api/v1/players | Players with tour, country, birth date, match count | search, tour, country (e.g. ESP) |
GET /api/v1/players/{id} | One player | |
GET /api/v1/players/{id}/matches | The player's matches, newest first | from, to, surface |
GET /api/v1/matches | Finished matches | date or from/to, tour, surface |
GET /api/v1/matches/{match_id} | One match | |
GET /api/v1/h2h | Head-to-head record and every meeting | player1, player2 (required) |
Example match:
{
"id": 183911, "date": "2026-11-28", "tour": "ATP", "event": "Davis Cup S", "surface": "hard",
"player1": {"name": "Carlos Alcaraz", "id": "carlos-alcaraz", "country": "ESP", "seed": null, "rank": 3},
"player2": {"name": "Arthur Fery", "id": "arthur-fery", "country": "GBR", "seed": null, "rank": 32},
"score": {"sets": [[6, 2], [6, 1]], "sets_won": [2, 0]},
"winner_id": "carlos-alcaraz"
}
Ratings & Analytics API endpoints
| Endpoint | What it returns | Options |
|---|---|---|
GET /api/v1/ratings | Ratings list, best first, with record, last 10, last 30 days and streak | tour (default ATP), include_provisional=1 |
GET /api/v1/ratings/{id} | One player's rating and form | |
GET /api/v1/ratings/{id}/history | The player's rating and rank on each day it changed | |
GET /api/v1/predictions | Win probabilities for a day's matches, with factor breakdown, value score and (once played) the result | date (default today), tour, player |
GET /api/v1/track-record | Backtest accuracy by month and calibration, plus live graded predictions |
Example prediction (factor values are model points; positive favours player 1):
{
"date": "2026-12-03", "match_id": "darya-astakhova-vs-sijia-wei", "tour": "WTA", "surface": "hard",
"player1": {"name": "Sijia Wei", "id": "sijia-wei", "win_probability": 0.6123},
"player2": {"name": "Darya Astakhova", "id": "darya-astakhova", "win_probability": 0.3877},
"favourite_id": "sijia-wei", "model_version": "v7.9",
"factors": {"rating": 14.2, "surface": 1.1, "age": 0.8, "time_off": 0.0, "seeding": 0.0},
"value": {"score": 0.031, "side_id": "sijia-wei"},
"result": {"winner_id": "sijia-wei", "correct": true}
}
Limits and errors
Each key has a daily request limit that resets at 00:00 UTC; the X-RateLimit-Remaining header shows what's left. Errors come back as JSON with an error code:
401 missing_key/invalid_key: no key, or a key that isn't valid403 not_in_plan: the endpoint belongs to the other API, or is outside a trial's date range403 inactive_key: the subscription behind the key has ended or is unpaid429 rate_limited: daily limit reached400 bad_request,404 not_found: check the parameters or ids
GET /api/v1/status needs no key and shows when the data was last updated.
Billing, cancellations and refunds
Plans are billed monthly in US dollars after the 7-day free trial, through Link, Stripe's checkout, which also collects any sales tax; the charge shows on your statement as LINK.COM. Cancel any time from the billing portal: you keep access until the end of the month you've paid for and aren't charged again. Because every plan starts with a free trial, payments already made aren't refunded, except when the API was unavailable for a significant part of the month or you were charged in error. For billing or technical questions, email api@tennisgauge.com.
Terms
Data is provided as is and may contain errors or gaps. Keys are for the buyer's own use and can't be shared or resold, and the data can't be republished as a dataset. Predictions are model estimates for information only, not betting advice, and past accuracy doesn't guarantee future results. Bookmaker odds and third-party ratings aren't included.