The tennis data API with 58 seasons of memory
One key unlocks the entire Open Era: every ATP and WTA match since 1968, every ranking week, every draw — plus live scores when play is on.
$ curl "https://api.citoapi.com/api/v1/tennis/h2h?player1_id=atp_103819&player2_id=atp_104745" \
-H "x-api-key: YOUR_API_KEY"
{ "player1": { "name": "Roger Federer", "wins": 17 },
"player2": { "name": "Rafael Nadal", "wins": 24 },
"summary": { "total_matches": 41, "grand_slam_matches": 14 } }What counts as complete tennis data?
Most tennis data APIs start at whatever season their scraper was born in. This one starts at Wimbledon 1968 — the beginning of the Open Era — and runs to the match that finished today. That depth changes what you can build: a rivalry page that includes the whole rivalry, a ranking chart that shows the entire career, a draw explorer that works for 1975 as well as it works for this week.
Built for product work, not just research
Responses are clean JSON with stable IDs, cursorless paging, and filters that match how tennis people think: surface, tier, round, tour, year. Player search is autocomplete-fast. Head-to-heads for classic rivalries are pre-computed. The archive and the live layer share one schema, so the code that renders a 1980 final renders this afternoon's quarterfinal.
The parts most APIs make you assemble
Head-to-head splits by surface and Slams. Multi-player H2H matrices for group stages. Career ranking trajectories ready for a chart. Historical draw brackets, edition by edition. Season calendars. They're endpoints here, not weekend projects.
The dataset behind it
1,730,276 matches
Every ATP and WTA match since 1968 — main draws, qualifying, Challengers, and ITF — with set scores and serve stats.
5,566,184 ranking rows
Every published weekly ranking Monday for both tours, queryable by exact date.
137,410 players
Bios, handedness, countries, activity status, and career statistics with surface and year filters.
57,910 tournaments
Editions with tier, surface, dates, season calendars, and round-by-round draw brackets.
Head-to-head engine
Any two players in history — or a whole group via the H2H matrix — with surface, finals, and Slam splits.
Live scoreboards
In-progress matches with per-match detailed state, plus recent results the moment they finish.