# Tennis Scraper — Results, Odds, Rankings & Elo (ATP, WTA) (`yugenox/tennis-results-odds-scraper`) Actor

Tennis results and fixtures with betting odds for ATP, WTA, Challenger and ITF: set scores, round, surface, prize money, average and per-bookmaker closing / opening odds, head-to-head and player profiles. Plus ATP / WTA rankings and Elo ratings. Daily or historical. No login.

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

## Pricing

from $2.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: Results, Odds, Rankings and Elo (ATP, WTA)

Get **tennis match results and fixtures with betting odds** for every level of the game: Grand Slams, ATP and WTA tour events, Challengers, ITF and UTR. Each match comes with the **score by set** (tiebreaks included), the **round**, the **court surface**, the tournament's **prize money**, the **average bookmaker odds** and the **implied win probabilities**. Turn on match details to add **every bookmaker's closing and opening odds**, the **head-to-head record** and both **players' rank, age, height and playing hand**. It also pulls the official **ATP and WTA rankings** and weekly **Elo ratings** (overall, hard, clay and grass). Daily runs or seasons of history, singles and doubles. No login, no account.

### What you get

| | |
|---|---|
| **Match** | Date, start time (local and UTC), status (finished, retired, walkover, scheduled), tour (ATP / WTA), singles or doubles, link |
| **Tournament** | Name, level (Grand Slam, tour, Challenger, ITF, UTR, team event …), round (Q1, R32, QF, F …), surface (hard, clay, grass, indoors), prize money and currency, country |
| **Players** | Both players (or doubles teams) with seed or entry (WC, Q, LL), player links, the winner |
| **Score** | Sets won, score by set with tiebreak points, e.g. `7-6(5) 6-1` |
| **Odds** | Average decimal odds of the bookmakers for both players, the favourite, implied win probabilities with the bookmaker margin removed |
| **Match details** (optional) | Every bookmaker's odds with its opening odds, the best odds, average opening odds, head-to-head wins, both players' full name, current rank, birth date, height, weight and playing hand |
| **Rankings** | Official ATP / WTA singles ranking: rank, places moved, player, country, points, ranking week (current or past weeks) |
| **Elo ratings** | Weekly Elo for ATP and WTA: overall, hard, clay and grass Elo with their ranks, peak Elo and month, age, official rank |

### How to use it

