{
  "data": {
    "id": "aqlODDGGBvaNS0p5v",
    "actId": "QBhH7BCiec4MCKQVP",
    "userId": "BNsQ2cO8h74hddVli",
    "startedAt": "2026-11-16T17:39:46.274Z",
    "finishedAt": "2026-11-16T17:39:48.226Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI",
      "githubActionsRunUrl": "https://github.com/architek-earth/apify-actors/actions/runs/43920620553"
    },
    "stats": {
      "durationMillis": 1822,
      "runTimeSecs": 1.822,
      "computeUnits": 0.0020244444444444446,
      "imageSizeBytes": 339324928
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Tennis Odds Scraper — pre-match prices from Pinnacle, Kambi and Betfair\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"preview\": {\n      \"title\": \"Free preview\",\n      \"type\": \"boolean\",\n      \"editor\": \"checkbox\",\n      \"prefill\": true,\n      \"default\": false,\n      \"description\": \"Free sample on every run: the first 10 matches starting in the next 24 hours, match-winner prices from one book (up to 20 rows), never charged. No spending limit needed. Turn off for paid collection (API runs without this field are paid, as before).\"\n    },\n    \"books\": {\n      \"title\": \"Books (datacenter)\",\n      \"type\": \"array\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"pinnacle\",\n          \"kambi\"\n        ],\n        \"enumTitles\": [\n          \"Pinnacle (sharp line, max stake)\",\n          \"Kambi / Unibet\"\n        ]\n      },\n      \"description\": \"Sportsbooks read on datacenter proxies: pinnacle (moneylines, set and games handicaps and totals, set 1 lines) and kambi (Unibet Sweden: match odds, games handicap, total games). Leave empty to read only Betfair.\",\n      \"default\": [\n        \"pinnacle\",\n        \"kambi\"\n      ],\n      \"prefill\": [\n        \"pinnacle\",\n        \"kambi\"\n      ]\n    },\n    \"includeBetfair\": {\n      \"title\": \"Add Betfair Exchange (UK residential)\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Also read Betfair Exchange best back and lay prices with available size (match odds, set betting, set 1 winner). Betfair refuses datacenter and non-UK traffic, so this book alone runs through a UK residential proxy and its rows are charged as odds-betfair. Anonymous exchange prices are a delayed feed.\"\n    },\n    \"tours\": {\n      \"title\": \"Tours\",\n      \"type\": \"array\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"ATP\",\n          \"WTA\",\n          \"Challenger\",\n          \"ITF\",\n          \"Other\"\n        ]\n      },\n      \"description\": \"Which tours to keep, from the book's tournament label (or the joined Flashscore tournament). Other = exhibitions, UTR and anything unlabelled.\",\n      \"default\": [\n        \"ATP\",\n        \"WTA\",\n        \"Challenger\"\n      ]\n    },\n    \"markets\": {\n      \"title\": \"Markets\",\n      \"type\": \"array\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"match-winner\",\n          \"set-1-winner\",\n          \"set-handicap\",\n          \"total-sets\",\n          \"games-handicap\",\n          \"games-total\",\n          \"set-1-games-handicap\",\n          \"set-1-games-total\",\n          \"set-betting\"\n        ]\n      },\n      \"description\": \"Markets to keep. Not every book prices every market: Pinnacle has all but set-betting, Kambi has match-winner, games-handicap and games-total, Betfair has match-winner, set-1-winner and set-betting.\",\n      \"default\": [\n        \"match-winner\",\n        \"set-1-winner\",\n        \"set-handicap\",\n        \"total-sets\",\n        \"games-handicap\",\n        \"games-total\",\n        \"set-1-games-handicap\",\n        \"set-1-games-total\",\n        \"set-betting\"\n      ]\n    },\n    \"includeAlternateLines\": {\n      \"title\": \"Pinnacle alternate lines\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Also deliver Pinnacle's alternate handicap and total lines (about 3x more rows). Off = main lines only.\"\n    },\n    \"includeDoubles\": {\n      \"title\": \"Include doubles\",\n      \"type\": \"boolean\",\n      \"default\": true,\n      \"description\": \"Keep doubles matches (players are pairs, e.g. \\\"Arends S./Johnson L.\\\").\"\n    },\n    \"matchIds\": {\n      \"title\": \"Flashscore match IDs\",\n      \"type\": \"array\",\n      \"editor\": \"stringList\",\n      \"description\": \"Optional: only these matches, by Flashscore match ID (the matchId of tennis-data-scraper, e.g. 6B33aysH). A match no selected book prices gets a free NO_ODDS status row.\",\n      \"default\": []\n    },\n    \"playerNames\": {\n      \"title\": \"Player names\",\n      \"type\": \"array\",\n      \"editor\": \"stringList\",\n      \"description\": \"Optional: only matches with one of these players, matched by surname (e.g. \\\"Jannik Sinner\\\" or \\\"Sinner\\\").\",\n      \"default\": []\n    },\n    \"hoursAhead\": {\n      \"title\": \"Hours ahead\",\n      \"type\": \"integer\",\n      \"minimum\": 1,\n      \"maximum\": 168,\n      \"default\": 48,\n      \"description\": \"Keep matches starting within this many hours (1 to 168).\"\n    },\n    \"includeLive\": {\n      \"title\": \"Include in-play prices\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Also keep prices of matches already in play (isLive true). Off = pre-match only.\"\n    },\n    \"maxMatchesPerBook\": {\n      \"title\": \"Max matches per book\",\n      \"type\": \"integer\",\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"default\": 100,\n      \"prefill\": 10,\n      \"description\": \"At most this many matches per book, earliest start first (1 to 500).\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max rows per run\",\n      \"type\": \"integer\",\n      \"minimum\": 1,\n      \"maximum\": 50000,\n      \"default\": 5000,\n      \"description\": \"Stop after delivering this many price rows (1 to 50,000).\"\n    },\n    \"incrementalMode\": {\n      \"title\": \"Only price changes (watch mode)\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Deliver and charge only prices that moved since the last delivered price for the same watchId, plus outcomes not seen before. Unchanged prices are free and not written. Needs a watchId.\"\n    },\n    \"feedback\": {\n      \"title\": \"Feedback for the maintainers\",\n      \"type\": \"string\",\n      \"editor\": \"textarea\",\n      \"description\": \"Optional note for the maintainers. It is logged and read by a human, and it never changes output.\"\n    },\n    \"watchId\": {\n      \"title\": \"Watch identifier\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"description\": \"Any name you choose, reused on every run of the same inputs. Required for incrementalMode; also lets a stopped run resume without re-charging.\",\n      \"isSecret\": false\n    }\n  },\n  \"required\": []\n}",
    "readme": "# Tennis Odds Scraper | $0.20/1K\n\n## What's new, 2026-11-16\n\nBounded examples, explicit costs and integration recipes. Launch price until **2026-12-31**, then **$1.50 per 1,000 odds rows**.\n\n**Recorded run:** `5ie4PPmz7mQn2uAAb` on 2026-11-15 returned 10 dataset rows; 10 primary events were charged. Status: `SUCCEEDED`. Dataset rows can include free status records.\n\nArchitekture, an independent data studio. architek.earth.\n\nTennis Odds returns match identifiers, books, markets, outcomes, decimal prices and line changes. Use the daily example to collect repeatable snapshots; use incremental mode only where the input exposes it.\n\n## Tested this week\n\n| Check | Our recorded sample | Field context, 2026-11-16 |\n|---|---|---|\n| Evidence window | 2026-11-15; within the last seven days | Rolling 30-day public counters across 5 title-bucket members |\n| Outcome | SUCCEEDED; 10 dataset rows; 10 charged primary events | 0.00% non-success over 138 runs |\n| Cost | $0.001009 platform cost in the retained run | Not a competitor execution or a matched-input benchmark |\n\nField source: [public Store API](https://api.apify.com/v2/store?search=tennis%20odds). Non-success includes failures, aborts and timeouts. The field total is not a unique-user count. These different workloads do not establish that our actor is more reliable.\n\n## What, data and cost\n\nOne primary `odds` event costs **$0.0002**; 1,000 cost **$0.20**. Ten primary events cost **$0.002**. Optional events below are additional; status rows are free.\n\n**$5 free credit ≈ 25,000 odds rows** at the primary launch rate. This estimate excludes optional event charges and additional collection starts. Credit pays for billed work; it is separate from the free preview.\n\nSet `preview: true`. One book, the first 10 matches in the next 24 hours, match-winner prices only, up to 20 rows. Preview rows are not charged. A preview never silently switches to paid collection.\n\n### Event prices\n\n| Event | USD per event | When charged |\n|---|---:|---|\n| `odds` | 0.0002 | Delivered primary result |\n| `odds-betfair` | 0.003 | Only when this documented event is delivered |\n\nFree and Bronze use the full primary rate; Silver receives 10% off, and Gold, Platinum and Diamond receive 20% off. Secondary event prices do not change. Your run's effective price is shown before collection.\n\nLaunch price until **2026-12-31**, then **$1.50 per 1,000 odds rows**.\n\n## Worth knowing up front\n\n- Pre-match prices from Pinnacle (guest odds API), Kambi (the Unibet Sweden board) and Betfair Exchange only. Bovada, DraftKings, FanDuel and bet365 are not in this version; Kambi rows are Unibet Sweden's prices, other Kambi operators may differ.\n- `matchId` is null when the Flashscore day feed does not list the match or two candidates fit; ITF and next-day matches join least often. Kambi lists only main lines; Pinnacle alternate lines need `includeAlternateLines`.\n- Watch mode compares your runs, not ticks: a price that moved and moved back between two runs is not delivered, and a moved handicap or total line is a new outcome (`changeType: \"new\"`). A book that is blocked or unreachable is skipped with a free status row and the run ends `PARTIAL`; the other books are still delivered.\n- Invalid input, a book with no prices in your filters (`NO_ODDS`), a block (`BLOCKED`, `GEO_BLOCKED`), a source error, a requested match ID no book prices, the run timeout and your spending limit each end with a free status row (`\"recordType\": \"status\"`) that says what happened.\n\n## Input recipes\n\n### 1. Preview: Today's tennis match odds\n\n[Open the configured example task](https://apify.com/architekture/tennis-odds-scraper/examples/todds-atp-wta-two-books)\n\n```json\n{\n  \"books\": [\n    \"pinnacle\"\n  ],\n  \"includeBetfair\": false,\n  \"tours\": [\n    \"ATP\",\n    \"WTA\"\n  ],\n  \"markets\": [\n    \"match-winner\"\n  ],\n  \"hoursAhead\": 24,\n  \"maxMatchesPerBook\": 1,\n  \"maxItems\": 2,\n  \"incrementalMode\": false,\n  \"preview\": true\n}\n```\n\n### 2. Every 2 hours: ATP/WTA odds and movement\n\n[Open the configured example task](https://apify.com/architekture/tennis-odds-scraper/examples/todds-line-moves-watch)\n\n```json\n{\n  \"books\": [\n    \"pinnacle\"\n  ],\n  \"includeBetfair\": false,\n  \"tours\": [\n    \"ATP\",\n    \"WTA\"\n  ],\n  \"markets\": [\n    \"match-winner\"\n  ],\n  \"hoursAhead\": 24,\n  \"maxMatchesPerBook\": 1,\n  \"maxItems\": 2,\n  \"incrementalMode\": true,\n  \"preview\": false,\n  \"watchId\": \"two-hour-tennis\"\n}\n```\n\n### 3. One-off: ATP match-winner prices\n\n[Open the configured example task](https://apify.com/architekture/tennis-odds-scraper/examples/m058-tennis-odds-3)\n\n```json\n{\n  \"books\": [\n    \"pinnacle\"\n  ],\n  \"includeBetfair\": false,\n  \"tours\": [\n    \"ATP\"\n  ],\n  \"markets\": [\n    \"match-winner\"\n  ],\n  \"hoursAhead\": 24,\n  \"maxMatchesPerBook\": 1,\n  \"maxItems\": 2,\n  \"incrementalMode\": false,\n  \"preview\": false\n}\n```\n\n### 4. One-off: WTA match-winner prices\n\n[Open the configured example task](https://apify.com/architekture/tennis-odds-scraper/examples/m058-tennis-odds-4)\n\n```json\n{\n  \"books\": [\n    \"pinnacle\"\n  ],\n  \"includeBetfair\": false,\n  \"tours\": [\n    \"WTA\"\n  ],\n  \"markets\": [\n    \"match-winner\"\n  ],\n  \"hoursAhead\": 24,\n  \"maxMatchesPerBook\": 1,\n  \"maxItems\": 2,\n  \"incrementalMode\": false,\n  \"preview\": false\n}\n```\n\n## Recurring collection\n\nCopy the example [Every 2 hours: ATP/WTA odds and movement](https://apify.com/architekture/tennis-odds-scraper/examples/todds-line-moves-watch) into your account. Schedule it in UTC with:\n\n```cron\n0 */2 * * *\n```\n\nThe worked ten-result run above repeated daily costs about **$0.06 per 30 days** before optional events and discounts. These tiny recipes demonstrate the input; increase their row limits deliberately. Keep one watch identifier per consistent filter set where incremental mode is available.\n\nThe input form now uses `watchId`. Legacy API names `stateKey` remain accepted and retain the same saved state. If both are supplied, the new name takes precedence. These fields contain ordinary identifiers or search terms, not credentials.\n\n## Output and limits\n\nRead the [live input and output definitions](https://api.apify.com/v2/acts/architekture~tennis-odds-scraper/builds/default). Keep source identifiers, capture time and any status fields when joining snapshots. The data fields remain additive; this listing change does not promise new source data.\n\n## MCP config for Claude and Cursor\n\nClaude: add a custom connector with URL `https://mcp.apify.com?tools=architekture/tennis-odds-scraper` and complete its sign-in. For Cursor, add this entry to your MCP settings and set your own `APIFY_TOKEN`:\n\n```json\n{\n  \"mcpServers\": {\n    \"tennis-odds-scraper\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.apify.com?tools=architekture/tennis-odds-scraper\",\n      \"headers\": {\n        \"Authorization\": \"Bearer ${env:APIFY_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n## n8n and Make\n\n[Python example](https://github.com/architek-earth/examples/blob/main/tennis-odds-scraper/example.py) and [n8n workflow](https://github.com/architek-earth/examples/blob/main/tennis-odds-scraper/n8n-workflow.json). In n8n, select a Header Auth credential with header `Authorization` and your bearer token. The workflow is inactive until you choose to run or schedule it.\n\nIn Make, add an HTTP request: `POST https://api.apify.com/v2/acts/architekture~tennis-odds-scraper/run-sync-get-dataset-items?timeout=120&memory=2048&maxTotalChargeUsd=0.05`. Set `Content-Type: application/json`, configure your bearer-token credential, and paste one recipe as the JSON body. Parse the returned array and route status rows separately. Add a scheduler only after inspecting the first result. Do not automatically retry an ambiguous POST; first check whether a run was created.\n\n## FAQ\n\nThe linked public field issues are context for these checks, not claims that the same defects exist in this actor. Grocery examples also use adjacent supermarket issues; tennis uses the adjacent tennis-data field.\n\n### Why can a green run contain no usable rows?\n\nA completed run can still report an empty or blocked source. Read the status rows and run summary before treating it as a successful observation; a missing result is not a measured zero.\n\n### Why did I receive fewer rows than the limit?\n\nThe limit is a ceiling, not a guaranteed count. The source may have fewer public matches, filters may remove records, or the run may stop at a time or spending cap. Start with `maxMatchesPerBook`.\n\n### Can this export the whole source?\n\nThe five examples are deliberately bounded. A title or catalogue estimate does not prove full coverage. Use only the collection and continuation modes documented in the input, and retain any partial-run status.\n\n### Which direct identifiers or URLs are accepted?\n\nThis actor uses its documented search/filter inputs. It does not accept an arbitrary source URL as a substitute for those fields.\n\n### Why is an output field absent?\n\nThe source must publish a value for the actor to return it. Do not infer a missing price, salary, rating, ID or language. Check the output definition and preserve null or absent values in downstream storage.\n\n### How do I avoid counting a repeated snapshot twice?\n\nUse `incrementalMode: true` with the same `watchId` for the same filters. Keep the watch stable; changing the identifier establishes a different history.\n\n### What should I check after a source or proxy error?\n\nInspect the run message and the smallest configured example. Do not substitute login cookies or unrelated proxy credentials. A source wall is a coverage limit; preserve partial output and avoid treating failed checks as changes. [Observed field issue](https://apify.com/crawlstone/tennis-scraper/issues/6Q0ZyBbpokmCXJ2ZV).\n\n### How do I bound the bill?\n\nSet a run charge cap, for example `$0.05` for these tiny inputs, and keep row limits small. Ten primary results cost $0.002 at the listed rate. Optional events and repeated checks add cost.\n\n### Does the preview switch to paid collection?\n\nSet `preview: true`. One book, the first 10 matches in the next 24 hours, match-winner prices only, up to 20 rows. Preview rows are not charged. A preview never silently switches to paid collection.\n\n### What evidence helps diagnose a changed result?\n\nProvide the run ID, intended country/store/date or filter, and one expected public source URL. Include the status message and missing field name. Never post credentials. The feedback input records a note and does not change output. [Observed field issue](https://apify.com/crawlstone/tennis-scraper/issues/6Q0ZyBbpokmCXJ2ZV).\n\n## For AI agents\n\nCall `architekture/tennis-odds-scraper` with a bounded recipe and an explicit spending cap. Read the input schema first, request only supported fields, and inspect status rows before summarizing results. Preserve source IDs and capture times. Never interpret absent source data as a confirmed change. Use the same `watchId` for repeat observations only when this actor exposes incremental mode.\n\n**Run health, reviewed 2026-11-16:** last retained run `5ie4PPmz7mQn2uAAb`, SUCCEEDED, 10 dataset rows, observed 2026-11-15. No new run was started for this listing release.\n\n## More from architek.earth\n\n- [google trends scraper](https://apify.com/architekture/google-trends-scraper)\n- [google hotels scraper](https://apify.com/architekture/google-hotels-scraper)\n- [threads replies scraper](https://apify.com/architekture/threads-replies-scraper)\n\n## Support and legal\n\nUse this actor's [issue tab](https://apify.com/architekture/tennis-odds-scraper/issues) for product questions. Public-source access does not remove your responsibility for permitted use, copyright and privacy. This is an independent product, not an official source API. architek.earth.\n\n## Changelog\n\n- **2026-11-16**: Bounded example tasks, dated health comparison, explicit worked costs, MCP and automation examples, and compatible input-name changes where applicable. Launch price until **2026-12-31**, then **$1.50 per 1,000 odds rows**.\n\n### Earlier releases\n\n- **2026-11-16** : Support approved primary-event Store discount tiers; retain exact event checks and existing preview limits.\n\n- **2026-11-15** : Runs without a `stateKey` keep their billing journal in the run's own storage, so runs started through a scoped API token work.\n- **2026-11-15** : Free preview: the first 10 matches in the next 24 hours with match-winner prices from one book, up to 20 rows, never charged; ticked by default in the form, API runs without it stay paid.\n- **2026-11-15** : Clarified preview availability, small examples, recurring schedules and monthly usage costs.\n\n- **2026-10-25** : Betfair Exchange rows move to $3.00 per 1,000 to cover UK residential access; Pinnacle and Kambi stay $1.50. Existing $1.50 Betfair pricing applies during any Apify notice period.\n- **2026-10-25** : Kambi's occasional HTTP 410 refusal of one proxy address is now retried on a new address before the book is reported as blocked.\n- **2026-10-25** : Launch: $1.50 per 1,000 odds rows; it stays $1.50 after 2026-11-24 (the return price equals the launch price).\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "tennis-odds-scraper",
      "title": "Tennis Odds Scraper | $0.20/1K",
      "description": "Tennis Odds scraper for match identifiers, books, markets, outcomes, decimal prices and line changes. Pay per result. See the pricing table for launch dates, optional charges and preview limits.",
      "version": "0.1",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "input": {
        "title": "Tennis Odds Scraper — pre-match prices from Pinnacle, Kambi and Betfair",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "preview": {
            "title": "Free preview",
            "type": "boolean",
            "editor": "checkbox",
            "prefill": true,
            "default": false,
            "description": "Free sample on every run: the first 10 matches starting in the next 24 hours, match-winner prices from one book (up to 20 rows), never charged. No spending limit needed. Turn off for paid collection (API runs without this field are paid, as before)."
          },
          "books": {
            "title": "Books (datacenter)",
            "type": "array",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "pinnacle",
                "kambi"
              ],
              "enumTitles": [
                "Pinnacle (sharp line, max stake)",
                "Kambi / Unibet"
              ]
            },
            "description": "Sportsbooks read on datacenter proxies: pinnacle (moneylines, set and games handicaps and totals, set 1 lines) and kambi (Unibet Sweden: match odds, games handicap, total games). Leave empty to read only Betfair.",
            "default": [
              "pinnacle",
              "kambi"
            ],
            "prefill": [
              "pinnacle",
              "kambi"
            ]
          },
          "includeBetfair": {
            "title": "Add Betfair Exchange (UK residential)",
            "type": "boolean",
            "default": false,
            "description": "Also read Betfair Exchange best back and lay prices with available size (match odds, set betting, set 1 winner). Betfair refuses datacenter and non-UK traffic, so this book alone runs through a UK residential proxy and its rows are charged as odds-betfair. Anonymous exchange prices are a delayed feed."
          },
          "tours": {
            "title": "Tours",
            "type": "array",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "ATP",
                "WTA",
                "Challenger",
                "ITF",
                "Other"
              ]
            },
            "description": "Which tours to keep, from the book's tournament label (or the joined Flashscore tournament). Other = exhibitions, UTR and anything unlabelled.",
            "default": [
              "ATP",
              "WTA",
              "Challenger"
            ]
          },
          "markets": {
            "title": "Markets",
            "type": "array",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "match-winner",
                "set-1-winner",
                "set-handicap",
                "total-sets",
                "games-handicap",
                "games-total",
                "set-1-games-handicap",
                "set-1-games-total",
                "set-betting"
              ]
            },
            "description": "Markets to keep. Not every book prices every market: Pinnacle has all but set-betting, Kambi has match-winner, games-handicap and games-total, Betfair has match-winner, set-1-winner and set-betting.",
            "default": [
              "match-winner",
              "set-1-winner",
              "set-handicap",
              "total-sets",
              "games-handicap",
              "games-total",
              "set-1-games-handicap",
              "set-1-games-total",
              "set-betting"
            ]
          },
          "includeAlternateLines": {
            "title": "Pinnacle alternate lines",
            "type": "boolean",
            "default": false,
            "description": "Also deliver Pinnacle's alternate handicap and total lines (about 3x more rows). Off = main lines only."
          },
          "includeDoubles": {
            "title": "Include doubles",
            "type": "boolean",
            "default": true,
            "description": "Keep doubles matches (players are pairs, e.g. \"Arends S./Johnson L.\")."
          },
          "matchIds": {
            "title": "Flashscore match IDs",
            "type": "array",
            "editor": "stringList",
            "description": "Optional: only these matches, by Flashscore match ID (the matchId of tennis-data-scraper, e.g. 6B33aysH). A match no selected book prices gets a free NO_ODDS status row.",
            "default": []
          },
          "playerNames": {
            "title": "Player names",
            "type": "array",
            "editor": "stringList",
            "description": "Optional: only matches with one of these players, matched by surname (e.g. \"Jannik Sinner\" or \"Sinner\").",
            "default": []
          },
          "hoursAhead": {
            "title": "Hours ahead",
            "type": "integer",
            "minimum": 1,
            "maximum": 168,
            "default": 48,
            "description": "Keep matches starting within this many hours (1 to 168)."
          },
          "includeLive": {
            "title": "Include in-play prices",
            "type": "boolean",
            "default": false,
            "description": "Also keep prices of matches already in play (isLive true). Off = pre-match only."
          },
          "maxMatchesPerBook": {
            "title": "Max matches per book",
            "type": "integer",
            "minimum": 1,
            "maximum": 500,
            "default": 100,
            "prefill": 10,
            "description": "At most this many matches per book, earliest start first (1 to 500)."
          },
          "maxItems": {
            "title": "Max rows per run",
            "type": "integer",
            "minimum": 1,
            "maximum": 50000,
            "default": 5000,
            "description": "Stop after delivering this many price rows (1 to 50,000)."
          },
          "incrementalMode": {
            "title": "Only price changes (watch mode)",
            "type": "boolean",
            "default": false,
            "description": "Deliver and charge only prices that moved since the last delivered price for the same watchId, plus outcomes not seen before. Unchanged prices are free and not written. Needs a watchId."
          },
          "feedback": {
            "title": "Feedback for the maintainers",
            "type": "string",
            "editor": "textarea",
            "description": "Optional note for the maintainers. It is logged and read by a human, and it never changes output."
          },
          "watchId": {
            "title": "Watch identifier",
            "type": "string",
            "editor": "textfield",
            "description": "Any name you choose, reused on every run of the same inputs. Required for incrementalMode; also lets a stopped run resume without re-charging.",
            "isSecret": false
          }
        },
        "required": []
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Tennis odds output",
        "properties": {
          "dataset": {
            "type": "string",
            "title": "Dataset",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          },
          "summary": {
            "type": "string",
            "title": "Run summary",
            "template": "{{links.apiDefaultKeyValueStoreUrl}}/records/RUN_SUMMARY"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "fields": {
            "type": "object",
            "properties": {
              "recordType": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "book": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "bookEventId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "bookMarketId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "matchId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "joinConfidence": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tour": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tournament": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "isDoubles": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "homePlayer": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "awayPlayer": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "startTime": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "isLive": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "market": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "line": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "outcome": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "outcomeName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "priceDecimal": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "priceAmerican": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "layDecimal": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "backSize": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "laySize": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "limitUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "isDelayed": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "openingPriceDecimal": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "previousPriceDecimal": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "changeType": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sourceUpdatedAt": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "observedAt": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "inputRef": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "views": {
            "overview": {
              "title": "Odds",
              "transformation": {
                "fields": [
                  "book",
                  "matchId",
                  "tour",
                  "homePlayer",
                  "awayPlayer",
                  "startTime",
                  "market",
                  "line",
                  "outcome",
                  "priceDecimal",
                  "layDecimal",
                  "previousPriceDecimal",
                  "changeType",
                  "status",
                  "message"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "book": {
                    "label": "Book"
                  },
                  "matchId": {
                    "label": "Match ID"
                  },
                  "tour": {
                    "label": "Tour"
                  },
                  "homePlayer": {
                    "label": "Home"
                  },
                  "awayPlayer": {
                    "label": "Away"
                  },
                  "startTime": {
                    "label": "Start",
                    "format": "date"
                  },
                  "market": {
                    "label": "Market"
                  },
                  "line": {
                    "label": "Line",
                    "format": "number"
                  },
                  "outcome": {
                    "label": "Outcome"
                  },
                  "priceDecimal": {
                    "label": "Price",
                    "format": "number"
                  },
                  "layDecimal": {
                    "label": "Lay",
                    "format": "number"
                  },
                  "previousPriceDecimal": {
                    "label": "Previous",
                    "format": "number"
                  },
                  "changeType": {
                    "label": "Change"
                  },
                  "status": {
                    "label": "Status"
                  },
                  "message": {
                    "label": "Message"
                  }
                }
              }
            }
          }
        }
      },
      "readme": "# Tennis Odds Scraper | $0.20/1K\n\n## What's new, 2026-11-16\n\nBounded examples, explicit costs and integration recipes. Launch price until **2026-12-31**, then **$1.50 per 1,000 odds rows**.\n\n**Recorded run:** `5ie4PPmz7mQn2uAAb` on 2026-11-15 returned 10 dataset rows; 10 primary events were charged. Status: `SUCCEEDED`. Dataset rows can include free status records.\n\nArchitekture, an independent data studio. architek.earth.\n\nTennis Odds returns match identifiers, books, markets, outcomes, decimal prices and line changes. Use the daily example to collect repeatable snapshots; use incremental mode only where the input exposes it.\n\n## Tested this week\n\n| Check | Our recorded sample | Field context, 2026-11-16 |\n|---|---|---|\n| Evidence window | 2026-11-15; within the last seven days | Rolling 30-day public counters across 5 title-bucket members |\n| Outcome | SUCCEEDED; 10 dataset rows; 10 charged primary events | 0.00% non-success over 138 runs |\n| Cost | $0.001009 platform cost in the retained run | Not a competitor execution or a matched-input benchmark |\n\nField source: [public Store API](https://api.apify.com/v2/store?search=tennis%20odds). Non-success includes failures, aborts and timeouts. The field total is not a unique-user count. These different workloads do not establish that our actor is more reliable.\n\n## What, data and cost\n\nOne primary `odds` event costs **$0.0002**; 1,000 cost **$0.20**. Ten primary events cost **$0.002**. Optional events below are additional; status rows are free.\n\n**$5 free credit ≈ 25,000 odds rows** at the primary launch rate. This estimate excludes optional event charges and additional collection starts. Credit pays for billed work; it is separate from the free preview.\n\nSet `preview: true`. One book, the first 10 matches in the next 24 hours, match-winner prices only, up to 20 rows. Preview rows are not charged. A preview never silently switches to paid collection.\n\n### Event prices\n\n| Event | USD per event | When charged |\n|---|---:|---|\n| `odds` | 0.0002 | Delivered primary result |\n| `odds-betfair` | 0.003 | Only when this documented event is delivered |\n\nFree and Bronze use the full primary rate; Silver receives 10% off, and Gold, Platinum and Diamond receive 20% off. Secondary event prices do not change. Your run's effective price is shown before collection.\n\nLaunch price until **2026-12-31**, then **$1.50 per 1,000 odds rows**.\n\n## Worth knowing up front\n\n- Pre-match prices from Pinnacle (guest odds API), Kambi (the Unibet Sweden board) and Betfair Exchange only. Bovada, DraftKings, FanDuel and bet365 are not in this version; Kambi rows are Unibet Sweden's prices, other Kambi operators may differ.\n- `matchId` is null when the Flashscore day feed does not list the match or two candidates fit; ITF and next-day matches join least often. Kambi lists only main lines; Pinnacle alternate lines need `includeAlternateLines`.\n- Watch mode compares your runs, not ticks: a price that moved and moved back between two runs is not delivered, and a moved handicap or total line is a new outcome (`changeType: \"new\"`). A book that is blocked or unreachable is skipped with a free status row and the run ends `PARTIAL`; the other books are still delivered.\n- Invalid input, a book with no prices in your filters (`NO_ODDS`), a block (`BLOCKED`, `GEO_BLOCKED`), a source error, a requested match ID no book prices, the run timeout and your spending limit each end with a free status row (`\"recordType\": \"status\"`) that says what happened.\n\n## Input recipes\n\n### 1. Preview: Today's tennis match odds\n\n[Open the configured example task](https://apify.com/architekture/tennis-odds-scraper/examples/todds-atp-wta-two-books)\n\n```json\n{\n  \"books\": [\n    \"pinnacle\"\n  ],\n  \"includeBetfair\": false,\n  \"tours\": [\n    \"ATP\",\n    \"WTA\"\n  ],\n  \"markets\": [\n    \"match-winner\"\n  ],\n  \"hoursAhead\": 24,\n  \"maxMatchesPerBook\": 1,\n  \"maxItems\": 2,\n  \"incrementalMode\": false,\n  \"preview\": true\n}\n```\n\n### 2. Every 2 hours: ATP/WTA odds and movement\n\n[Open the configured example task](https://apify.com/architekture/tennis-odds-scraper/examples/todds-line-moves-watch)\n\n```json\n{\n  \"books\": [\n    \"pinnacle\"\n  ],\n  \"includeBetfair\": false,\n  \"tours\": [\n    \"ATP\",\n    \"WTA\"\n  ],\n  \"markets\": [\n    \"match-winner\"\n  ],\n  \"hoursAhead\": 24,\n  \"maxMatchesPerBook\": 1,\n  \"maxItems\": 2,\n  \"incrementalMode\": true,\n  \"preview\": false,\n  \"watchId\": \"two-hour-tennis\"\n}\n```\n\n### 3. One-off: ATP match-winner prices\n\n[Open the configured example task](https://apify.com/architekture/tennis-odds-scraper/examples/m058-tennis-odds-3)\n\n```json\n{\n  \"books\": [\n    \"pinnacle\"\n  ],\n  \"includeBetfair\": false,\n  \"tours\": [\n    \"ATP\"\n  ],\n  \"markets\": [\n    \"match-winner\"\n  ],\n  \"hoursAhead\": 24,\n  \"maxMatchesPerBook\": 1,\n  \"maxItems\": 2,\n  \"incrementalMode\": false,\n  \"preview\": false\n}\n```\n\n### 4. One-off: WTA match-winner prices\n\n[Open the configured example task](https://apify.com/architekture/tennis-odds-scraper/examples/m058-tennis-odds-4)\n\n```json\n{\n  \"books\": [\n    \"pinnacle\"\n  ],\n  \"includeBetfair\": false,\n  \"tours\": [\n    \"WTA\"\n  ],\n  \"markets\": [\n    \"match-winner\"\n  ],\n  \"hoursAhead\": 24,\n  \"maxMatchesPerBook\": 1,\n  \"maxItems\": 2,\n  \"incrementalMode\": false,\n  \"preview\": false\n}\n```\n\n## Recurring collection\n\nCopy the example [Every 2 hours: ATP/WTA odds and movement](https://apify.com/architekture/tennis-odds-scraper/examples/todds-line-moves-watch) into your account. Schedule it in UTC with:\n\n```cron\n0 */2 * * *\n```\n\nThe worked ten-result run above repeated daily costs about **$0.06 per 30 days** before optional events and discounts. These tiny recipes demonstrate the input; increase their row limits deliberately. Keep one watch identifier per consistent filter set where incremental mode is available.\n\nThe input form now uses `watchId`. Legacy API names `stateKey` remain accepted and retain the same saved state. If both are supplied, the new name takes precedence. These fields contain ordinary identifiers or search terms, not credentials.\n\n## Output and limits\n\nRead the [live input and output definitions](https://api.apify.com/v2/acts/architekture~tennis-odds-scraper/builds/default). Keep source identifiers, capture time and any status fields when joining snapshots. The data fields remain additive; this listing change does not promise new source data.\n\n## MCP config for Claude and Cursor\n\nClaude: add a custom connector with URL `https://mcp.apify.com?tools=architekture/tennis-odds-scraper` and complete its sign-in. For Cursor, add this entry to your MCP settings and set your own `APIFY_TOKEN`:\n\n```json\n{\n  \"mcpServers\": {\n    \"tennis-odds-scraper\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.apify.com?tools=architekture/tennis-odds-scraper\",\n      \"headers\": {\n        \"Authorization\": \"Bearer ${env:APIFY_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n## n8n and Make\n\n[Python example](https://github.com/architek-earth/examples/blob/main/tennis-odds-scraper/example.py) and [n8n workflow](https://github.com/architek-earth/examples/blob/main/tennis-odds-scraper/n8n-workflow.json). In n8n, select a Header Auth credential with header `Authorization` and your bearer token. The workflow is inactive until you choose to run or schedule it.\n\nIn Make, add an HTTP request: `POST https://api.apify.com/v2/acts/architekture~tennis-odds-scraper/run-sync-get-dataset-items?timeout=120&memory=2048&maxTotalChargeUsd=0.05`. Set `Content-Type: application/json`, configure your bearer-token credential, and paste one recipe as the JSON body. Parse the returned array and route status rows separately. Add a scheduler only after inspecting the first result. Do not automatically retry an ambiguous POST; first check whether a run was created.\n\n## FAQ\n\nThe linked public field issues are context for these checks, not claims that the same defects exist in this actor. Grocery examples also use adjacent supermarket issues; tennis uses the adjacent tennis-data field.\n\n### Why can a green run contain no usable rows?\n\nA completed run can still report an empty or blocked source. Read the status rows and run summary before treating it as a successful observation; a missing result is not a measured zero.\n\n### Why did I receive fewer rows than the limit?\n\nThe limit is a ceiling, not a guaranteed count. The source may have fewer public matches, filters may remove records, or the run may stop at a time or spending cap. Start with `maxMatchesPerBook`.\n\n### Can this export the whole source?\n\nThe five examples are deliberately bounded. A title or catalogue estimate does not prove full coverage. Use only the collection and continuation modes documented in the input, and retain any partial-run status.\n\n### Which direct identifiers or URLs are accepted?\n\nThis actor uses its documented search/filter inputs. It does not accept an arbitrary source URL as a substitute for those fields.\n\n### Why is an output field absent?\n\nThe source must publish a value for the actor to return it. Do not infer a missing price, salary, rating, ID or language. Check the output definition and preserve null or absent values in downstream storage.\n\n### How do I avoid counting a repeated snapshot twice?\n\nUse `incrementalMode: true` with the same `watchId` for the same filters. Keep the watch stable; changing the identifier establishes a different history.\n\n### What should I check after a source or proxy error?\n\nInspect the run message and the smallest configured example. Do not substitute login cookies or unrelated proxy credentials. A source wall is a coverage limit; preserve partial output and avoid treating failed checks as changes. [Observed field issue](https://apify.com/crawlstone/tennis-scraper/issues/6Q0ZyBbpokmCXJ2ZV).\n\n### How do I bound the bill?\n\nSet a run charge cap, for example `$0.05` for these tiny inputs, and keep row limits small. Ten primary results cost $0.002 at the listed rate. Optional events and repeated checks add cost.\n\n### Does the preview switch to paid collection?\n\nSet `preview: true`. One book, the first 10 matches in the next 24 hours, match-winner prices only, up to 20 rows. Preview rows are not charged. A preview never silently switches to paid collection.\n\n### What evidence helps diagnose a changed result?\n\nProvide the run ID, intended country/store/date or filter, and one expected public source URL. Include the status message and missing field name. Never post credentials. The feedback input records a note and does not change output. [Observed field issue](https://apify.com/crawlstone/tennis-scraper/issues/6Q0ZyBbpokmCXJ2ZV).\n\n## For AI agents\n\nCall `architekture/tennis-odds-scraper` with a bounded recipe and an explicit spending cap. Read the input schema first, request only supported fields, and inspect status rows before summarizing results. Preserve source IDs and capture times. Never interpret absent source data as a confirmed change. Use the same `watchId` for repeat observations only when this actor exposes incremental mode.\n\n**Run health, reviewed 2026-11-16:** last retained run `5ie4PPmz7mQn2uAAb`, SUCCEEDED, 10 dataset rows, observed 2026-11-15. No new run was started for this listing release.\n\n## More from architek.earth\n\n- [google trends scraper](https://apify.com/architekture/google-trends-scraper)\n- [google hotels scraper](https://apify.com/architekture/google-hotels-scraper)\n- [threads replies scraper](https://apify.com/architekture/threads-replies-scraper)\n\n## Support and legal\n\nUse this actor's [issue tab](https://apify.com/architekture/tennis-odds-scraper/issues) for product questions. Public-source access does not remove your responsibility for permitted use, copyright and privacy. This is an independent product, not an official source API. architek.earth.\n\n## Changelog\n\n- **2026-11-16**: Bounded example tasks, dated health comparison, explicit worked costs, MCP and automation examples, and compatible input-name changes where applicable. Launch price until **2026-12-31**, then **$1.50 per 1,000 odds rows**.\n\n### Earlier releases\n\n- **2026-11-16** : Support approved primary-event Store discount tiers; retain exact event checks and existing preview limits.\n\n- **2026-11-15** : Runs without a `stateKey` keep their billing journal in the run's own storage, so runs started through a scoped API token work.\n- **2026-11-15** : Free preview: the first 10 matches in the next 24 hours with match-winner prices from one book, up to 20 rows, never charged; ticked by default in the form, API runs without it stay paid.\n- **2026-11-15** : Clarified preview availability, small examples, recurring schedules and monthly usage costs.\n\n- **2026-10-25** : Betfair Exchange rows move to $3.00 per 1,000 to cover UK residential access; Pinnacle and Kambi stay $1.50. Existing $1.50 Betfair pricing applies during any Apify notice period.\n- **2026-10-25** : Kambi's occasional HTTP 410 refusal of one proxy address is now retried on a new address before the book is reported as blocked.\n- **2026-10-25** : Launch: $1.50 per 1,000 odds rows; it stays $1.50 after 2026-11-24 (the return price equals the launch price).\n"
    },
    "buildNumber": "0.1.15",
    "imageDigest": "b5555952829fc495553775b63205b930d40872803368087b88a40bfe6eb4b5f5",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "m058-candidate",
      "versionNumber": "0.1"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.0020244444444444446
    }
  }
}