# TennisExplorer Tennis Results & Odds Scraper (`confidential_gnat/tennisexplorer-tennis-scraper`) Actor

Scrape TennisExplorer (tennisexplorer.com) tennis results and schedules: ATP and WTA singles and doubles, set scores with tiebreaks and the odds shown for each match. Optional match details with round, surface, player bio, head-to-head and bookmaker odds history with opening prices.

- **URL**: https://apify.com/confidential_gnat/tennisexplorer-tennis-scraper.md
- **Developed by:** [ActorFlow](https://apify.com/confidential_gnat) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## TennisExplorer Tennis Results & Odds Scraper

![TennisExplorer Tennis Results & Odds Scraper cover: tennis match results with head-to-head and every bookmaker's odds history, the same fields on every match](https://i.postimg.cc/KzgyBtsM/Gemini-Generated-Image-c7738kc7738kc773.jpg)

**Scrape tennis results and schedules from TennisExplorer (tennisexplorer.com)**: ATP and WTA singles and doubles with the score of every set, tiebreak points, players, tournament and the odds shown for each match. Switch on match details to add the round, court, player bio, **head-to-head** and the odds of every bookmaker with **opening prices and price history**. Export as **JSON, CSV or Excel** or call it as an **API**: pick the days and press Start.

**Target website:** [tennisexplorer.com](https://www.tennisexplorer.com/)

### ✨ Features of this TennisExplorer tennis scraper

- **Tennis results extraction** — finished, live and scheduled matches by day with the score of every set, tiebreak points, winner and sets won.
- **Odds on every match** — the home and away odds shown on the results page.
- **Bookmaker odds history** — with match details, each bookmaker's current price, opening price and every price change with its time.
- **More odds markets** — over/under, Asian handicap and correct score odds per bookmaker, switched on with one option.
- **Player bio and head-to-head** — ranking, birthdate, height, weight, plays, and the previous meetings of the two players with their scores.
- **Singles and doubles** — ATP and WTA, including Challenger and ITF matches that the site lists with them.
- **Several ways in** — a day of results, one match, a tournament page or a player page.
- **Proxy support** — optional; runs work without one.
- **No browser required** — plain requests keep runs fast and cheap.

### 🚀 How to scrape TennisExplorer tennis results in 5 steps

1. [Sign up](https://apify.com/sign-up) for a free Apify account — includes **$5 monthly credit**.
2. Open the actor page and click **Try for free**.
3. Fill in the **Input** fields (leave the start URL empty to use the days and tours, or paste a results page, match, tournament or player URL).
4. Click **Start** and wait for the run to complete.
5. Download results from the **Output** tab in JSON, CSV, or Excel format.

You can also run this actor via the [Apify API](https://docs.apify.com/api/v2) or integrate it directly into your workflows using [Zapier](https://zapier.com/apps/apify), [Make](https://www.make.com/), or [n8n](https://n8n.io/).

### 💰 Pricing for the TennisExplorer scraper

This actor uses **pay-per-result** billing based on the compute units a run consumes.

- New Apify accounts include **$5 of free monthly credit**.
- The actor uses plain HTTP requests instead of a browser, so it costs significantly less to run than browser-based scrapers.
- The proxy is off by default, which keeps runs cheapest.
- Match details open one extra page per match, so a run with details takes longer than a plain results run.

### 🔧 TennisExplorer scraper input configuration

The input form starts with the start URLs and the match limit, then the tours and days, and the two detail switches. The proxy settings are last.

![TennisExplorer Tennis Results & Odds Scraper input form in Apify Console with the first 6 fields numbered 1 to 6: TennisExplorer URLs, max matches per URL, tours, days back, scrape match details and include all odds markets](https://i.postimg.cc/DZbKL1YS/Gemini-Generated-Image-irpobqirpobqirpo.jpg)

1. **TennisExplorer URLs** - results, schedule, match, tournament or player pages to scrape
2. **Max matches per URL** - how many matches to save for each start URL
3. **Tours** - which tours to scrape when no start URL is given (here ATP singles)
4. **Days back** - also scrape the results of this many days before today
5. **Scrape match details** - opens each match page for the round, player bios, head-to-head and bookmaker odds
6. **Include all odds markets** - adds over/under, Asian handicap and correct score odds

The days ahead field follows below these, and the proxy configuration comes last.

| Field | Type | Required | Default | Description |
| ----- | ---- | -------- | ------- | ----------- |
| TennisExplorer URLs (`startUrls`) | array | — | a results page of 2026-10-28 | A results or schedule page, a match page, a tournament page or a player page. Leave empty to use the tours and days below. |
| Max matches per URL (`maxItems`) | integer | — | 5 | Maximum matches saved for each start URL (or in total when no start URL is given). |
| Tours (`tours`) | array | — | ATP and WTA singles | `atp-single`, `wta-single`, `atp-double` or `wta-double`. Used when no start URL is given. |
| Days back (`daysBack`) | integer | — | 1 | Also scrape the results of this many days before today. Up to 31 days in total with days ahead. |
| Days ahead (`daysAhead`) | integer | — | 0 | Also scrape the schedule of this many days after today. |
| Scrape match details (`scrapeDetails`) | boolean | — | false | Opens each match page and adds the round, court, player bio, head-to-head and the odds of every bookmaker with opening price and history. |
| Include all odds markets (`includeAllMarkets`) | boolean | — | false | With match details, also adds over/under, Asian handicap and correct score odds. |
| Proxy configuration (`proxyConfiguration`) | object | — | no proxy | Turn on Apify Proxy if your runs get blocked. |

**Supported URL types:**

- A day of results: `https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=28`
- A day of the schedule: `https://www.tennisexplorer.com/matches/?type=wta-single&year=2026&month=10&day=30`
- One match: `https://www.tennisexplorer.com/match-detail/?id=3361775`
- A tournament: `https://www.tennisexplorer.com/vienna/2026/atp-men/`
- A player: `https://www.tennisexplorer.com/player/de-minaur/`

A results or schedule URL without a date uses the days back and days ahead settings. Tournament and player pages list their matches and each match is then scraped from its own page, so those records always carry the match details.

### 📦 TennisExplorer scraper output data

The output is a flat list of matches with these fields: `matchId`, `url`, `date`, `time`, `status`, `matchType`, `tour`, `gender`, `tournamentName`, `tournamentUrl`, `tournamentCountry`, `round`, `surface`, `winner`, `setsHome`, `setsAway`, `sets`, the home and away player fields (`homeName`, `homeSlug`, `homeUrl`, `homeSeed`, `homeRanking`, `homeBirthdate`, `homeHeightCm`, `homeWeightKg`, `homePlays` and the same for away), `oddsHome`, `oddsAway`, `h2hHome`, `h2hAway`, `headToHead`, `odds`, `source` and `scrapedAt`. Every record has every field; what the site does not show is `null`.

The dataset has 1 view, **Matches**, a compact table with date, time, status, tour, tournament, round, both players, sets, winner, odds and the match link.

- `status` is `scheduled`, `live`, `finished`, `retired` or `walkover`. The site marks no live matches, so a score that is not final and started a few hours ago is reported as live, and an older one as retired.
- `time` is the start time as the site shows it (Prague time).
- `sets` lists each set with the games of both players; a tiebreak set carries the loser's tiebreak points.
- `odds` (match details only) has one entry per bookmaker and line: `price1` is home (or over), `price2` is away (or under), with `opening1`, `opening2` and the price history when the site shows them.

**Output at a glance:**

| Date | Tour | Tournament | Round | Match | Score | Odds H / A |
| ---- | ---- | ---------- | ----- | ----- | ----- | ---------- |
| 2026-10-28 | ATP | Vienna | round of 16 | [De Minaur Alex - Tien Learner](https://www.tennisexplorer.com/match-detail/?id=3361775) | 6-4 6-2 | 1.83 / 1.96 |
| 2026-10-28 | ATP | Vienna | 1. round | [Basilashvili Nikoloz - Rodionov Jurij](https://www.tennisexplorer.com/match-detail/?id=3358323) | 7-6(3) 6-1 | 1.61 / 2.28 |
| 2026-10-28 | ATP | Vienna | round of 16 | [Mannarino Adrian - Mensik Jakub](https://www.tennisexplorer.com/match-detail/?id=3362647) | 6-4 7-5 | 4.72 / 1.19 |
| 2026-10-28 | ATP | Vienna | 1. round | [Musetti Lorenzo - Tiafoe Frances](https://www.tennisexplorer.com/match-detail/?id=3358309) | 7-6(6) 7-5 | 2.13 / 1.71 |
| 2026-10-28 | ATP | Vienna | 1. round | [Medvedev Daniil - Merida Aguilar Daniel](https://www.tennisexplorer.com/match-detail/?id=3358319) | 7-6(5) 6-1 | 1.25 / 3.89 |

**Sample output (raw JSON):**

```json
[
  {
    "matchId": "3361775",
    "url": "https://www.tennisexplorer.com/match-detail/?id=3361775",
    "date": "2026-10-28",
    "time": "20:15",
    "status": "finished",
    "matchType": "singles",
    "tour": "atp",
    "gender": "men",
    "tournamentName": "Vienna",
    "tournamentUrl": "https://www.tennisexplorer.com/vienna/2026/atp-men/",
    "tournamentCountry": "AT",
    "round": "round of 16",
    "surface": "indoors",
    "winner": "home",
    "setsHome": 2,
    "setsAway": 0,
    "sets": [
      {
        "set": 1,
        "homeGames": 6,
        "awayGames": 4,
        "homeTiebreak": null,
        "awayTiebreak": null
      },
      {
        "set": 2,
        "homeGames": 6,
        "awayGames": 2,
        "homeTiebreak": null,
        "awayTiebreak": null
      }
    ],
    "homeName": "De Minaur Alex",
    "homeSlug": "de-minaur",
    "homeUrl": "https://www.tennisexplorer.com/player/de-minaur/",
    "homeSeed": 5,
    "homeRanking": 10,
    "homeBirthdate": "1999-02-17",
    "homeHeightCm": 183,
    "homeWeightKg": 69,
    "homePlays": "right",
    "awayName": "Tien Learner",
    "awaySlug": "tien",
    "awayUrl": "https://www.tennisexplorer.com/player/tien/",
    "awaySeed": null,
    "awayRanking": 18,
    "awayBirthdate": "2005-12-02",
    "awayHeightCm": null,
    "awayWeightKg": null,
    "awayPlays": "left",
    "oddsHome": 1.83,
    "oddsAway": 1.96,
    "h2hHome": 1,
    "h2hAway": 0,
    "headToHead": [
      {
        "matchId": "3361775",
        "year": 2026,
        "tournamentName": "Vienna",
        "tournamentUrl": "https://www.tennisexplorer.com/vienna/2026/atp-men/",
        "surface": "Indoors",
        "round": "R16",
        "winner": "home",
        "setsHome": 2,
        "setsAway": 0,
        "sets": [
          {
            "set": 1,
            "homeGames": 6,
            "awayGames": 4,
            "homeTiebreak": null,
            "awayTiebreak": null
          },
          {
            "set": 2,
            "homeGames": 6,
            "awayGames": 2,
            "homeTiebreak": null,
            "awayTiebreak": null
          }
        ]
      }
    ],
    "odds": [
      {
        "market": "home_away",
        "group": null,
        "line": null,
        "bookmaker": "10Bet",
        "price1": 1.8,
        "price2": 1.95,
        "opening1": 1.75,
        "opening2": 2,
        "history1": [
          {
            "time": "28.10. 20:02",
            "price": 1.8
          },
          {
            "time": "28.10. 19:53",
            "price": 1.83
          }
        ],
        "history2": [
          {
            "time": "28.10. 20:02",
            "price": 1.95
          },
          {
            "time": "28.10. 19:53",
            "price": 1.9
          }
        ]
      },
      {
        "market": "home_away",
        "group": null,
        "line": null,
        "bookmaker": "1xBet",
        "price1": 1.71,
        "price2": 2.17,
        "opening1": 1.71,
        "opening2": 2.19,
        "history1": [
          {
            "time": "28.10. 20:09",
            "price": 1.71
          },
          {
            "time": "28.10. 19:54",
            "price": 1.74
          }
        ],
        "history2": [
          {
            "time": "28.10. 20:09",
            "price": 2.17
          },
          {
            "time": "28.10. 19:54",
            "price": 2.12
          }
        ]
      }
    ],
    "source": "https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=28",
    "scrapedAt": "2026-10-30T07:04:57.470Z"
  },
  {
    "matchId": "3358323",
    "url": "https://www.tennisexplorer.com/match-detail/?id=3358323",
    "date": "2026-10-28",
    "time": "18:05",
    "status": "finished",
    "matchType": "singles",
    "tour": "atp",
    "gender": "men",
    "tournamentName": "Vienna",
    "tournamentUrl": "https://www.tennisexplorer.com/vienna/2026/atp-men/",
    "tournamentCountry": "AT",
    "round": "1. round",
    "surface": "indoors",
    "winner": "home",
    "setsHome": 2,
    "setsAway": 0,
    "sets": [
      {
        "set": 1,
        "homeGames": 7,
        "awayGames": 6,
        "homeTiebreak": null,
        "awayTiebreak": 3
      },
      {
        "set": 2,
        "homeGames": 6,
        "awayGames": 1,
        "homeTiebreak": null,
        "awayTiebreak": null
      }
    ],
    "homeName": "Basilashvili Nikoloz",
    "homeSlug": "basilashvili",
    "homeUrl": "https://www.tennisexplorer.com/player/basilashvili/",
    "homeSeed": null,
    "homeRanking": 95,
    "homeBirthdate": "1992-02-23",
    "homeHeightCm": 185,
    "homeWeightKg": 79,
    "homePlays": "right",
    "awayName": "Rodionov Jurij",
    "awaySlug": "rodionov-f5e38",
    "awayUrl": "https://www.tennisexplorer.com/player/rodionov-f5e38/",
    "awaySeed": null,
    "awayRanking": 137,
    "awayBirthdate": "1999-05-16",
    "awayHeightCm": 191,
    "awayWeightKg": 86,
    "awayPlays": "left",
    "oddsHome": 1.61,
    "oddsAway": 2.28,
    "h2hHome": 2,
    "h2hAway": 0,
    "headToHead": [
      {
        "matchId": "3358323",
        "year": 2026,
        "tournamentName": "Vienna",
        "tournamentUrl": "https://www.tennisexplorer.com/vienna/2026/atp-men/",
        "surface": "Indoors",
        "round": "1R",
        "winner": "home",
        "setsHome": 2,
        "setsAway": 0,
        "sets": [
          {
            "set": 1,
            "homeGames": 7,
            "awayGames": 6,
            "homeTiebreak": null,
            "awayTiebreak": 3
          },
          {
            "set": 2,
            "homeGames": 6,
            "awayGames": 1,
            "homeTiebreak": null,
            "awayTiebreak": null
          }
        ]
      },
      {
        "matchId": null,
        "year": 2026,
        "tournamentName": "Bucharest",
        "tournamentUrl": "https://www.tennisexplorer.com/bucharest/2026/atp-men/",
        "surface": "Clay",
        "round": "Q-QF",
        "winner": "home",
        "setsHome": 2,
        "setsAway": 1,
        "sets": [
          {
            "set": 1,
            "homeGames": 6,
            "awayGames": 4,
            "homeTiebreak": null,
            "awayTiebreak": null
          },
          {
            "set": 2,
            "homeGames": 0,
            "awayGames": 6,
            "homeTiebreak": null,
            "awayTiebreak": null
          }
        ]
      }
    ],
    "odds": [
      {
        "market": "home_away",
        "group": null,
        "line": null,
        "bookmaker": "10Bet",
        "price1": 1.6,
        "price2": 2.25,
        "opening1": 1.85,
        "opening2": 1.85,
        "history1": [
          {
            "time": "28.10. 17:37",
            "price": 1.6
          },
          {
            "time": "28.10. 17:28",
            "price": 1.65
          }
        ],
        "history2": [
          {
            "time": "28.10. 17:37",
            "price": 2.25
          },
          {
            "time": "28.10. 17:28",
            "price": 2.2
          }
        ]
      },
      {
        "market": "home_away",
        "group": null,
        "line": null,
        "bookmaker": "1xBet",
        "price1": 1.57,
        "price2": 2.44,
        "opening1": 1.92,
        "opening2": 1.92,
        "history1": [
          {
            "time": "28.10. 17:46",
            "price": 1.57
          },
          {
            "time": "28.10. 17:29",
            "price": 1.64
          }
        ],
        "history2": [
          {
            "time": "28.10. 17:46",
            "price": 2.44
          },
          {
            "time": "28.10. 17:29",
            "price": 2.31
          }
        ]
      }
    ],
    "source": "https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=28",
    "scrapedAt": "2026-10-30T07:04:57.470Z"
  }
]
```

### 🐍 How to scrape TennisExplorer with Python, JavaScript or the API

Run the actor programmatically with the official Apify clients. Replace `<YOUR_API_TOKEN>` with the token from your [Apify Console](https://console.apify.com/account/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run = client.actor("confidential_gnat/tennisexplorer-tennis-scraper").call(run_input={
    "tours": ["atp-single"],
    "daysBack": 1,
    "maxItems": 20,
    "scrapeDetails": True,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript** (`npm install apify-client`):

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });

const run = await client.actor('confidential_gnat/tennisexplorer-tennis-scraper').call({
    tours: ['atp-single'],
    daysBack: 1,
    maxItems: 20,
    scrapeDetails: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**cURL** — start a run and wait for the dataset:

```bash
curl -X POST "https://api.apify.com/v2/acts/confidential_gnat~tennisexplorer-tennis-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"tours": ["atp-single"], "daysBack": 1, "maxItems": 20, "scrapeDetails": true}'
```

### 💡 What you can use TennisExplorer tennis data for

- Betting models and backtests built on closing odds, opening odds and price movement per bookmaker.
- Odds comparison and line-movement tracking across bookmakers for ATP and WTA matches.
- Player form, head-to-head and surface analysis from complete results.
- Tennis stats sites, newsletters and apps that need daily results and schedules.
- Machine-learning datasets of matches with scores, rankings and odds.

Typically used by sports analysts, bettors, data scientists and sports media teams.

### ⚠️ Limitations of the TennisExplorer scraper

- **Live matches** — the site marks no live matches, so the live status is inferred from the start time and an unfinished score.
- **Retirements and walkovers** — also inferred: a finished score with an unfinished set or too few sets is a retirement, and a result without set scores is a walkover.
- **Match statistics** — aces, double faults and similar serve statistics are not shown on the pages and are not collected.
- **Round and court** — only available with match details, because the results pages do not show them.
- **Opening odds and history** — shown by the site for the home/away market only.

### ❓ TennisExplorer scraper FAQ

#### Can I scrape TennisExplorer legally?

The actor only collects data that is already publicly visible on tennisexplorer.com, with no login, paywall or private content. Scraping publicly available data is generally considered lawful (see *hiQ Labs v. LinkedIn*), and you remain responsible for following the site's Terms of Service and any laws that apply to your use of the data.

#### What data does the TennisExplorer scraper return?

Each match has its date, time, status, tour, tournament, both players, the score of every set with tiebreak points, the winner and the home and away odds. With match details it adds the round, court, player bio, head-to-head and the odds of every bookmaker with opening prices and price history.

#### How many matches can I scrape from one URL?

`maxItems` limits the matches saved for each start URL, or in total when you give no start URL. A day of ATP singles results lists 100 to 250 matches because Challenger and lower-level events are listed with the ATP.

#### Do I need a proxy to scrape tennisexplorer.com?

No. The proxy is off by default and the site answers plain requests. Turn on Apify Proxy in the input if your runs get blocked.

#### How do I scrape TennisExplorer with Python?

Use the Python example above: start the actor with the Apify client and iterate over the dataset items.

#### Can I run this TennisExplorer scraper on a schedule?

Yes. Use Apify Schedules to run it every day with `daysBack` set to 1 and the tours you need, and collect each day's results into the dataset.

#### What output formats are supported?

JSON, CSV, Excel, XML and RSS, either from the **Output** tab or through the Apify API.

#### Why does a match show as retired or live?

TennisExplorer does not label live or retired matches. The actor infers them: an unfinished score that started within the last hours is live, and an unfinished score from earlier is a retirement.

### 🔗 Relevant actors for TennisExplorer tennis data

| Scraper | Description |
| ------- | ----------- |
| [📈 Action Network Odds & Public Betting Scraper](https://apify.com/confidential_gnat/action-network-odds-scraper) | Sportsbook odds, public betting splits, opening lines and line movement. |
| [🎰 DraftKings Sportsbook Odds & Player Props Scraper](https://apify.com/confidential_gnat/draftkings-odds-scraper) | DraftKings odds for NBA, NFL, MLB, NHL, UFC, soccer and more, with player props. |
| [🏈 FanDuel Odds, Player Props & Same Game Parlay Scraper](https://apify.com/confidential_gnat/fanduel-odds-sgp-scraper) | FanDuel Sportsbook odds, player props and same game parlays. |
| [📊 Covers.com Odds, Line History & Betting Trends Scraper](https://apify.com/confidential_gnat/covers-odds-trends-scraper) | Covers.com odds, line history and betting trends for the major US leagues. |
| [🔮 Kalshi Markets Scraper](https://apify.com/confidential_gnat/kalshi-markets-scraper) | Kalshi prediction market prices, implied probability, spread and volume. |

### 🔗 Other actors you may find useful

| Scraper | Description |
| ------- | ----------- |
| [💬 YouTube Comments Scraper + Sentiment Analysis](https://apify.com/confidential_gnat/youtube-comments-scraper-and-sentiment-analysis) | Comments and replies from YouTube videos with sentiment analysis. |
| [📒 Yellow Pages USA Scraper](https://apify.com/confidential_gnat/yellowpages-usa-scraper) | US businesses from Yellow Pages with emails, phone numbers and addresses. |
| [🏠 Rightmove Property Scraper](https://apify.com/confidential_gnat/rightmove-property-scraper) | UK sale and rent listings from Rightmove with price and property details. |
| [🍷 Vivino Wine Scraper](https://apify.com/confidential_gnat/vivino-wine-scraper) | Wine data from Vivino: name, winery, vintage, ratings and prices. |
| [🥾 AllTrails Scraper](https://apify.com/confidential_gnat/alltrails-scraper) | Hiking, biking and running trails from AllTrails by park, city or state. |

### 💬 Support & contact

If you encounter any issues or have questions, please [open an issue](https://apify.com/confidential_gnat/tennisexplorer-tennis-scraper/issues/open).

You can also find more of our actors on the [Actor Flow](https://apify.com/confidential_gnat) page.

# Actor input Schema

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

Leave empty to scrape the days and tours chosen below. Or add a results or schedule page such as https://www.tennisexplorer.com/results/?type=atp-single\&year=2026\&month=10\&day=28, a match page such as https://www.tennisexplorer.com/match-detail/?id=3361775, a tournament page such as https://www.tennisexplorer.com/vienna/2026/atp-men/, or a player page such as https://www.tennisexplorer.com/player/de-minaur/.

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

Maximum matches saved for each start URL (or in total when no start URL is given).

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

Which results to scrape when no start URL is given. Empty means ATP and WTA singles.

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

Also scrape the results of this many days before today (up to 31 days in total with days ahead). Applies to the tours above and to start URLs of a results or schedule page without a date.

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

Also scrape the schedule of this many days after today.

## `scrapeDetails` (type: `boolean`):

Opens each match page and adds the round, court, player bio (ranking, birthdate, height, weight, plays), head-to-head and the odds of every bookmaker with the opening price and price history. Slower: one extra page per match.

## `includeAllMarkets` (type: `boolean`):

With match details, also adds over/under, Asian handicap and correct score odds. Without it only home/away odds are saved.

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

No proxy is needed in normal use. Turn on Apify Proxy if your runs get blocked.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=28"
    }
  ],
  "maxItems": 5,
  "daysBack": 1,
  "daysAhead": 0,
  "scrapeDetails": true,
  "includeAllMarkets": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=28"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("confidential_gnat/tennisexplorer-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 = { "startUrls": [{ "url": "https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=28" }] }

# Run the Actor and wait for it to finish
run = client.actor("confidential_gnat/tennisexplorer-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 '{
  "startUrls": [
    {
      "url": "https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=28"
    }
  ]
}' |
apify call confidential_gnat/tennisexplorer-tennis-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,confidential_gnat/tennisexplorer-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/S2lCLNveiwCeKaUHT/builds/iezHHW50uLnju6Ghn/openapi.json