1. Pick **What to scrape**: Results, Fixtures, Tournament or match URLs, Rankings or Elo ratings.
2. Pick the **Tours** (ATP singles and WTA singles by default, doubles too).
3. For Results and Fixtures, set the **dates** (or leave them empty for yesterday's results / today's and tomorrow's fixtures) and, if you like, filter by **Players**, **Tournaments** or **Levels**.
4. Turn on **Bookmaker odds, H2H and player profiles** if you need every bookmaker's odds.
5. Set **Max rows** and run.

#### Input examples

Yesterday's results, ATP and WTA singles (great as a daily schedule):

```json
{
  "mode": "results",
  "tours": ["atp-single", "wta-single"],
  "maxItems": 0
}
```

Today's and tomorrow's ATP and WTA tour matches with pre-match odds, head-to-head and every bookmaker:

```json
{
  "mode": "fixtures",
  "tours": ["atp-single", "wta-single"],
  "levels": ["grand-slam", "tour"],
  "includeMatchDetails": true,
  "maxItems": 200
}
```

One player's season, with closing odds:

```json
{
  "mode": "results",
  "dateFrom": "2026-01-01",
  "dateTo": "2026-10-28",
  "tours": ["atp-single"],
  "players": ["Jannik Sinner"],
  "maxItems": 0
}
```

Every Challenger result of the last week:

```json
{
  "mode": "results",
  "dateFrom": "-7 days",
  "dateTo": "yesterday",
  "tours": ["atp-single"],
  "levels": ["challenger"],
  "maxItems": 0
}
```

A whole tournament (every result and upcoming match with its round) plus one match with all its bookmakers:

```json
{
  "mode": "urls",
  "startUrls": [
    { "url": "https://www.tennisexplorer.com/vienna/2026/atp-men/" },
    { "url": "https://www.tennisexplorer.com/match-detail/?id=3361775" }
  ]
}
```

The top 500 of the WTA ranking, and the Elo ratings of both tours:

```json
{ "mode": "rankings", "tours": ["wta-single"], "topPlayers": 500, "maxItems": 0 }
```

```json
{ "mode": "elo", "tours": ["atp-single", "wta-single"], "topPlayers": 300, "maxItems": 0 }
```

Dates use the site's calendar (Central European time) and can be relative (`today`, `yesterday`, `3 days ago`, `-1 week`, `tomorrow`), which keeps scheduled runs simple.

### Output example

A finished match with match details on (bookmaker list trimmed to 3 of 15):

```json
{
  "type": "result",
  "matchId": "3361775",
  "matchUrl": "https://www.tennisexplorer.com/match-detail/?id=3361775",
  "date": "2026-10-28",
  "startTime": "20:15",
  "startTimeUtc": "2026-10-28T19:15:00.000Z",
  "status": "finished",
  "tour": "ATP",
  "event": "singles",
  "level": "tour",
  "tournament": "Vienna",
  "tournamentYear": 2026,
  "tournamentCountryCode": "AT",
  "surface": "indoors",
  "indoor": true,
  "prizeMoney": 2797985,
  "prizeCurrency": "EUR",
  "round": "R16",
  "roundName": "round of 16",
  "player1": "De Minaur A.",
  "player1Seed": "5",
  "player2": "Tien L.",
  "player2Seed": null,
  "winner": 1,
  "winnerName": "De Minaur A.",
  "setsPlayer1": 2,
  "setsPlayer2": 0,
  "score": "6-4 6-2",
  "sets": [{ "player1": 6, "player2": 4, "tiebreak": null }, { "player1": 6, "player2": 2, "tiebreak": null }],
  "oddsPlayer1": 1.83,
  "oddsPlayer2": 1.96,
  "impliedProbabilityPlayer1": 0.517,
  "impliedProbabilityPlayer2": 0.483,
  "favourite": 1,
  "h2hPlayer1Wins": 1,
  "h2hPlayer2Wins": 0,
  "detailsIncluded": true,
  "player1FullName": "De Minaur Alex",
  "player1Rank": 10,
  "player1BirthDate": "1999-02-17",
  "player1HeightCm": 183,
  "player1Plays": "right",
  "player2FullName": "Tien Learner",
  "player2Rank": 18,
  "player2Plays": "left",
  "bookmakerCount": 15,
  "bestOddsPlayer1": 1.97,
  "bestOddsPlayer2": 2.17,
  "openingOddsPlayer1": 1.69,
  "openingOddsPlayer2": 2.01,
  "bookmakerOdds": [
    { "bookmaker": "10Bet", "oddsPlayer1": 1.8, "oddsPlayer2": 1.95, "openingOddsPlayer1": 1.75, "openingOddsPlayer2": 2 },
    { "bookmaker": "1xBet", "oddsPlayer1": 1.71, "oddsPlayer2": 2.17, "openingOddsPlayer1": 1.71, "openingOddsPlayer2": 2.19 },
    { "bookmaker": "bet-at-home", "oddsPlayer1": 1.83, "oddsPlayer2": 1.93, "openingOddsPlayer1": 1.65, "openingOddsPlayer2": 2.1 }
  ],
  "source": "tennisexplorer.com",
  "scrapedAt": "2026-10-29T04:35:40.147Z"
}
```

An Elo row:

```json
{ "type": "elo", "tour": "WTA", "ratingDate": "2026-10-26", "eloRank": 1, "player": "Aryna Sabalenka", "age": 28.4, "elo": 2158.5, "hardElo": 2136.8, "clayElo": 2072.4, "grassElo": 1958.1, "officialRank": 2, "source": "tennisabstract.com" }
```

Every match row has the same columns; a value the site doesn't show is `null`. The dataset has ready-made views for matches, odds, rankings and Elo.

### Pricing

Pay per event, no subscription:

| Event | Price |
|---|---|
| Match saved (result or fixture) | **$2.00 per 1,000** matches |
| Match details (all bookmakers, H2H, player profiles), only when turned on | $2.00 per 1,000 matches |
| Ranking or Elo row | $0.50 per 1,000 rows |
| List page read (one tour's results or fixtures for one day, a pasted tournament page, a ranking page of 50, an Elo table) | $0.50 per 1,000 pages |
| Run start | $0.005 per run |

So yesterday's 500 ATP and WTA results cost about $1.00, and the same with every bookmaker's odds about $2.00. Round, surface and prize money are free. Pages that fail and matches whose own page could not be read are never charged as details.

### Use cases

- **Betting models**: closing and opening odds next to results, surface and round, with implied probabilities ready to compare against your model.
- **Daily tipster feeds**: schedule fixtures every morning and results every night.
- **Player and surface research**: a player's season, head-to-head, Elo by surface.
- **Back-testing**: pull past seasons day by day (up to a year per run) for ATP, WTA, Challenger and ITF.
- **Media and fantasy apps**: rankings, Elo and results in one feed.

### Tips

- **Levels** narrow a day to what you care about; Grand Slams and tour events only is a few dozen matches a day instead of several hundred.
- A player filter over a long date range reads several days at once, so a full season for one player takes a few minutes.
- With no date, Results means yesterday; if yesterday had no matches at all (the December break), the run goes back to the most recent day with matches.
- The average odds are always included for free; turn on match details only when you need each bookmaker or the head-to-head.
- Retirements and walkovers are worked out from the sets: a result where the winner didn't reach the sets needed is `retired`.

### FAQ

**Where does the data come from?** Matches, odds, rankings and player profiles come from TennisExplorer's public pages; Elo ratings come from Tennis Abstract's public Elo tables.

**Which odds are these?** For finished matches, the closing odds; for fixtures, the latest odds. `oddsPlayer1` / `oddsPlayer2` are the bookmakers' average. With match details you get each bookmaker's own odds, its opening odds and the best price.

**What time zone are dates and times in?** The site's calendar, Central European time; `startTimeUtc` gives the start in UTC.

**Why do some matches have no odds?** Bookmakers don't price every match (many ITF and UTR matches, some qualifying rounds). Those rows have `null` odds.

**Can I get doubles?** Yes: pick ATP doubles or WTA doubles in Tours. Teams look like `Maestrelli F. / Romano F.`; a player filter matches either player of a team, or a whole team when you write `Maestrelli / Romano`.

**How far back can I go?** As far as the site has results, up to 366 days per run; run it again for earlier seasons.

**Is it legal to scrape TennisExplorer and Tennis Abstract?** This Actor only collects publicly available data that anyone can see without an account: match results, odds, rankings, Elo ratings and the public sports profile of professional players (rank, birth date, height, playing hand). Collecting publicly available data is generally legal, but you're responsible for how you use it. You must follow privacy laws such as GDPR, PIPEDA and CCPA, as well as the sites' terms. If you're unsure, check with a lawyer. More on this: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

**Does it access any private data?** No. Everything comes from pages the sites show to any visitor without logging in. It never logs in or uses accounts, and it follows each site's robots.txt.

*This Actor is not affiliated with, endorsed by or sponsored by TennisExplorer, Tennis Abstract, the ATP or the WTA.*

# Actor input Schema

## `mode` (type: `string`):

Results = finished matches of a day or date range. Fixtures = upcoming matches with pre-match odds and head-to-head. Tournament or match URLs = every match of a tournament page (with its round) or single match pages. Rankings = official ATP / WTA singles rankings. Elo ratings = weekly ATP / WTA Elo ratings (overall, hard, clay, grass).

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

Which match lists to read. Each tour includes every level the site covers for it: Grand Slams, ATP / WTA tour events, Challengers, ITF and more (narrow it with Levels below). Rankings and Elo use the singles list of each tour.

## `dateFrom` (type: `string`):

First day (Central European time, the site's calendar). YYYY-MM-DD, or relative: "today", "yesterday", "3 days ago", "-1 week", "tomorrow", "in 2 days". Empty = yesterday for Results (or the most recent day with matches) and today for Fixtures. Relative dates make scheduled daily runs easy.

## `dateTo` (type: `string`):

Last day, same formats. Empty = the same day as Date from (Results) or tomorrow (Fixtures). Results are read newest day first; up to 366 days per run.

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

Only matches (or ranking / Elo rows) of these players, e.g. "Sinner", "Jannik Sinner", "Swiatek". Accents and initials are handled ("Djokovic" finds "Đoković N."). Empty = everyone.

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

Only matches of tournaments whose name contains one of these, e.g. "Vienna", "Wimbledon", "Australian Open". Empty = all tournaments.

## `levels` (type: `array`):

Only matches of these tournament levels. Empty = all levels.

## `includeRoundAndSurface` (type: `boolean`):

Add each match's round (R32, QF, F …), the court surface (hard, clay, grass, indoors) and the tournament's prize money. Read once per tournament, no extra charge.

## `includeMatchDetails` (type: `boolean`):

Open each saved match's own page: every bookmaker's closing and opening odds (best odds too), the head-to-head record, and both players' rank, birth date, height, weight and playing hand. Charged once per match (see Pricing). The average odds of all bookmakers are always included without this.

## `startUrls` (type: `array`):

For "Tournament or match URLs": TennisExplorer tournament pages (tennisexplorer.com/vienna/2026/atp-men/, add ?type=double for doubles or ?phase=qualification for qualifying) give every result and upcoming match with its round; match pages (tennisexplorer.com/match-detail/?id=3358311) give one match with all bookmakers' odds.

## `topPlayers` (type: `integer`):

How many players per tour for Rankings and Elo ratings, from number 1 down.

## `rankingDate` (type: `string`):

For Rankings: a past ranking week (YYYY-MM-DD, the Monday of that week). Empty = the latest ranking.

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

Most rows for the whole run (matches, ranking rows or Elo rows), shared fairly between the tours. 0 = everything.

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

Apify Proxy (datacenter) is the default and comes with every Apify plan, including the free one.

## Actor input object example

```json
{
  "mode": "results",
  "tours": [
    "atp-single",
    "wta-single"
  ],
  "includeRoundAndSurface": true,
  "includeMatchDetails": false,
  "topPlayers": 100,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All rows saved by this run.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, pages read, counts, charges, requests and proxy use.

# 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 = {
    "mode": "results",
    "tours": [
        "atp-single",
        "wta-single"
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/tennis-results-odds-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 = {
    "mode": "results",
    "tours": [
        "atp-single",
        "wta-single",
    ],
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/tennis-results-odds-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 '{
  "mode": "results",
  "tours": [
    "atp-single",
    "wta-single"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/tennis-results-odds-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/tennis-results-odds-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/2cB7ylecgOUz8Az40/builds/ZkVt7bwMMMhqj9LIX/openapi.json
