# Yesterday's tennis results with closing odds

**Use case:** 

Every ATP, WTA, Challenger and ITF match from yesterday with the final score and the closing odds of up to 42 bookmakers, plus the no-vig consensus. Schedule it daily to build a tennis odds history.

## Input

```json
{
  "mode": "recent",
  "statuses": [
    "finished"
  ],
  "daysBack": 1,
  "daysAhead": 0,
  "tours": [
    "ATP",
    "WTA",
    "CHALLENGER",
    "ITF"
  ],
  "formats": [
    "SINGLES"
  ],
  "tournaments": [
    "ATP: Wimbledon",
    "WTA: Wimbledon"
  ],
  "years": [
    "2024"
  ],
  "lastYears": 1,
  "includeQualifying": true,
  "includeOdds": true,
  "onlyWithOdds": false,
  "includeStats": false,
  "includePointByPoint": false,
  "includeRankings": true,
  "maxMatches": 30
}
```

## Output

```json
{
  "startTime": {
    "label": "Start (UTC)",
    "format": "date"
  },
  "tour": {
    "label": "Tour"
  },
  "tournament": {
    "label": "Tournament"
  },
  "surface": {
    "label": "Surface"
  },
  "player1": {
    "label": "Player 1"
  },
  "player2": {
    "label": "Player 2"
  },
  "player1Rank": {
    "label": "Rank P1",
    "format": "number"
  },
  "player2Rank": {
    "label": "Rank P2",
    "format": "number"
  },
  "status": {
    "label": "Status"
  },
  "score": {
    "label": "Score"
  },
  "winner": {
    "label": "Winner",
    "format": "number"
  },
  "consensus": {
    "label": "Consensus"
  }
}
```

## About this Actor

This example demonstrates how to use [Tennis Scraper: Live Scores, Results & Odds from 40+ Books](https://apify.com/sports-odds-lab/tennis-odds-results.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sports-odds-lab/tennis-odds-results.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/sports-odds-lab/tennis-odds-results.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`).
