# Tennis Scores, Results & Schedule API (ATP, WTA) (`quietcrawl/tennis-matches`) Actor

ATP and WTA tennis match results and schedules by date: tournament, draw, round, players, set scores with tiebreaks, winner, status and court. From ESPN's public scoreboard.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Scores, Results & Schedule API (ATP, WTA)

Get ATP and WTA tennis matches for a day or a date range, one row per match: tournament, draw, round, players and their countries, set-by-set score with tiebreaks, winner, status and court. Scheduled, live and finished matches are all included. Export as CSV, Excel or JSON, or use the API.

Data comes from ESPN's public tennis scoreboard. No API key needed.

### What it returns

- **Results and schedules.** Finished matches have the winner and score. Scheduled matches have the start time and court.
- **Singles and doubles.** Doubles teams are returned as `"Player A / Player B"`.
- **Retirements and walkovers.** The status says `Retired` or `Walkover`. Retirement scores end in `ret.` and walkovers show `w/o`.
- **Grand Slams once.** Grand Slams appear in both ESPN feeds; each match is returned once. Men's draws are filed under ATP and women's under WTA. Mixed doubles go under the tour you asked for first.

### Input

| Field | Meaning |
|---|---|
| `tours` | `["atp"]`, `["wta"]` or both (default both). |
| `startDate`, `endDate` | `YYYY-MM-DD`, in UTC. At most 31 days. Leave both empty for yesterday and today. |
| `draws` | Only keep these draws, e.g. `["Men's Singles"]`. |
| `onlyCompleted` | Skip scheduled and live matches. |
| `maxItems` | Stop after this many matches. |

With no dates, you get yesterday's and today's matches: finished matches first (newest first), then upcoming ones (soonest first). If those two days have fewer than 10 matches, for example in the December off-season, the Actor looks further back until it finds 10 matches. It looks back up to 14 days one day at a time, then a week at a time up to 63 days. With dates set, matches are in date order.

```json
{
  "tours": ["atp", "wta"],
  "startDate": "2026-06-24",
  "endDate": "2026-07-05",
  "draws": ["Men's Singles", "Women's Singles"],
  "onlyCompleted": true
}
```

### Output example

```json
{
  "matchId": "187336",
  "tour": "ATP",
  "tournament": "Rolex Paris Masters",
  "tournamentId": "13",
  "season": 2026,
  "draw": "Men's Singles",
  "round": "Qualifying 1st Round",
  "date": "2026-10-31T14:00Z",
  "status": "Final",
  "statusDetail": "Final",
  "completed": true,
  "venue": "Paris, France",
  "court": "Court 2",
  "player1": "Lorenzo Sonego",
  "player1Country": "Italy",
  "player2": "Jaume Munar",
  "player2Country": "Spain",
  "winner": "Lorenzo Sonego",
  "score": "6-7(3) 6-3 6-4",
  "sets": [
    {"p1": 6, "p2": 7, "p1Tiebreak": 3, "p2Tiebreak": 7},
    {"p1": 6, "p2": 3, "p1Tiebreak": null, "p2Tiebreak": null},
    {"p1": 6, "p2": 4, "p1Tiebreak": null, "p2Tiebreak": null}
  ],
  "summary": "Lorenzo Sonego (ITA) bt Jaume Munar (ESP) 6-7 (3-7) 6-3 6-4",
  "espnUrl": "https://www.espn.com/tennis/scoreboard/tournament/_/eventId/13-2026/competitionType/1"
}
```

`score` is written from the winner's side, with the loser's tiebreak points in brackets. `sets` is always player 1 first, then player 2. `espnUrl` links to the tournament's ESPN scoreboard.

### Pricing

Pay per match. You are charged for each match row in the dataset. To limit spend, set a maximum charge on the run; the Actor stops cleanly when it reaches it.

### FAQ

**Which tournaments are covered?** Whatever ESPN's ATP and WTA scoreboards list for the dates: Grand Slams, the ATP and WTA tours, and their qualifying draws.

**Are point-by-point or match statistics included?** No. You get the set scores, tiebreaks, winner and status.

**Can I get live scores?** Matches in progress are returned with their current set scores. Run it on a schedule for updates.

Found a bug or need another field? Open an issue on this Actor's page.

# Actor input Schema

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

Which tours to fetch.

## `startDate` (type: `string`):

First day of matches (UTC). Leave both dates empty for yesterday and today: latest results first, then the upcoming schedule. If those two days have fewer than 10 matches (e.g. the off-season), the most recent days with matches are used instead.

## `endDate` (type: `string`):

Last day of matches (UTC), at most 31 days after the start date. Defaults to the start date.

## `draws` (type: `array`):

Only keep these draws, e.g. "Men's Singles", "Women's Doubles". Empty keeps all.

## `onlyCompleted` (type: `boolean`):

Skip scheduled and in-progress matches.

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

Stop after this many matches. Empty means no limit.

## Actor input object example

```json
{
  "tours": [
    "atp"
  ],
  "onlyCompleted": false,
  "maxItems": 20
}
```

# Actor output Schema

## `results` (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 = {
    "tours": [
        "atp"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("quietcrawl/tennis-matches").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 = {
    "tours": ["atp"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("quietcrawl/tennis-matches").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 '{
  "tours": [
    "atp"
  ],
  "maxItems": 20
}' |
apify call quietcrawl/tennis-matches --silent --output-dataset

```

## MCP server setup

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

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/i9qQw9UsZmI6MWAts/builds/TEoEnLj4AEFRW9jkP/openapi.json
