1877–Present · 2.25M+ MatchesOr see Business CSV downloads

Tennis historical data API: query 2.25M+ matches via REST.

Filter 2,252,852 singles matches back to 1877-07-09 across 65,149+ tournament editions by tour, year, surface, level, round, or player, and embed serve box scores, 1968+ surface Elo, and market odds in one call with `?include=stats,elo,odds`.

  • 2,252,852 matches since 1877
  • 2,103,706 Elo-rated since 1968
  • 365,299+ matches with box scores
GET /tennis/matches?tour=ATP&surface=Clay&level=G&year=2024&include=stats,elo&limit=2200 OK
$ curl "https://api.citoapi.com/api/v1/tennis/matches?tour=ATP&surface=Clay&level=G&year=2024&include=stats,elo&limit=2" \ -H "x-api-key: $CITO_API_KEY"
{  "success": true,  "items": [    {      "id": "atp_2024_520_300",      "tournament_name": "Roland Garros",      "year": 2024,      "match_date": "2024-06-09",      "surface": "Clay",      "round": "F",      "score": "6-3 2-6 5-7 6-1 6-2",      "winner": {        "id": "atp_207989",        "name": "Carlos Alcaraz",        "rank": 3      },      "loser": {        "id": "atp_100644",        "name": "Alexander Zverev",        "rank": 4      }    },    ...  ],  "total": 127,  "has_next": true}

Seamless Integration with our MCP Server

Connect Claude, Cursor, or ChatGPT with the Cito MCP server so agents call real match IDs, point timelines, rankings, and Challenger/ITF results instead of guessing them.

MCPInstall the Cito MCP server
Claude
Cursor
OpenAI
Python
Cito API
Next.js
Discord
Slack
GitHub

Filterable REST endpoints for 149 years of tennis

Query exact slices on demand instead of downloading and cleaning dozens of mismatched spreadsheets. The historical archive runs on the exact same tennis API IDs as today's live board, or exports in bulk via Business CSV.

Rich archive filters

Slice /tennis/matches by player_id, opponent_id, tour, year, surface, level, round, or tournament_id.

Single-call ?include= joins

Pass ?include=stats,elo,odds to fetch set scores, serve box scores, pre-match surface Elo, and odds together.

Exact dates since 2004

288,000+ post-2004 rows carry verified exact days; pre-2004 rows flag date_is_tournament_start: true.

Canonical IDs forever

Store canonical_id on every match, player, and tournament edition for rock-solid warehouse upserts.

Every tour & tier

Grand Slams, Masters/WTA 1000, 500/250, Challengers (~282k), ITF (~1.1M), and Davis/BJK Cup (~32k).

REST or Business CSV

Use REST for targeted queries, or switch to Business CSV ($299/mo) for full Master + Daily Delta downloads at 0 credits.

When should I use the Historical REST API vs CSV exports?

Use the REST endpoints when your app queries specific players, tournaments, or rolling windows on demand. When training multi-year ML models or loading an entire warehouse back to 1877, Business CSV ($299/mo) avoids >=91-day REST credit multipliers entirely.

Use caseBest interfaceWhy
Player pages, H2H & tournament drawsREST (`GET /tennis/matches`, `/players/{id}/matches`)Fetch exact slices with `page_size=100` and `include=stats,elo`
Rolling last 30–90 days syncREST (`GET /tennis/matches/completed?date=...`)0–90d queries cost 1 credit per page (available on Starter $15/mo+)
Full warehouse / multi-decade backtest[Tennis CSV dataset](/tennis-csv-dataset) (Business $299/mo)Master Baseline + Daily Delta CSVs cost 0 REST credits and include unlimited >90d REST sub-caps
Overview of dataset coverage & verification[Historical tennis data](/historical-tennis-data)Full breakdown of Grand Slam final verification and era bounds

What query parameters and eras does GET /tennis/matches support?

Results are returned in deterministic order (date, round, match number, id) so pagination stays stable. Every match carries status and outcome (COMPLETED, RETIREMENT, WALKOVER, DEFAULT, ABANDONED) plus optional inline stats, Elo, and odds.

