{
  "openapi": "3.0.1",
  "info": {
    "title": "Tennis Scraper & API: ATP, WTA, ITF Results + Pinnacle Odds",
    "description": "Tennis scraper & API for ATP, WTA, Challenger and ITF: match results, live scores, set scores, stats and Pinnacle odds (no-vig). Modes: daily, live, history since 2009, rankings, player profiles, h2h, point-by-point. From $1 per 1,000 matches. Unofficial.",
    "version": "0.1",
    "x-build-id": "UNz6pTSZGvSetZC5J"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/axeforce00~tennis-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-axeforce00-tennis-feed",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/axeforce00~tennis-feed/runs": {
      "post": {
        "operationId": "runs-sync-axeforce00-tennis-feed",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/axeforce00~tennis-feed/run-sync": {
      "post": {
        "operationId": "run-sync-axeforce00-tennis-feed",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "daily",
              "live",
              "match",
              "history",
              "rankings",
              "player",
              "h2h",
              "pointByPoint"
            ],
            "type": "string",
            "description": "Which data to return. daily (default): matches on date..dateTo, $0.001/row ($0.002 with stats/pbp). live: in play now, ONE flat $0.003/run. history: past matches back to 2009. match: refresh matchIds. rankings: an ATP/WTA list, $0.0005/row. player: profile per playerIds, $0.003. h2h: two playerIds or one matchId, $0.003. pointByPoint: per matchId, $0.002. Poll faster than once a minute via the Standby URL ($0.001/request).",
            "default": "daily"
          },
          "date": {
            "title": "Date (UTC, YYYY-MM-DD)",
            "type": "string",
            "description": "First day, UTC, YYYY-MM-DD (e.g. 2026-11-10). Default: today for daily and live. Required for history (e.g. 2025-07-13). Not used by mode=match, player, h2h or pointByPoint. In mode=rankings it is the ranking date; leave it empty (or \"latest\") for the current list. Days back to January 2009 come from the archive."
          },
          "dateTo": {
            "title": "End date (UTC, YYYY-MM-DD)",
            "type": "string",
            "description": "Last day, inclusive, UTC, YYYY-MM-DD. Default: the same day as date. Use it with daily or history for a range, e.g. a tournament week. Cost grows with the number of matches: roughly 150-600 per day across all tours."
          },
          "matchIds": {
            "title": "Match ids",
            "type": "array",
            "description": "Required for mode=match and mode=pointByPoint (and one id is an option for mode=h2h), ignored by the other modes: matchId values from earlier rows, as strings (e.g. \"203038293551040\"). mode=match: each id returns the match's latest score, odds and, with include stats/pbp, statistics. mode=pointByPoint: each id returns the match row with its point-by-point data. mode=h2h: one id returns its head-to-head ($0.003). Otherwise $0.001 per id ($0.002 with stats/pbp); at most maxMatches ids per run.",
            "items": {
              "type": "string"
            }
          },
          "tours": {
            "title": "Tours",
            "type": "array",
            "description": "Tours to include. Valid values: atp, wta, challenger, wta125 (the WTA 125 series), itf_men, itf_women, other (Davis Cup, BJK Cup, UTR, juniors, exhibitions). Default: atp, wta, challenger, wta125, itf_men, itf_women. Fewer tours means fewer rows and a lower cost. ITF Men and ITF Women are covered from October 2026, WTA 125 from November 2026.",
            "items": {
              "type": "string",
              "enum": [
                "atp",
                "wta",
                "challenger",
                "wta125",
                "itf_men",
                "itf_women",
                "other"
              ]
            },
            "default": [
              "atp",
              "wta",
              "challenger",
              "wta125",
              "itf_men",
              "itf_women"
            ]
          },
          "include": {
            "title": "Include",
            "type": "array",
            "description": "Extra data in each match row. odds (default): the Pinnacle markets of the match (up to about 40) plus the no-vig fair probability; finished matches carry closing odds. stats: match statistics. pbp: point-by-point. Adding stats or pbp makes every row $0.002 instead of $0.001. An empty list returns rows without odds. If stats/pbp cannot be served, the status message says so and rows carry partial=true.",
            "items": {
              "type": "string",
              "enum": [
                "odds",
                "stats",
                "pbp"
              ]
            },
            "default": [
              "odds"
            ]
          },
          "playerIds": {
            "title": "Player ids",
            "type": "array",
            "description": "In daily/live/match/history: only matches with at least one of these players. In mode=player: one career profile per id. In mode=h2h: exactly two ids (head-to-head of those two players). Use the 8-character player id from homePlayers[].id or awayPlayers[].id of an earlier row (names are not accepted), e.g. MTQ5CPOR. At most 20. Default: no player filter.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9]{8}$"
            }
          },
          "list": {
            "title": "Ranking list",
            "enum": [
              "atp_singles",
              "atp_doubles",
              "wta_singles",
              "wta_doubles"
            ],
            "type": "string",
            "description": "mode=rankings only (required there): which official ranking list to return. atp_singles / atp_doubles come from atptour, wta_singles / wta_doubles from wtatennis. $0.0005 per ranking row."
          },
          "tournament": {
            "title": "Tournament contains",
            "type": "string",
            "description": "Only tournaments whose name contains this text, case-insensitive, 2-80 characters, e.g. Almaty or Santa Margherita. Default: all tournaments."
          },
          "surfaces": {
            "title": "Surfaces",
            "type": "array",
            "description": "Only these court surfaces. Valid values: hard, clay, grass, carpet. Default (empty): all surfaces.",
            "items": {
              "type": "string",
              "enum": [
                "hard",
                "clay",
                "grass",
                "carpet"
              ]
            }
          },
          "indoor": {
            "title": "Indoor only",
            "type": "boolean",
            "description": "true: indoor courts only. false: outdoor courts only. Default (unset): both. When set, matches whose venue is unknown are left out."
          },
          "categories": {
            "title": "ITF categories",
            "type": "array",
            "description": "Only these ITF tiers, e.g. M15, M25, W15, W35, W50, W75, W100. ATP, WTA and Challenger matches have no ITF tier, so they are left out when this filter is set. Default (empty): no tier filter.",
            "items": {
              "type": "string",
              "pattern": "^[MW][0-9]{2,3}$"
            }
          },
          "since": {
            "title": "Changed since (revision)",
            "type": "integer",
            "description": "Change-only polling: return only matches changed after this revision number. Pass nextSince from the previous run's OUTPUT record. Default (unset): all matches. Needs API mode, the normal mode on Apify."
          },
          "maxRows": {
            "title": "Maximum rows",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum match rows per run, so it caps the cost of daily and history runs: rows x $0.001 ($0.002 with stats/pbp). Default 10, a $0.01 sample; set 1000 for a full day (roughly 150-600 matches). It does not shrink flat-priced requests: a live snapshot and a Standby request return up to 1,000 rows (more if maxRows is higher), and mode=match returns every id up to maxMatches.",
            "default": 10
          },
          "maxMatches": {
            "title": "Maximum targeted matches",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "mode=match only: the most matchIds refreshed in one run. 1-200, default 25.",
            "default": 25
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}