tennis-scores-api
Fetch live tennis scores, schedules, results, match statistics, rankings, and player data from ATP, WTA, Challenger, ITF, and UTR tours, delivered as one flat row per match for CSV or JSON export.
Instructions
Tennis Scraper & Scores API — ATP, WTA, Live, Stats. Tennis scraper on SofaScore data: live scores, schedules, results, match statistics, point by point, betting odds, ATP and WTA rankings, player profiles and draws for ATP, WTA, Challenger, ITF and UTR. One flat row per match. Export to CSV or JSON, run via API, schedule, or call from AI agents.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "tennis-scores-api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ➡️ Days ahead — How many days after the date to include (0 = that day only, up to 14). Use 6 for a whole tournament week. | |
| mode | Yes | 🎾 What to get — Schedule: every match in a date window — upcoming, live and played — for the tours you pick. Live: only what is on court right now. Results: completed matches with scores and winners, newest first. Match: one named match with optional statistics, point-by-point and head-to-head. Pla | schedule |
| query | No | 🔍 Name to search (search mode) — Player name, e.g. Alcaraz. Returns the ids you can paste into the fields above. | |
| tours | No | 🏆 Tours — Which circuits to keep. ATP and WTA are preselected because they are what most buyers want and they keep a run small; the Challenger and ITF levels add several hundred matches a day. Grand Slams appear under ATP and WTA. One request covers the whole day whatever you pick here, so narrowin | |
| status | No | 🎯 Keep only — Filter by state. Played keeps everything that produced a result, including retirements and walkovers — the row's own status column says which it was. Not played is the opposite: cancelled, postponed, interrupted. | any |
| wtaYear | No | 📅 WTA season — Limit the official WTA match history to one season, e.g. 2025. Leave empty for the most recent matches. | |
| dateFrom | No | 📅 Date — Day to list matches for, YYYY-MM-DD in UTC. Leave empty for today. Only a rolling window of roughly two months around today is available from this source. | |
| daysBack | No | ⬅️ Days back — How many days before the date to include (0–14). Use 1 in Results mode to get yesterday's finished matches as well as today's. | |
| matchIds | No | 🆔 Match ids or URLs (match mode) — FlashScore match ids such as pnSMQFtQ, or the match URLs they come from. Ids are in the matchId column of any schedule or results run. They can only be looked up while the match is inside the source's rolling week. | |
| matchType | No | 👥 Singles or doubles — Doubles rows carry both partners in homePartners / awayPartners. | all |
| playerIds | No | 🧑 Player ids (player and WTA modes) — Player ids from the homePlayerId / awayPlayerId columns, or numeric WTA ids for the official WTA modes. Use Search mode to find them by name. | |
| maxMatches | No | 💯 Maximum rows per run — Safety cap across every mode, and the main control over what a run costs. Fifty rows of ATP and WTA is a normal day. | |
| playerName | No | 🔎 Only matches of a player — Keep only matches where a player's name contains this text, e.g. Sinner. Used by schedule, live, results and player modes. A surname is enough. | |
| rankingTop | No | 🥇 Ranking rows per tour — How many players from the top of each list. One hundred per page, so 100 is one request per tour. | |
| concurrency | No | Parallel requests — How many requests to run at once. Three is gentle and enough for a day of matches; raise it only when the extras are on for a long list. | |
| newestFirst | No | 🆕 Most recent first — In the official WTA match history, start from the latest matches instead of the start of the player's career. | |
| playerNames | No | 🔍 WTA player names — Players to look up in the official WTA modes, by name, e.g. Sabalenka. Each name is resolved against the tour's own player list. | |
| rankingTour | No | 🥇 Rankings tour (rankings mode) — Which official ranking to read. Each list comes from that tour's own site, so one failing does not take the other down. | both |
| wtaDiscipline | No | 🏆 WTA ranking table — Singles or doubles list, used by the WTA official — rankings mode. | singles |
| includeHeadToHead | No | 🤝 Add head-to-head to every match — Recent form of both players and their previous meetings, grouped by surface. This is the heaviest extra — well over a hundred kilobytes per match — so use it on a short list, not a whole day. | |
| includeStatistics | No | 📊 Add match statistics to every match — Aces, double faults, first and second serve, break points, winners, points and games won — for the whole match and per set, around 65 numbers. Available once a match is under way. One extra request and one extra billed row per match. | |
| rankingDiscipline | No | 🥇 Rankings: singles or doubles — Doubles lists can share a rank between two players; such rows carry tied: true and the next rank is skipped, exactly as the tour publishes it. | singles |
| proxyConfiguration | No | Proxy configuration — Off by default, on purpose. This source answers ordinary datacenter addresses, and one day of matches is well over a megabyte — pushing that through residential addresses would cost more in bandwidth than the rows themselves. If a run is ever refused, the Actor retries through | |
| includePointByPoint | No | 🎯 Add point-by-point to every match — Every game of every set with its point sequence, who served and who won the game. For modelling and trading; leave off if you only need scores. | |
| maxMatchesPerPlayer | No | Matches per player (player and WTA modes) — How many of a player's matches to return. In player mode the search walks back day by day, so a wider Days back finds more. |