# ATP results today and yesterday

**Use case:** 

Returns the finished ATP singles matches of yesterday and today (UTC), newest first: tournament, round, both players with seeds, the set-by-set score with tie-breaks, the winner and the court. Retirements and walkovers are included. Each match costs $0.001. The tours pause from late November to the end of December, so raise daysBack if a run comes back empty then.

## Input

```json
{
  "mode": "results",
  "tours": [
    "atp"
  ],
  "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 "ATP results today and yesterday". [Sign up or log in](https://console.apify.com/create-task-from-example/IzRacpej7mxfpldIU) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "ATP results today and yesterday" 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 "ATP results today and yesterday" 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 "ATP results today and yesterday" task via API](https://apify.com/localwire/tennis-data.md).

## FAQ

### What does the "ATP results today and yesterday" task return?

The "ATP results today and yesterday" task returns one record per match: tournament, draw, round, start time, both players, seeds, set scores, the score line, winner, status, court and source link.

### Can the ATP results task also return WTA or doubles results?

Yes. Add wta to the tours field of the ATP results task for the women's tour, and set eventType to doubles or all for the doubles draws.

### How do I run the "ATP results today and yesterday" task on a schedule or from code?

Copy the "ATP results today and yesterday" 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`).
