Flashscore Tennis Stats API
Pricing
from $2.04 / 1,000 match scrapeds
Flashscore Tennis Stats API
Tennis match results with per-set games, durations, winners and the full match statistics table from Flashscore's public feed. Day windows, tour and status filters. No browser, no proxy.
Pricing
from $2.04 / 1,000 match scrapeds
Rating
0.0
(0)
Developer
Mohit Tripathi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Tennis match results with per-set games, durations, winners and the full match statistics table from Flashscore's public tennis feed. One row per match, with day-window, tour, status and tournament filters.
- Direct HTTP feed — no browser, cookies, login or proxy.
- Stats included — aces, double faults, serve/return/points/games, for the match and each set.
- Pay per event:
match-scraped$2.40 / 1,000 matches +apify-actor-start$0.05 / 1,000 starts. - Measured payload: 803 B/match average, 3.26 KB/match worst day; 6.0 KB/match with stats = 6.0 MB / 1,000.
Input
| Field | Type | Default | Notes |
|---|---|---|---|
dayOffsets | array of strings | ["-1"] | -7 to +2; -1 = yesterday (default), 0 = today. |
tours | array | ["atp","wta"] | atp, wta, itf, challenger. Empty = all tours. |
matchStatuses | array | ["finished"] | finished, live, scheduled, all. |
tournaments | array | [] | Case-insensitive partial match on the tournament name. |
includeStats | boolean | true | Fetch df_st_2 for finished matches. |
includeSetDurations | boolean | true | Fetch df_sui_2 for set games and durations. |
maxItems | integer | 15 | Hard stop across days and tours. One billed event per row. |
requestDelayMs | integer | 100 | Pause between per-match calls. |
maxRetries | integer | 3 | Retries on 429/5xx with 1 s / 3 s / 9 s backoff. |
The prefill (day -1, ATP/WTA, finished, max 15) runs in about 5 s including Actor startup and is non-empty at any hour because yesterday has a complete finished slate. A 100-match run on a full historical day completes in about 20 s.
Output
| Field | Type | Notes |
|---|---|---|
match_id | string | Flashscore match ID. |
match_url | string or null | Public match URL. |
start_time_utc | string or null | ISO-8601 UTC start time. |
status | string | scheduled, live, finished or unknown. |
tour | string | atp, wta, itf, challenger or other. |
tournament_name | string | Tournament display name. |
tournament_url | string or null | Public tournament URL. |
surface | string or null | hard, clay, grass, carpet, optionally (indoor). |
match_type | string | singles or doubles. |
round | string or null | Best-effort; null when the day feed does not expose it. |
note | string or null | Retired, Walkover and similar match notes. |
home_player | object | Name, player ID, slug, nationality, ranking, photo URL. |
away_player | object | Same shape as home. |
sets_won_home | integer | Sets won by the home player. |
sets_won_away | integer | Sets won by the away player. |
sets | array | Per-set games, duration and winner. |
winner | string or null | home, away or null. |
result_type | string or null | normal, retirement, walkover, defaulted or null. |
total_duration | string or null | Total match duration from the set feed. |
has_odds | boolean | True when the day feed carries bookmaker odds. |
stats | object or null | Match and per-set statistics; null when no stats are published. |
scraped_at | string | ISO timestamp of this run. |
A scheduled match is still a valid row: sets is empty and stats is null, and it is billed once.
{"match_id": "ED4yCVJO","match_url": "https://www.flashscore.com/match/ED4yCVJO/","start_time_utc": "2026-11-22T20:45:00+00:00","status": "finished","tour": "wta","tournament_name": "WTA - SINGLES: Billie Jean King Cup - World Group (World) - Relegation - Play Offs","tournament_url": "https://www.flashscore.com/tennis/wta-singles/billie-jean-king-cup-world-group/","surface": null,"match_type": "singles","round": null,"note": null,"home_player": {"name": "Krueger A.","player_id": "jP0X7eBG","slug": "krueger-ashlyn","nationality": "USA","ranking": 200,"photo_url": "https://static.flashscore.com/res/image/data/tQDMPh8k-f7v3Inzp.png"},"away_player": {"name": "Nagy A.","player_id": "Oxau6ZuT","slug": "nagy-adrienn","nationality": "Hungary","ranking": 91,"photo_url": "https://static.flashscore.com/res/image/data/hn6j94Qq-zyqr0PYl.png"},"sets_won_home": 2,"sets_won_away": 0,"sets": [{"set": 1, "home_games": 6, "away_games": 2, "duration": "0:30", "winner": "home"},{"set": 2, "home_games": 6, "away_games": 1, "duration": "0:29", "winner": "home"}],"winner": "home","result_type": "normal","total_duration": "0:59","has_odds": false,"stats": {"match": {"service": {"aces": {"home": "7", "away": "3", "home_num": 7, "away_num": 3},"double_faults": {"home": "0", "away": "7", "home_num": 0, "away_num": 7},"break_points_saved": {"home": "3/4", "away": "4/9", "home_num": 3, "away_num": 4}},"return": {"break_points_converted": {"home": "5/9", "away": "1/4", "home_num": 5, "away_num": 1}},"points": {"total_points_won": {"home": "61% (64/105)", "away": "39% (41/105)", "home_num": 61, "away_num": 39}},"games": {"total_games_won": {"home": "80% (12/15)", "away": "20% (3/15)", "home_num": 80, "away_num": 20}}},"sets": [{"set": 1, "service": {"aces": {"home": "3", "away": "3", "home_num": 3, "away_num": 3}}},{"set": 2, "service": {"aces": {"home": "4", "away": "0", "home_num": 4, "away_num": 0}}}]},"scraped_at": "2026-11-23T10:57:31.957276+00:00"}
The full row, including every stats group and both set sections, is in examples/sample_output.json. Raw statistic values are preserved as strings and also parsed to home_num / away_num when the value starts with a number.
Pricing
| Event | Price | Charged when |
|---|---|---|
apify-actor-start | $0.05 / 1,000 runs | Synthetic start, automatic |
match-scraped | $2.40 / 1,000 matches | Per unique match row written to the dataset |
match-scraped Gold tier | $2.04 / 1,000 matches | 15% Store discount |
No charge for empty day feeds, retries, duplicate match IDs or rows without a match ID and two players. Net margin is about 79.8% at list price and 79.8% at the Gold tier after Apify's 20% share, bandwidth and compute.
MCP / AI-agent use
{"mcpServers": {"apify": {"command": "npx","args": ["-y","@apify/actors-mcp-server","--actors","structlabs/flashscore-tennis-stats-api"],"env": {"APIFY_TOKEN": "<your token>"}}}}
Or use the hosted endpoint: https://mcp.apify.com/?actors=structlabs/flashscore-tennis-stats-api.
- n8n workflow, MCP config and quickstarts: https://github.com/structlabs-hq/flashscore-tennis-stats-api-n8n-mcp
Local test
apify run -i '{"dayOffsets":["-1"],"tours":["atp","wta"],"matchStatuses":["finished"],"maxItems":15}'ACTOR_TEST_PAY_PER_EVENT=true apify run -i '{"dayOffsets":["-1"],"tours":[],"matchStatuses":["all"],"maxItems":10}'
Feed token note
The feed requires the public client header x-fsign: SW9D1eZo. It is not a user login or API key. If Flashscore rotates it, re-extract the current value from the public flashscore.com site bundle and update HEADERS in my_actor/main.py.
Limits and honest notes
roundis null unless the day feed exposes a human-readable round label; it is never guessed.- Scheduled matches have no set or stats body;
setsis empty andstatsis null. - For doubles, the two-player side may be represented as one combined name when the feed publishes it that way.
has_oddsonly flags that odds exist; the v1 row does not expand the bookmaker table.- Respect Flashscore's terms and applicable sports-data rules.