# Live tennis scores: ATP and WTA matches in play

**Use case:** 

Returns the ATP and WTA singles matches in play at the moment of the run, with the score so far, the players, round and court. It is one snapshot per run, not a stream, and has no point-by-point data: schedule it every few minutes while play is on for a scoreboard. When no match is in play, as in the off-season from late November to the end of December, it returns nothing. Each match costs $0.001.

## Input

```json
{
  "mode": "live",
  "tours": [
    "atp",
    "wta"
  ],
  "eventType": "singles",
  "daysBack": 1,
  "daysAhead": 2,
  "includeQualifying": true,
  "addRankings": true,
  "dataSource": "auto",
  "tournamentUrls": [
    "https://www.flashscore.com/tennis/atp-singles/wimbledon/",
    "https://www.flashscore.com/tennis/wta-doubles/us-open/"
  ],
  "monitorMode": false,
  "monitorStoreName": "tennis-data-monitor",
  "maxResults": 100
}
```

## Output

```json
{
  "tour": {
    "label": "Tour",
    "format": "text"
  },
  "tournament.name": {
    "label": "Tournament",
    "format": "text"
  },
  "tournament.surface": {
    "label": "Surface",
    "format": "text"
  },
  "draw": {
    "label": "Draw",
    "format": "text"
  },
  "round": {
    "label": "Round",
    "format": "text"
  },
  "startTime": {
    "label": "Start",
    "format": "date"
  },
  "home.name": {
    "label": "Player 1",
    "format": "text"
  },
  "away.name": {
    "label": "Player 2",
    "format": "text"
  },
  "score": {
    "label": "Score",
    "format": "text"
  },
  "winnerName": {
    "label": "Winner",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "court": {
    "label": "Court",
    "format": "text"
  },
  "sourceUrl": {
    "label": "Source",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Tennis Scores & Results API: ATP, WTA Rankings, Challenger, ITF Actor is ready to run with the inputs already set for "Live tennis scores: ATP and WTA matches in play". [Sign up or log in](https://console.apify.com/create-task-from-example/PO6fMDff8apZvpMGe) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Live tennis scores: ATP and WTA matches in play" task

The Tennis Scores & Results API: ATP, WTA Rankings, Challenger, ITF Actor will start running based on the input automatically. You can also change all the input fields, like what to get, tours, and more, to match your specific use case.

### 3. Receive the "Live tennis scores: ATP and WTA matches in play" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as tour, tournament, surface, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Live tennis scores: ATP and WTA matches in play" task via API](https://apify.com/localwire/tennis-data.md).

## FAQ

### What does the "Live tennis scores: ATP and WTA matches in play" task return?

The "Live tennis scores: ATP and WTA matches in play" task returns one record per match in play: tournament, draw, round, start time, both players, the sets and games so far, status, court and source link.

### Why did the live tennis scores task return nothing?

The live tennis scores task returns only matches being played at the moment of the run. Between sessions and in the off-season there are none, so the dataset is empty and only the $0.0001 start fee is charged.

### Does the live tennis scores task cover Challenger and ITF matches?

No. Live scores are ATP and WTA only. Challenger and ITF matches appear as fixtures and then as results, in the fixtures and results modes.

### How do I run the "Live tennis scores: ATP and WTA matches in play" task on a schedule or from code?

Copy the "Live tennis scores: ATP and WTA matches in play" task to your Apify account, then add a schedule in Apify Console or start it with the Run task API endpoint. Results download as JSON, CSV or Excel.

## About this Actor

This example demonstrates how to use [Tennis Scores & Results API: ATP, WTA Rankings, Challenger, ITF](https://apify.com/localwire/tennis-data.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/localwire/tennis-data.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/localwire/tennis-data.md

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`).
