# Flashscore Tennis Scraper: Matches, Results, H2H, Stats & Odds (`scrapebench/flashscore-tennis-matches-results-h2h-scraper`) Actor

Get Flashscore tennis matches by date, tour, tournament or player: set scores, status, winner, plus head-to-head with last-5 form, per-set match stats and bookmaker odds. ATP, WTA, Challenger, ITF, singles and doubles. $0.002 per match; H2H, stats and odds $0.003 a row.

- **URL**: https://apify.com/scrapebench/flashscore-tennis-matches-results-h2h-scraper.md
- **Developed by:** [ScrapeBench](https://apify.com/scrapebench) (community)
- **Categories:** 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 $0.002 / tennis match row

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/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

## Flashscore Tennis Scraper: Matches, Results, H2H, Stats & Odds

**What it does:** answers "who plays today, how did they do against each other, and what happened?" for tennis: every ATP, WTA, Challenger and ITF match of a day with set scores, status and winner, plus head-to-head, per-set match statistics and bookmaker odds on request.

**Call it with:** `{"dates": ["today"], "status": "finished", "includeH2H": true, "maxResults": 20}`. **Returns:** `record_type` (match, h2h, match_stats), `match_id`, `start_time`, `status`, `tour`, `tournament`, `surface`, `home_player`, `away_player`, `score`, `winner`; a day or player with nothing is a free `notice` row. $0.002 per match, $0.003 per head-to-head row, $0.003 per statistics and odds row.

### Pain points

- A tennis day has hundreds of matches across ATP, WTA, Challenger and ITF events, and a results page shows them one tournament at a time.
- Head-to-head and recent form sit on each match's own page, so a pre-match sheet means opening every match by hand.
- Per-set statistics (aces, serve and return points, break points) exist only inside a finished match page.
- Rivals return a thin list of scores: no head-to-head, no statistics, no odds, no per-set tiebreaks.

### What we solve

- One row per match for any day from a week back to a week ahead: tour, tournament, surface, both players or pairs with country, sets and tiebreaks, status (scheduled, live, finished, retired, walkover, cancelled) and the winner.
- Filter by status, tour (ATP, WTA, Challenger, ITF), singles or doubles, tournament and player, with no ids to look up.
- Head-to-head rows: meetings and record, last-5 form of each player, each player's recent matches and every past meeting, in total and per surface (hard, clay, grass).
- Match statistics rows: the site's statistics for the match and for each set, total and per-set duration and the referee.
- Bookmaker odds (US sportsbooks) with opening and current prices for the match winner, sets, over/under, handicap and correct score, on finished, live and scheduled matches.
- Stable join key across the three row types: `match_id`.

### Summary

Pick what you need. The base row is one tennis match with its set scores and winner, for any day within a week either way, all tours in one request. Add head-to-head to get the record between the two players, last-5 form, each player's recent matches and the same by surface. Add match statistics for the match and every set (aces, double faults, serve and return points won, break points, games) with total and per-set duration and the referee. Add odds for the bookmaker prices the site shows, opening and current. Filter by status, tour, singles or doubles, tournament and player. An empty day, an unknown player or a refusal comes back as a free notice row, and there is no start fee, so an empty scheduled run costs nothing.

### Who it's for

- Tennis bettors and modellers who need head-to-head, form, statistics and odds as model input
- Sports data teams and apps that show daily tennis fixtures and results
- Fantasy and prediction-market analysts comparing prices with results
- Journalists and bloggers who need yesterday's results and who played whom before
- AI agents answering questions about matches, players and head-to-head records

### How to use

Set the input, run the actor, and collect results from the run's dataset (export to JSON/CSV/Excel, or pull via the Apify API). Example input:

```json
{
  "dates": [
    "today"
  ],
  "status": "finished",
  "includeH2H": true,
  "includeMatchStats": true,
  "maxResults": 5
}
```

See **Inputs** below for every available field.

### What you get

One row per record:

| Field | Description |
|---|---|
| `record_type` | match, h2h or match_stats |
| `match_id, url, start_time, status, status_code, status_message` | Which match, when (UTC) and its status: scheduled, live, finished, retired, walkover, cancelled, interrupted |
| `tour, match_type, category, tournament, tournament_country, tournament_stage, surface, indoor` | Match rows: the event |
| `home_player, away_player, home_country, away_country, home_players, away_players` | Match rows: both sides (pairs in doubles) with country |
| `home_sets, away_sets, score, sets, winner, winner_name` | Match rows: result with each set's games and tiebreak points |
| `meetings, home_wins, away_wins, home_form, away_form, last_meetings, home_last_matches, away_last_matches, by_surface` | Head-to-head rows: the record between the two, last-5 form, recent matches and the same by surface |
| `duration, set_durations, referee, statistics, odds, odds_region` | Match statistics rows: per-set statistics, durations, referee and bookmaker odds |
| `notice, notice_type` | Free row for an empty day, an unknown player, a refusal or a cut-short run |

Sample:

```json
{
  "record_type": "match",
  "match_id": "vcukfzEj",
  "url": "https://www.flashscore.com/match/tennis/vcukfzEj/",
  "start_time": "2026-11-29T14:20:00Z",
  "status": "finished",
  "tour": "ATP",
  "match_type": "singles",
  "tournament": "Davis Cup - World Group",
  "home_player": "Musetti L.",
  "away_player": "Jodar R.",
  "home_country": "Italy",
  "away_country": "Spain",
  "score": "6-7(4) 6-2 6-1",
  "home_sets": 2,
  "away_sets": 1,
  "winner": "home",
  "winner_name": "Musetti L."
}
```

### Inputs

| Field | Required | Type | Default | Description |
|---|---|---|---|---|
| `dates` | no | array | `["today"]` | Days to read: `today`, `yesterday`, `tomorrow` or YYYY-MM-DD (UTC calendar days), up to 7 days back and 7 ahead. One day is one request for every tour. `maxResults` applies per date. |
| `date` | no | string | — | One day, same values as Dates. Use either; if both are set they are merged. |
| `status` | no | string | `"all"` | all, scheduled (not started), live (in play now) or finished (played, retired or walkover). Cancelled and interrupted matches show only with all. |
| `tours` | no | array | `[]` | Keep only these tours, as words from the tour name: `ATP`, `WTA`, `Challenger`, `ITF`, `Teams`, or narrower (`ITF Women`, `Challenger Men`). Empty = every tour on the day. |
| `tour` | no | string | — | One tour, same values as Tours. |
| `matchType` | no | string | `"all"` | singles, doubles or all. |
| `players` | no | array | `[]` | Keep only matches with one of these players, by name (`Lorenzo Musetti`, `Alcaraz`). Several words must all appear. A name with no match on the dates is a free notice. |
| `player` | no | string | — | One player, same values as Players. |
| `tournaments` | no | array | `[]` | Keep only tournaments whose name contains one of these words (`Davis Cup`, `Bogota`, `M15 Monastir`). Empty = all. |
| `tournament` | no | string | — | One tournament, same values as Tournaments. |
| `includeH2H` | no | boolean | `false` | One extra h2h row per match: meetings and the head-to-head record, last-5 form of each player, each player's recent matches, and the same per surface (hard, clay, grass). Charged per row ($0.003); a match with no history gives no row and no charge. |
| `h2hLastMatches` | no | integer | `50` | How many recent matches of each player to list in an h2h row, per surface list (0-50; the site sends up to 50). Lower it for smaller rows; the price is the same. |
| `includeMatchStats` | no | boolean | `false` | One extra match_stats row per started match: statistics for the match and for each set (aces, serve and return points, break points, games), total and per-set duration and the referee. Charged per row ($0.003); a match with no statistics gives no row and no charge. |
| `includeOdds` | no | boolean | `false` | Adds the bookmaker prices the site shows (US sportsbooks: match winner, sets, over/under, handicap, correct score; opening and current price) to the match_stats row of any match, including scheduled ones. The same $0.003 row event; no extra charge when the row already exists. |
| `maxResults` | no | integer | `100` | At most this many matches per date, each billed $0.002 (details are billed on top). A free notice says how many more there were. |
| `proxyConfiguration` | no | object | `{"useApifyProxy": true}` | Apify datacenter proxy by default, which the feed answers. Change it only to supply your own proxies. |

### Pricing (Pay Per Event)

You pay per result (`result-row`) — **no charge for empty runs**. Example: **1000 match rows** at *$0.002/result* ≈ **$2.00**.

A match row is $0.002, its head-to-head $0.003 and its statistics and odds $0.003, so a full match is $0.008. No start fee, notices free. Examples: 500 matches of a day is $1.00; the same with head-to-head is $2.50.

### Use cases

- Today's ATP and WTA matches with each pair's head-to-head and last-5 form, in one sheet.
- Yesterday's Challenger and ITF results with set scores, tiebreaks and retirements.
- A scheduled daily results feed that never bills an empty run.
- Per-set aces, break points and serve percentages for a tournament's finished matches.
- Opening against current bookmaker prices next to the result.
- Everything a named player played or will play in the next week.
- A prediction model's training table: results, surface, form, statistics and odds joined on match_id.

### Why this actor

- Head-to-head, per-set statistics and odds in the same run as the results, not just a list of scores.
- All tours in one request per day, so a full tennis day is cheap.
- No start fee; empty days, unknown players and refusals are free notice rows.
- A full match (match row, head-to-head and statistics with odds) is $0.008.
- Every field the site sends is kept: unmapped ones come back under extras.

### Limitations & updates

Public match data as the site shows it: no player rankings or seeds, no round names, no point-by-point. A day is read in the site's own order, up to maxResults matches per date. Odds are the sportsbooks the site lists for its New Jersey audience. Each run is a snapshot; schedule it for a feed. Not affiliated with or endorsed by Flashscore.

### FAQ

**What does a run cost?**

$0.002 per match row, $0.003 per head-to-head row and $0.003 per match statistics (and odds) row. A day's 100 matches with head-to-head is $0.50. There is no start fee and notice rows are free, so a run that finds nothing costs nothing.

**Which dates can I read?**

From 7 days back to 7 days ahead of today (UTC), as today, yesterday, tomorrow or YYYY-MM-DD. A day outside that returns a free notice.

**Which tours are covered?**

Everything the site lists for tennis: ATP, WTA, Challenger, ITF men and women, Davis Cup and team events, singles and doubles. Filter with tours, matchType, tournaments and players.

**Are there player rankings or seeds?**

Not in this version: the site's feeds do not carry them, so the rows do not either.

**Which bookmakers are the odds from?**

The US sportsbooks the site shows for New Jersey, with opening and current decimal prices. They can differ by region from what you see on the site at home.

**What happens with a match that has not started?**

You get its match row (and odds if you ask). Statistics need a started match and are skipped without a charge.

### Which actor to choose

Related sports tools:

- **Sofascore Scraper: Match Stats, Player Ratings & Standings** — You want the same matches from another source, or football and basketball box scores.
- **Kalshi & Polymarket Prediction Market Odds Scraper** — You want prediction-market prices on the same matches.

### Works with AI assistants (MCP)

Callable as an MCP tool, so Claude, Cursor, VS Code Copilot and other MCP clients can run it directly. Grab the config from the [MCP tab](https://apify.com/scrapebench/flashscore-tennis-matches-results-h2h-scraper/api/mcp) on this page — Apify hosts the server and keeps that snippet current, and OAuth signs you in on first connect, so no API token goes in your config file.

Then just ask:

> "Get today's finished Challenger matches with each pair's head-to-head, and tell me the biggest upset."

Run as {"dates":\["today"],"status":"finished","tours":\["Challenger"],"includeH2H":true,"maxResults":20}. Runs started this way bill exactly like any other run.

### Data & lawful use

This actor collects publicly available information that Flashscore (Livesport s.r.o.) publishes for public
lookup — licence records, business listings and the contact details professionals list there.
Some of it identifies individuals (sole proprietors, licence holders, agents), so treat any
names, phone numbers and emails in your results as personal data.

When you run this actor, you decide what is collected and what it is used for, so you are the
controller of that data and we act only as your processor (Apify Standard Actor Contract).
You need a lawful basis for your use, must honour opt-out and deletion requests, and must
follow the marketing rules that apply to you (CAN-SPAM, TCPA, GDPR, CCPA and similar).
Don't use the output for unsolicited bulk messaging, for screening covered by the FCRA, or
for anything the source's own terms forbid.

Your results are stored in your own Apify account. We don't keep a copy of your results and
don't sell or share them.

### Disclaimer

This is an independent tool. It is not affiliated with, endorsed by or sponsored by
Flashscore (Livesport s.r.o.). Names and marks are used only to describe the data source. Records are
provided as published by the source and may be out of date or incomplete. For anything
consequential (hiring, a permit, a legal decision), confirm the record with the issuing
agency. You are responsible for making sure your use complies with applicable law and the
source's terms.

### Need help?

Open an issue on this actor's **Issues** tab and we'll respond there. Bug reports, missing
fields and feature requests are all welcome. Guides and examples: [scrapebench.dev](https://scrapebench.dev).

If you are a person named in this data and want your record removed from our copy, email
apify-help@scrapebench.dev; the source agency remains the official record.

Your run may be used to improve our services. If something looks off, or you want this actor to fit your use better, please share your run data with us: [Apify Console → Settings → Security → Share run data with developers](https://console.apify.com/settings/security). It lets us see exactly what went wrong and keep improving the actor.

If this actor saved you time, a short review on its Store page helps other buyers find it.

# Actor input Schema

## `dates` (type: `array`):

Days to read: `today`, `yesterday`, `tomorrow` or YYYY-MM-DD (UTC calendar days), up to 7 days back and 7 ahead. One day is one request for every tour. `maxResults` applies per date.

## `date` (type: `string`):

One day, same values as Dates. Use either; if both are set they are merged.

## `status` (type: `string`):

all, scheduled (not started), live (in play now) or finished (played, retired or walkover). Cancelled and interrupted matches show only with all.

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

Keep only these tours, as words from the tour name: `ATP`, `WTA`, `Challenger`, `ITF`, `Teams`, or narrower (`ITF Women`, `Challenger Men`). Empty = every tour on the day.

## `tour` (type: `string`):

One tour, same values as Tours.

## `matchType` (type: `string`):

singles, doubles or all.

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

Keep only matches with one of these players, by name (`Lorenzo Musetti`, `Alcaraz`). Several words must all appear. A name with no match on the dates is a free notice.

## `player` (type: `string`):

One player, same values as Players.

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

Keep only tournaments whose name contains one of these words (`Davis Cup`, `Bogota`, `M15 Monastir`). Empty = all.

## `tournament` (type: `string`):

One tournament, same values as Tournaments.

## `includeH2H` (type: `boolean`):

One extra h2h row per match: meetings and the head-to-head record, last-5 form of each player, each player's recent matches, and the same per surface (hard, clay, grass). Charged per row ($0.003); a match with no history gives no row and no charge.

## `h2hLastMatches` (type: `integer`):

How many recent matches of each player to list in an h2h row, per surface list (0-50; the site sends up to 50). Lower it for smaller rows; the price is the same.

## `includeMatchStats` (type: `boolean`):

One extra match_stats row per started match: statistics for the match and for each set (aces, serve and return points, break points, games), total and per-set duration and the referee. Charged per row ($0.003); a match with no statistics gives no row and no charge.

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

Adds the bookmaker prices the site shows (US sportsbooks: match winner, sets, over/under, handicap, correct score; opening and current price) to the match_stats row of any match, including scheduled ones. The same $0.003 row event; no extra charge when the row already exists.

## `maxResults` (type: `integer`):

At most this many matches per date, each billed $0.002 (details are billed on top). A free notice says how many more there were.

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

Apify datacenter proxy by default, which the feed answers. Change it only to supply your own proxies.

## Actor input object example

```json
{
  "dates": [
    "today"
  ],
  "status": "all",
  "tours": [],
  "matchType": "all",
  "players": [],
  "tournaments": [],
  "includeH2H": false,
  "h2hLastMatches": 50,
  "includeMatchStats": false,
  "includeOdds": false,
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Matches, head-to-head records, match statistics and odds from your run.

# 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 = {
    "dates": [
        "today"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapebench/flashscore-tennis-matches-results-h2h-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 = {
    "dates": ["today"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapebench/flashscore-tennis-matches-results-h2h-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 '{
  "dates": [
    "today"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapebench/flashscore-tennis-matches-results-h2h-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapebench/flashscore-tennis-matches-results-h2h-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/eRswcyUNmCdtsRr2x/builds/5nD8mwjPZnlFDkQcI/openapi.json
