# Historical ATP & WTA match results by date range

**Use case:** 

ATP and WTA singles results between two dates, up to 31 days per run: tournament, tier, surface, round, both players with seeds and rankings, set scores, winner and match duration. This example pulls October 2026, capped at 500 matches (raise Maximum items for the full month). Run it month by month to build a historical tennis dataset.

## Input

```json
{
  "tours": [
    "atp",
    "wta"
  ],
  "matchType": "singles",
  "liveOnly": false,
  "dateFrom": "2026-10-01",
  "dateTo": "2026-10-31",
  "matchDetails": [],
  "playerProfiles": false,
  "maxTournamentsPerDate": 10,
  "maxDiscoveryPages": 2,
  "maxItems": 500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "startTimeIso": {
    "label": "Start (UTC)",
    "format": "string"
  },
  "tour": {
    "label": "Tour",
    "format": "string"
  },
  "tournamentName": {
    "label": "Tournament",
    "format": "string"
  },
  "round": {
    "label": "Round",
    "format": "object"
  },
  "player1": {
    "label": "Player 1",
    "format": "object"
  },
  "player2": {
    "label": "Player 2",
    "format": "object"
  },
  "scoreString": {
    "label": "Score",
    "format": "string"
  },
  "resultType": {
    "label": "Result",
    "format": "string"
  },
  "surface": {
    "label": "Surface",
    "format": "string"
  },
  "matchUrl": {
    "label": "Match",
    "format": "string"
  }
}
```

## How it works

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

The Tennis Scraper & API — ATP, WTA Stats, Point-by-Point, Odds Actor is ready to run with the inputs already set for "Historical ATP & WTA match results by date range". [Sign up or log in](https://console.apify.com/create-task-from-example/Bo3nXFdFMSp7ar3r3) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Historical ATP & WTA match results by date range" task

The Tennis Scraper & API — ATP, WTA Stats, Point-by-Point, Odds Actor will start running based on the input automatically. You can also change all the input fields, like tours, match type, and more, to match your specific use case.

### 3. Receive the "Historical ATP & WTA match results by date range" 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 start (utc), tour, tournament, 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 "Historical ATP & WTA match results by date range" task via API](https://apify.com/incognito_mode/sofascore-tennis-scraper.md).

## FAQ

### What match details does this task return?

The Historical ATP & WTA match results task returns data including tournament name, match round, players with rankings, set scores, match result, surface type, and duration.

### What is the maximum number of matches I can retrieve at once?

This example stops at 500 matches. Raise Maximum items to get more; each run covers up to 31 days, so pull longer periods month by month.

### What does the scoreString field indicate?

The scoreString field displays the full match score in the format as read by fans, with player 1's score first and loser's tiebreak points in brackets.

### Can I run this task through an API?

The Historical ATP & WTA match results task can be accessed and run via the Apify API, allowing for programmatic interactions.

### How can I schedule this task to run automatically?

This task can be scheduled to run automatically using the Apify Console, enabling regular data retrieval without manual intervention.

### What is included in the resultType field?

The resultType field indicates how the match concluded, with possible values such as completed, retired, walkover, canceled, live, or scheduled.

## About this Actor

This example demonstrates how to use [Tennis Scraper & API — ATP, WTA Stats, Point-by-Point, Odds](https://apify.com/incognito_mode/sofascore-tennis-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/incognito_mode/sofascore-tennis-scraper.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/incognito_mode/sofascore-tennis-scraper.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`).
