# Tennis Scraper: Live Scores, Results, Stats & Odds (`keelwright/tennis-scraper`) Actor

Tennis live scores, results and fixtures for ATP, WTA, Challenger and ITF from Flashscore, with optional match statistics, point-by-point, head-to-head, rankings and bookmaker odds from about 30 countries.

- **URL**: https://apify.com/keelwright/tennis-scraper.md
- **Developed by:** [Keelwright](https://apify.com/keelwright) (community)
- **Categories:** Sports, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 matches

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Tennis Scraper: live scores, results, stats and odds

Get every professional tennis match from Flashscore as clean JSON, CSV or Excel: live scores, results and fixtures for **ATP, WTA, Challenger, ITF, Davis Cup and Billie Jean King Cup**, singles and doubles. Add **match statistics, point-by-point, head-to-head, rankings and pre-match odds from about 30 countries** when you need them.

- **Every match of the day in seconds.** One run reads the whole daily list (often 500+ matches) in a few seconds.
- **Live scores that follow the match.** Current set and game score, the point score (15-30, tiebreak points) and who is serving.
- **Deep data on request.** Aces, double faults, serve and return points, break points, each game and point, earlier meetings, recent form and set durations.
- **Odds comparison.** Opening and current prices from up to 20 bookmakers per country, merged across countries, with best price, average and implied win probability.
- **Only what changed.** Run it on a schedule and get only the matches whose score or status changed since the last run.

### What can I use tennis data for?

- **Live score widgets, apps and bots**: feed a website, Discord/Telegram bot or dashboard with scores that update every few minutes.
- **Betting models and odds research**: collect opening and closing prices with statistics and results to build and test models.
- **Fantasy, tipping and prediction games**: settle picks automatically from final scores, winners and retirements.
- **Sports analytics and journalism**: serve and return statistics, break points and point-by-point data for match reports and research.
- **Alerts**: get notified (email, Slack, webhook) when a player's match starts, a set ends or an upset happens.

### How to scrape tennis matches

1. Click **Try for free**.
2. Choose the days: **Past days** for results, **Upcoming days** for fixtures, both at 0 for today only.
3. Optionally narrow down by **status** (live, finished, scheduled), **tour**, **singles/doubles**, **players** or **tournaments**.
4. Tick the **extra data** you need: rankings and round, statistics, point-by-point, head-to-head, odds.
5. Click **Start** and download the results as JSON, CSV, Excel or HTML, or read them through the API.

To follow live matches, set **Match status** to *Live*, turn on **Only new or changed matches** and [schedule](https://docs.apify.com/platform/schedules) the run every 1 to 5 minutes. Each run then returns only the matches whose score changed.

Already know the matches? Paste Flashscore match URLs (or their 8-character ids) into **Match URLs or ids**. Those rows always include rankings, round and duration.

### Input example

```json
{
    "daysBack": 1,
    "tours": ["atp", "wta"],
    "matchTypes": ["singles"],
    "statuses": ["finished"],
    "includeMatchInfo": true,
    "includeStatistics": true,
    "includeOdds": true,
    "oddsCountries": ["GB"],
    "maxItems": 200
}
```

### What data do you get?

Every row is one match.

| Field                                  | What it holds                                                                                                                                                                                       |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `matchId`, `url`                       | Flashscore match id and link                                                                                                                                                                        |
| `status`, `statusDetail`, `resultType` | `scheduled`, `live`, `finished`, `interrupted`, `postponed`, `cancelled` or `abandoned`; the detail (e.g. *Set 2 - Tiebreak*); `normal`, `retired`, `walkover` or `awarded`                         |
| `startTime`                            | Start time (ISO 8601, UTC)                                                                                                                                                                          |
| `tour`, `matchType`                    | ATP, WTA, Challenger Men/Women, ITF Men/Women, Exhibition, Team; `singles`, `doubles` or `team`                                                                                                     |
| `tournament`                           | Name, country, qualification or main draw, surface, indoor, category, ids and link                                                                                                                  |
| `home`, `away`                         | Player names (doubles pairs as two players), country, Flashscore player id, link and photo                                                                                                          |
| `score`                                | Sets won, games per set with tiebreak points, and a text score such as `6-7(4) 6-4 6-4`                                                                                                             |
| `winner`                               | `home`, `away` or empty                                                                                                                                                                             |
| `live`                                 | While the match is live: point score and who serves                                                                                                                                                 |
| `round`, `durationMinutes`             | With **Rankings, round and duration**: round (e.g. *Quarter-finals*), match duration; also each player's `rank`, `fullName` and each set's duration                                                 |
| `statistics`                           | With **Match statistics**: about 20 statistics for the match and for each set                                                                                                                       |
| `pointByPoint`                         | With **Point-by-point**: every game with server, winner, break of serve and point scores; break, set and match points flagged; tiebreak points                                                      |
| `headToHead`                           | With **Head-to-head**: earlier meetings and each player's last 10 matches                                                                                                                           |
| `odds`                                 | With **Bookmaker odds**: match winner prices per bookmaker (opening and current), best, average and implied probability; optionally all markets (set winner, total games, handicaps, correct score) |

#### Output example

A row from the daily list:

```json
{
    "matchId": "vFxWU8MM",
    "url": "https://www.flashscore.com/match/tennis/vFxWU8MM/",
    "status": "finished",
    "statusDetail": "Finished",
    "resultType": "normal",
    "startTime": "2026-10-21T10:05:00.000Z",
    "tour": "ATP",
    "matchType": "singles",
    "tournament": {
        "name": "Almaty",
        "country": "Kazakhstan",
        "stage": "Main draw",
        "surface": "hard",
        "indoor": true,
        "category": "ATP - Singles",
        "id": "656blwvK",
        "stageId": "UuZOHNbs",
        "url": "https://www.flashscore.com/tennis/atp-singles/almaty/"
    },
    "home": {
        "name": "Mannarino A.",
        "participantId": "pQ0y3FMM",
        "players": [
            {
                "id": "fLOdtByM",
                "name": "Mannarino A.",
                "country": "France",
                "url": "https://www.flashscore.com/player/mannarino-adrian/fLOdtByM/",
                "imageUrl": "https://static.flashscore.com/res/image/data/db9aQQoe-4AguOuCD.png"
            }
        ]
    },
    "away": {
        "name": "Rublev A.",
        "participantId": "G8i7cgpp",
        "players": [
            {
                "id": "AeAn4gP0",
                "name": "Rublev A.",
                "country": "World",
                "url": "https://www.flashscore.com/player/rublev-andrey/AeAn4gP0/",
                "imageUrl": "https://static.flashscore.com/res/image/data/QwaaOeDN-YV2zBIg4.png"
            }
        ]
    },
    "score": {
        "home": 2,
        "away": 1,
        "sets": [
            {
                "home": 6,
                "away": 4,
                "tiebreakHome": null,
                "tiebreakAway": null
            },
            {
                "home": 3,
                "away": 6,
                "tiebreakHome": null,
                "tiebreakAway": null
            },
            {
                "home": 6,
                "away": 3,
                "tiebreakHome": null,
                "tiebreakAway": null
            }
        ],
        "text": "6-4 3-6 6-3"
    },
    "winner": "home",
    "live": null,
    "note": null,
    "scrapedAt": "2026-10-21T12:38:47.000Z"
}
```

The same match with all extra data turned on (lists shortened with "…"):

```json
{
    "matchId": "vFxWU8MM",
    "url": "https://www.flashscore.com/match/tennis/vFxWU8MM/",
    "status": "finished",
    "statusDetail": "Finished",
    "resultType": "normal",
    "startTime": "2026-10-21T10:05:00.000Z",
    "tour": "ATP",
    "matchType": "singles",
    "tournament": {
        "name": "Almaty",
        "country": "Kazakhstan",
        "stage": "Main draw",
        "surface": "hard",
        "indoor": true,
        "category": "ATP - Singles",
        "id": "656blwvK",
        "stageId": "UuZOHNbs",
        "url": "https://www.flashscore.com/tennis/atp-singles/almaty/"
    },
    "round": "1/8-finals",
    "home": {
        "name": "Mannarino A.",
        "participantId": "pQ0y3FMM",
        "players": [
            {
                "id": "fLOdtByM",
                "name": "Mannarino A.",
                "country": "France",
                "url": "https://www.flashscore.com/player/mannarino-adrian/fLOdtByM/",
                "imageUrl": "https://static.flashscore.com/res/image/data/db9aQQoe-4AguOuCD.png",
                "fullName": "Adrian Mannarino",
                "rank": {
                    "list": "ATP",
                    "position": 79
                }
            }
        ]
    },
    "away": {
        "name": "Rublev A.",
        "participantId": "G8i7cgpp",
        "players": [
            {
                "id": "AeAn4gP0",
                "name": "Rublev A.",
                "country": "World",
                "url": "https://www.flashscore.com/player/rublev-andrey/AeAn4gP0/",
                "imageUrl": "https://static.flashscore.com/res/image/data/QwaaOeDN-YV2zBIg4.png",
                "fullName": "Andrey Rublev",
                "rank": {
                    "list": "ATP",
                    "position": 22
                }
            }
        ]
    },
    "score": {
        "home": 2,
        "away": 1,
        "sets": [
            {
                "home": 6,
                "away": 4,
                "tiebreakHome": null,
                "tiebreakAway": null,
                "durationMinutes": 49
            },
            {
                "home": 3,
                "away": 6,
                "tiebreakHome": null,
                "tiebreakAway": null,
                "durationMinutes": 39
            },
            {
                "home": 6,
                "away": 3,
                "tiebreakHome": null,
                "tiebreakAway": null,
                "durationMinutes": 48
            }
        ],
        "text": "6-4 3-6 6-3"
    },
    "winner": "home",
    "live": null,
    "note": null,
    "durationMinutes": 136,
    "statistics": {
        "match": {
            "aces": {
                "home": 6,
                "away": 13
            },
            "doubleFaults": {
                "home": 1,
                "away": 3
            },
            "firstServePointsWon": {
                "home": {
                    "percent": 77,
                    "won": 57,
                    "total": 74
                },
                "away": {
                    "percent": 70,
                    "won": 42,
                    "total": 60
                }
            },
            "…": "…"
        },
        "set1": "…",
        "set2": "…",
        "set3": "…"
    },
    "pointByPoint": [
        {
            "set": 1,
            "games": [
                {
                    "game": 1,
                    "scoreAfter": "1-0",
                    "server": "away",
                    "winner": "home",
                    "serviceBroken": true,
                    "points": [
                        {
                            "score": "15:0"
                        },
                        {
                            "score": "30:0"
                        },
                        {
                            "score": "30:15"
                        },
                        {
                            "score": "30:30"
                        },
                        {
                            "score": "40:30",
                            "flag": "BP"
                        },
                        {
                            "score": "40:40"
                        },
                        {
                            "score": "A:40",
                            "flag": "BP"
                        },
                        {
                            "score": "40:40"
                        },
                        {
                            "score": "40:A"
                        },
                        {
                            "score": "40:40"
                        },
                        {
                            "score": "A:40",
                            "flag": "BP"
                        }
                    ]
                },
                "…"
            ],
            "tiebreak": null
        },
        "…"
    ],
    "headToHead": {
        "meetings": [
            {
                "matchId": "fD4eG7mg",
                "date": "2025-12-06T19:15:00.000Z",
                "tournament": "Others matches",
                "surface": null,
                "home": "Rublev A.",
                "away": "Mannarino A.",
                "winner": "home",
                "winnerName": "Rublev A.",
                "score": "3:2"
            },
            "…"
        ],
        "homeRecent": [
            {
                "matchId": "l6LsjwVs",
                "date": "2026-10-19T08:05:00.000Z",
                "tournament": "Almaty",
                "surface": "hard",
                "home": "Mannarino A.",
                "away": "Vukic A.",
                "winner": "home",
                "winnerName": "Mannarino A.",
                "score": "2:1"
            },
            "…"
        ],
        "awayRecent": [
            {
                "matchId": "04X9fcIr",
                "date": "2026-10-09T04:10:00.000Z",
                "tournament": "Shanghai",
                "surface": "hard",
                "home": "Sakamoto R.",
                "away": "Rublev A.",
                "winner": "home",
                "winnerName": "Sakamoto R.",
                "score": "2:0"
            },
            "…"
        ]
    },
    "odds": {
        "countries": ["GB", "IT"],
        "bookmakers": ["bet365", "BetMGM.uk", "Betfred", "…"],
        "matchWinner": {
            "best": {
                "home": 3.75,
                "away": 1.29
            },
            "average": {
                "home": 3.548,
                "away": 1.278
            },
            "impliedProbability": {
                "home": 0.2648,
                "away": 0.7352
            },
            "byBookmaker": [
                {
                    "bookmaker": "bet365",
                    "home": 3.75,
                    "away": 1.29,
                    "homeOpening": 4.33,
                    "awayOpening": 1.22
                },
                {
                    "bookmaker": "BetMGM.uk",
                    "home": 3.6,
                    "away": 1.28,
                    "homeOpening": 4,
                    "awayOpening": 1.2
                },
                "…"
            ]
        },
        "markets": [
            {
                "market": "total-games",
                "period": "match",
                "bookmaker": "bet365",
                "selections": [
                    {
                        "selection": "over",
                        "odds": 1.73,
                        "opening": 1.73,
                        "active": false,
                        "line": 21.5,
                        "unit": "games"
                    },
                    {
                        "selection": "over",
                        "odds": 1.83,
                        "opening": 1.83,
                        "active": true,
                        "line": 22.5,
                        "unit": "games"
                    },
                    "…"
                ]
            },
            "…"
        ]
    },
    "scrapedAt": "2026-10-21T12:38:47.000Z"
}
```

### How much does it cost?

You pay only for the matches you get (pay per event); Apify platform usage is included.

| What                                                          | Price                   |
| ------------------------------------------------------------- | ----------------------- |
| Match from the daily list                                     | $3.00 per 1,000 matches |
| Match with extra data (any extra-data option, or a match URL) | $8.00 per 1,000 matches |
| Run start                                                     | $0.05 per 1,000 runs    |

Examples:

- All ATP and WTA matches of one day (about 50): about **$0.15**.
- Every match of a busy day, all tours (about 500): about **$1.50**.
- 100 ATP matches with statistics, point-by-point, head-to-head and odds: about **$0.80**.

You can cap any run with **Max results** or with the maximum cost per run in the run options; the run stops cleanly at the limit. Apify's free plan includes $5 of monthly credit, enough for about 1,600 matches from the daily list.

### Tips

- **Days are in UTC.** Results stay available for 7 days; the order of play for the next one or two days.
- **Live matches across midnight.** With *Live* as the only status, yesterday's late matches that are still going are included.
- **Players filter.** Type a surname (`Alcaraz`) or a full name (`Carlos Alcaraz`); accents and case don't matter.
- **Coverage of extra data follows Flashscore.** Statistics and odds are there for nearly every match; point-by-point and set durations for almost all ATP, WTA and Challenger matches and for about half of ITF matches. A part that doesn't exist for a match is `null`.
- **More bookmakers.** The UK has the most bookmakers (about 20). Add Italy, Spain or France to compare more; a bookmaker that appears in several countries is listed once.
- **Integrations.** Send results to Google Sheets, Slack, Zapier, Make or your own webhook with Apify [integrations](https://apify.com/integrations), or call the Actor through the [API](https://docs.apify.com/api/v2).

### FAQ

**How fresh are live scores?**
Each run reads Flashscore's live data at that moment, which usually updates within seconds of each point. Schedule runs as often as every minute.

**Can I get older matches?**
The daily list covers the last 7 days. For older matches, use their Flashscore match URLs.

**Why is a player's country "World"?**
Flashscore lists some players, such as Russian and Belarusian players, as neutral athletes.

**Do I need a proxy?**
No. Flashscore answers Apify's servers directly. The proxy option is there in case that changes.

**Is it legal to scrape Flashscore?**
This Actor collects publicly available sports data: scores, statistics, published odds and the public names of professional athletes. It does not log in or collect private information. Check the source's terms and your local laws for your use case, especially for commercial use.

**Something is missing or broken?**
Open an issue in the **Issues** tab with the run link, and it will be looked at.

*Tennis Scraper is an independent tool. It is not affiliated with, endorsed by or connected to Flashscore or Livesport s.r.o. Odds are shown for information only.*

# Actor input Schema

## `daysBack` (type: `integer`):

How many days before today (UTC) to include. 0 means today only. Results are available for the last 7 days.

## `daysAhead` (type: `integer`):

How many days after today to include, for fixtures. Order of play is usually published one or two days ahead.

## `statuses` (type: `array`):

Only matches with these statuses. Leave empty for all. Choose only "Live" for in-play matches (yesterday's late matches that are still going are included).

## `tours` (type: `array`):

Only these tours. Leave empty for all.

## `matchTypes` (type: `array`):

Only singles, only doubles, or team ties. Leave empty for all.

## `players` (type: `array`):

Only matches with at least one of these players. Type a surname (Sinner) or a full name (Jannik Sinner). Leave empty for all players.

## `tournaments` (type: `array`):

Only tournaments whose name contains one of these words, for example Wimbledon, Shanghai or M15 Monastir. Leave empty for all.

## `matchUrls` (type: `array`):

Flashscore tennis match URLs (any Flashscore domain) or 8-character match ids. When set, the days and filters above are not used.

## `includeMatchInfo` (type: `boolean`):

Each player's current ATP/WTA ranking and full name, the round (e.g. Quarter-finals), the match duration and each set's duration.

## `includeStatistics` (type: `boolean`):

Aces, double faults, first serve %, points won on serve and return, break points, winners, unforced errors and more, for the match and for each set.

## `includePointByPoint` (type: `boolean`):

Every game with the server, who won it, breaks of serve and each point's score, with break, set and match points marked, plus tiebreak points.

## `includeHeadToHead` (type: `boolean`):

Earlier meetings of the two players and each player's last 10 matches.

## `includeOdds` (type: `boolean`):

Pre-match odds with opening prices from the bookmakers in the countries below, plus the best and average price and the implied win probability.

## `oddsMarkets` (type: `string`):

Match winner only, or every market Flashscore lists: set winner, total games, game and set handicaps, correct score, odd/even.

## `oddsCountries` (type: `array`):

Bookmakers differ by country. The United Kingdom has the most (about 20). Pick several to compare more bookmakers; each extra country adds one request per match.

## `onlyChanged` (type: `boolean`):

Save only matches that are new or whose status or score changed since the previous run with the same settings. Use it with a schedule (for example every 5 minutes) to follow live scores without paying for unchanged rows.

## `maxItems` (type: `integer`):

Stop after this many matches. 0 means no limit. A busy day has 400-600 matches across all tours.

## `maxConcurrency` (type: `integer`):

How many matches are loaded at the same time when extra data is on.

## `proxyConfiguration` (type: `object`):

Not needed in most cases: Flashscore answers Apify's servers directly. Turn it on only if runs start failing with "blocked".

## Actor input object example

```json
{
  "daysBack": 1,
  "daysAhead": 0,
  "statuses": [],
  "tours": [],
  "matchTypes": [],
  "players": [],
  "tournaments": [],
  "matchUrls": [],
  "includeMatchInfo": false,
  "includeStatistics": false,
  "includePointByPoint": false,
  "includeHeadToHead": false,
  "includeOdds": false,
  "oddsMarkets": "matchWinner",
  "oddsCountries": [
    "GB"
  ],
  "onlyChanged": false,
  "maxItems": 100,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `matches` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "daysBack": 1,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("keelwright/tennis-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "daysBack": 1,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("keelwright/tennis-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "daysBack": 1,
  "maxItems": 100
}' |
apify call keelwright/tennis-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,keelwright/tennis-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/08OqWfd7SdBU3LyY7/builds/uaIMnkPNqTP8PoJmc/openapi.json