ParameterAccepted values / exampleBehavior
`tour``ATP`, `WTA`Men's or women's archive (Challengers & ITF included under their tour)
`level``G`, `M`, `A`, `F`, `D`, `challenger`, `itf`, `junior`Filter Slams, Masters, 500/250, Finals, Davis/BJK Cup, Challengers, ITF, or junior Slams
`surface``Hard`, `Clay`, `Grass`, `Carpet`Surface of the tournament court
`year` / `edition_year`e.g. `2024`, `1980`Season filter back to 1877 (men) / 1968 (women tour-level)
`player_id` / `opponent_id`e.g. `atp_206173`Filter all matches by one player or a specific head-to-head pair
`include``stats`, `elo`, `odds` (comma-separated)Embed serve box scores, pre/post Elo, and market odds in the same response

How do I paginate seasons and join box scores + Elo in Python and TypeScript?

Loop while has_next is true with page_size=100, and pass include=stats,elo to pull match scores, serve statistics, and zero-lookahead pre-match Elo in a single pass.

Python: paginate a Grand Slam season with inline stats & Elo
import os, requests

URL = "https://api.citoapi.com/api/v1/tennis/matches"
HEADERS = {"x-api-key": os.environ["CITO_API_KEY"]}

matches, page = [], 1
while True:
    res = requests.get(
        URL,
        headers=HEADERS,
        params={"tour": "ATP", "level": "G", "year": 2025, "include": "stats,elo", "page": page, "page_size": 100},
        timeout=20,
    ).json()
    matches.extend(res["items"])
    if not res["has_next"]:
        break
    page += 1

print("Fetched matches:", len(matches))
TypeScript: fetch a player's summary match log on Clay
const BASE = "https://api.citoapi.com/api/v1/tennis";
const headers = { "x-api-key": process.env.CITO_API_KEY! };

async function getClayHistory(playerId: string) {
  const res = await fetch(
    `${BASE}/players/${playerId}/matches?surface=Clay&view=summary&page_size=50`,
    { headers },
  );
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
  return res.json();
}
curl: query 1980 Wimbledon Final
curl "https://api.citoapi.com/api/v1/tennis/matches?tournament_id=atp_1980_540&round=F" \
  -H "x-api-key: YOUR_API_KEY"

What archive windows, credit multipliers, and data caveats apply?

Archive access depends on whether your query falls inside the 0–90 day rolling window or spans >=91 days back into history, and pre-2004 rows carry tournament start dates.

  • 30d / 90d gating on Free & Starter: Free (500 req/mo, 10/min) reads the last 30 days and Starter ($15/mo, 10,000 req/mo, 30/min) reads 90 days; older queries return `403 HISTORY_WINDOW_EXCEEDED`.
  • Full archive on Pro+ & >=91d multipliers: Pro ($59/mo, 50k >90d credits/mo) and Scale ($100/mo, 100k >90d credits/mo) unlock the full 1877+ archive billed at 5x narrow or `10 * ceil(limit / 25)` bulk (+5 / `+5 * ceil(limit / 25)` per `include=`).
  • Zero-credit bulk option: Business CSV ($299/mo) includes an unlimited >90d REST sub-cap plus full Master Baseline and Daily Delta CSV downloads at 0 REST credits.
  • Dates & doubles scope: exact match dates are verified from 2004 onward (`date_is_tournament_start: true` on pre-2004 rows). The historical match archive is singles; doubles are live-only.

Endpoints you can ship with

Explore /tennis/matches filters, player match logs, and box scores.

Results

Finished matches with the score of every set, the winner and loser, and the serve and return box score behind them.

View docs
  • GET/api/v1/tennis/matches/recent

    Finished matches, newest first, with set scores.

  • GET/api/v1/tennis/matches/completed

    Every match completed on a given day.

  • GET/api/v1/tennis/matches/{match_id}

    One match: tournament, round, surface, score, and box score.

  • GET/api/v1/tennis/matches/{match_id}/stats

    Aces, double faults, first-serve %, points won, break points.

  • GET/api/v1/tennis/matches?player_id=&year=&surface=

    The archive, filtered by player, opponent, year, surface, level or round.

FAQs

Archive depth, credit math, and REST vs CSV

Can't find what you're looking for? Contact our customer support team

Compare REST & Business CSV

Query 149 years of tennis via REST JSON

Test the recent window on a free key or unlock the full 1877+ archive on Pro and Business CSV.