# Tennis Explorer Matches Scraper (`dadhalfdev/tennisexplorer-matches-scraper`) Actor

Scrape tennis matches from tennisexplorer.com. Filter by tour and date, or paste a Tennis Explorer URL.

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

## Pricing

from $3.00 / 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

## 🎾 Tennis Explorer Matches Scraper

Want [Tennis Explorer Matches](https://www.tennisexplorer.com/matches/) matches in a spreadsheet? This scraper makes it easy.

Use **structured filters** — better for AI agents — **or** paste an **`input_url`** or **`start_urls`**. A URL overrides the filters. If you set both, both lists are scraped.

Tennis Explorer lists each day's matches by tournament, with start time, both players, the score and the odds. This actor returns up to 2000 rows per run.

### 💡 Perfect for...

- **Fans:** Export a day's ATP and WTA matches, singles or doubles.
- **Media:** Track winners, set scores and odds without paging every tournament.
- **Data analysts:** Build a match table with player and tournament links.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live results.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a Tennis Explorer results page or match page, or type the same filters as the site. `input_url` and `start_urls` override the filters and both are used when you set them.
- 🎯 **Website-Matched Filters:** Match type, one day or a date range, keyword and match ids.
- 🌐 **Listing rows:** Winner, set scores, odds, status, tour and seeds from the results table. Round, surface, recent form and head-to-head are optional.

### 📦 What's inside the data?

`id`, `url`, `date`, `time`, `tournament`, `player_1`, `player_2`, `score`, `set_scores`, `sets_won_player_1`, `sets_won_player_2`, `winner`, `odds_player_1`, `odds_player_2`, `status`, `tour`, `discipline`, `seed_player_1`, `seed_player_2`

With **include match details** turned on, rows can also include `round`, `surface`, `recent_form`, `h2h_wins` and `odds_history`.

### 🚀 Quick start

**Option A:** paste `https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=26`.
**Option B:** set match type to ATP singles, a date,, then set `max_results`. Leave the dates empty to walk back from today.

**Input Example (filters):**

```
{
  "match_type": "ATP singles",
  "date": "2026-10-26",
  "max_results": 100
}
```

**Input Example (URL):**

```
{
  "input_url": "https://www.tennisexplorer.com/results/?type=atp-single&year=2026&month=10&day=26",
  "max_results": 100
}
```

**Output Example:**

```
{
  "id": "3358315",
  "url": "https://www.tennisexplorer.com/match-detail/?id=3358315",
  "date": "2026-10-26",
  "time": "20:15",
  "tournament": "Vienna",
  "tournament_url": "https://www.tennisexplorer.com/vienna/2026/atp-men/",
  "player_1": "Tien L.",
  "player_1_url": "https://www.tennisexplorer.com/player/tien/",
  "player_2": "Van Assche L.",
  "player_2_url": "https://www.tennisexplorer.com/player/van-assche/",
  "seed_player_1": null,
  "seed_player_2": null,
  "score": "6-3 6-1",
  "set_scores": [
    {"player_1_games": 6, "player_2_games": 3, "player_1_tiebreak": null, "player_2_tiebreak": null},
    {"player_1_games": 6, "player_2_games": 1, "player_1_tiebreak": null, "player_2_tiebreak": null}
  ],
  "sets_won_player_1": 2,
  "sets_won_player_2": 0,
  "winner": "Tien L.",
  "odds_player_1": 1.4,
  "odds_player_2": 2.94,
  "status": "finished",
  "tour": "ATP",
  "discipline": "singles"
}
```

**Output fields:**

| Field | Description |
|-------|-------------|
| `id` | Match id. |
| `url` | Public match page. |
| `date` | Match date. |
| `time` | Start time. |
| `tournament` | Tournament name. |
| `tournament_url` | Tournament page. |
| `player_1` | First player, or the first doubles team. |
| `player_1_url` | First player or team page. |
| `player_2` | Second player, or the second doubles team. |
| `player_2_url` | Second player or team page. |
| `seed_player_1` | Seed next to the first name, when the page shows one. |
| `seed_player_2` | Seed next to the second name, when the page shows one. |
| `score` | Set score, such as `6-3 7-6(5)`. |
| `set_scores` | One entry per set, with games and tiebreak points. |
| `sets_won_player_1` | Sets won by the first player. |
| `sets_won_player_2` | Sets won by the second player. |
| `winner` | Name of the player who won. Empty when the match is not finished. |
| `odds_player_1` | Listed odds for the first player. |
| `odds_player_2` | Listed odds for the second player. |
| `status` | `scheduled`, `live`, `finished`, or `cancelled`. |
| `tour` | ATP or WTA. |
| `discipline` | `singles` or `doubles`. |
| `round` | Round, such as `1. round`, when match details are on. |
| `surface` | Surface from the match page, when match details are on. |
| `recent_form` | This season's win/loss by surface, when match details are on. |
| `h2h_wins` | Head-to-head wins for each player, when the match page shows them. |
| `odds_history` | Bookmaker odds changes, when match details are on and the page shows them. |

### 📋 Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Results page or match page. Overrides the filters. |
| `start_urls` | array | No | — | Results pages or match pages. Overrides the filters. Combined with `input_url`. |
| `match_ids` | array | No | — | Match ids from match page URLs. Those matches are opened. |
| `match_type` | string | No | All | All, ATP singles, ATP (singles), WTA singles, WTA (singles), ATP doubles, ATP (doubles), WTA doubles, or WTA (doubles). |
| `date` | string | No | — | One day as YYYY-MM-DD. Used when date from and date to are empty. |
| `date_from` | string | No | — | First day as YYYY-MM-DD. Ranges longer than 62 days are cut to 62. |
| `date_to` | string | No | — | Last day as YYYY-MM-DD, included. One side alone is a single day. |
| `query` | string | No | — | Words matched against the tournament and player names. |
| `include_match_details` | boolean | No | `false` | Open match pages for round, surface, recent form, head-to-head and odds history. |
| `max_results` | integer | No | `50` | How many rows to return (1–2000). |

### 🔧 Custom scrapers and agents

If you need a custom web scraper, or custom AI agents and workflows, contact me through [tuik.ai](https://www.tuik.ai). We help businesses cut costs and time by up to 10x.

# Actor input Schema

## `input_url` (type: `string`):

Paste a Tennis Explorer results page or match page. Overrides the filters when set. If start URLs are set too, both are scraped.

## `start_urls` (type: `array`):

Tennis Explorer results pages or match pages. Overrides the filters. Combined with the input URL when both are set.

## `match_ids` (type: `array`):

Match ids from Tennis Explorer match page URLs. Those matches are opened directly.

## `match_type` (type: `string`):

All, ATP singles, ATP (singles), WTA singles, WTA (singles), ATP doubles, ATP (doubles), WTA doubles, or WTA (doubles).

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

One match day as YYYY-MM-DD. Used only when date from and date to are empty. Leave empty to start from today and walk backward.

## `date_from` (type: `string`):

First day as YYYY-MM-DD. Used together with date to. A range longer than 62 days is cut to 62.

## `date_to` (type: `string`):

Last day as YYYY-MM-DD, included. If only one of date from or date to is set, that single day is used.

## `query` (type: `string`):

Words from the tournament or player names.

## `include_match_details` (type: `boolean`):

Open each match page and add round, surface, recent form, head-to-head wins, and odds history when the page shows them. Leave off for a fast day list.

## `max_results` (type: `integer`):

How many rows to return (1-2000).

## Actor input object example

```json
{
  "match_type": "All",
  "include_match_details": false,
  "max_results": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped matches.

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

All scraped matches from the default dataset.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/tennisexplorer-matches-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/tennisexplorer-matches-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 '{}' |
apify call dadhalfdev/tennisexplorer-matches-scraper --silent --output-dataset

```

## MCP server setup

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