{"openapi":"3.1.0","info":{"title":"PuntersEdge Odds API — core data endpoints","description":"The 56 data endpoints of the PuntersEdge Odds API (of 112 in the full schema): Australian and New Zealand racing odds from Australian bookmakers, British, Irish and South African racing panels, and Australian sports odds. Derived from https://api.puntersedge.online/openapi.json each time it is served, with descriptions cut to their opening paragraph. Account, login, key, billing, widget, referral and webhook routes are left out — they are in the full schema.\n\nAuth: an `X-API-Key` header; a free key (no card) is at https://puntersedge.online/api. An assistant can start that signup for the person it is helping with `POST https://api.puntersedge.online/v1/signup` and `{\"email\": \"...\"}` (no key needed); the key is activated and shown when they click the emailed link, never in the response. The `/v1/demo/*` endpoints need no key and return a live sample payload, which this file omits to stay small. `x-credits-cost` on each operation is what one successful call costs; an empty `[]` result costs 0, and a malformed request is refused free with a 422. 402 means the month's credits are spent (retrying cannot clear it); 429 means too fast (honour `Retry-After`).\n\nRacing and sports are separate endpoint families: racing is `/v1/racing/*`, sports are `/v1/sports/{sport_key}/odds`; there is no horse-racing sport_key. For the best price on a race use `/v1/racing/best-odds`. Plain-English guide to every endpoint: https://puntersedge.online/llms-full.txt","termsOfService":"https://puntersedge.online/terms","contact":{"name":"PuntersEdge","url":"https://puntersedge.online/api","email":"hamish@punters-edge.com"},"license":{"name":"Proprietary — see Terms of Service","url":"https://puntersedge.online/terms"},"version":"1.0.0"},"externalDocs":{"description":"Full schema, every endpoint","url":"https://api.puntersedge.online/openapi.json"},"servers":[{"url":"https://api.puntersedge.online","description":"Production"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/sports":{"get":{"tags":["Sports"],"summary":"List available sports","operationId":"list_sports_v1_sports_get","description":"Returns the active sports catalogue as an array of objects containing key, title, group and active fields.\n\nRacing is not in this catalogue. Horse, harness and greyhound racing have their own endpoints: GET /v1/racing/next-to-go and GET /v1/racing/events.","x-credits-cost":"1 credit","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SportOut"}}}}}}}},"/v1/sports/{sport_key}/odds":{"get":{"tags":["Sports"],"summary":"Get odds by sport","operationId":"get_sport_odds_v1_sports__sport_key__odds_get","description":"Parameters: sport_key selects the sport (for example afl or nrl); markets is a comma-separated list such as h2h,spreads,totals; bookmakers optionally filters bookmaker keys; oddsFormat accepts decimal or american.","x-credits-cost":"1 credit per requested market","parameters":[{"name":"sport_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"markets","in":"query","required":false,"schema":{"type":"string","default":"h2h"},"description":"Comma-separated: h2h,spreads,totals"},{"name":"bookmakers","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated bookmaker keys, or omit for all."},{"name":"competition","in":"query","required":false,"schema":{"type":"string"},"description":"Filter to one competition, case-insensitive exact match (e.g."},{"name":"include_unknown_competition","in":"query","required":false,"schema":{"type":"boolean","default":true},"description":"When filtering by `competition`, ALSO return events whose competition is null — not every bookmaker supplies one, and on some sports most of the card is unlabelled (ncaaf 40 of 47 upcoming events, tennis_atp 21 of 72)."},{"name":"oddsFormat","in":"query","required":false,"schema":{"type":"string","default":"decimal"},"description":"decimal or american"},{"name":"maxAgeMinutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":5,"default":360},"description":"Exclude bookmaker markets older than this many minutes; default 360 allows 3-hour supplemental feeds while hiding multi-day stale prices."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SportOddsEventOut"}}}}}}}},"/v1/sports/{sport_key}/results":{"get":{"tags":["Sports"],"summary":"Final scores by sport","operationId":"get_sport_results_v1_sports__sport_key__results_get","description":"Final scores from the league's own record, for the codes we collect.\n\nCost: 1 credit.\n\n**Covered: AFL, AFLW, NRL, NRLW** — collected from the AFL's and NRL's own public APIs. Another sport is a free 422 naming these, not an empty 200: an empty list cannot be told apart from a round with no games.","parameters":[{"name":"sport_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"season","in":"query","required":false,"schema":{"type":"integer"},"description":"Calendar year of the season."},{"name":"competition","in":"query","required":false,"schema":{"type":"string"},"description":"Filter on the league's competition name, case-insensitive substring (e.g."},{"name":"final_only","in":"query","required":false,"schema":{"type":"boolean","default":true},"description":"Only matches the league has called final."},{"name":"linked_only","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Only results tied to a fixture in the odds feed."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SportResultOut"}}}}}}}},"/v1/racing/next-to-go":{"get":{"tags":["Racing"],"summary":"Next races to run","operationId":"next_to_go_v1_racing_next_to_go_get","description":"Returns the next races to run with runners and prices — EVERY country by default, not only AU and NZ.","x-credits-cost":"2 credits for up to 20 races, 3 for 21–60, 4 for 61–200 — the default request of 10 races costs 2, and keys issued before 22 September 2026 pay 2 at any size","parameters":[{"name":"num_races","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":10},"description":"Up to 200."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1},"description":"Alias for `num_races`, accepted because it is the near-universal REST spelling and because /v1/racing/results already takes it — learning `limit` on one racing endpoint and being refused on the next is the inconsistency…"},{"name":"categories","in":"query","required":false,"schema":{"type":"string"},"description":"horse,greyhound,harness or omit for all"},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"Alias of `categories`."},{"name":"bookmakers","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated bookmaker keys, case-insensitive."},{"name":"include_unresolved","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Include races whose country is not resolved yet (country is null)."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"ISO country codes, comma-separated (e.g."},{"name":"venue","in":"query","required":false,"schema":{"type":"string"},"description":"Venue names, comma-separated and case-insensitive (e.g."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NextRaceOut"}}}}}}}},"/v1/racing/events":{"get":{"tags":["Racing"],"summary":"Upcoming race list","operationId":"race_events_v1_racing_events_get","description":"The CARD - every race scheduled in the requested window, optionally filtered by racing category and country. EVERY country is served by default, not only AU and NZ — pass `country=AU` (pairing it with `include_unresolved=true`, per that parameter) if you want an Australian card.","x-credits-cost":"1 credit","parameters":[{"name":"hours_ahead","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"default":4},"description":"How many hours ahead to list, from now."},{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Single-day alias: date=YYYY-MM-DD lists that Australian Eastern meeting day instead of a rolling hours_ahead window."},{"name":"categories","in":"query","required":false,"schema":{"type":"string"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"Alias of `categories`."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"ISO country codes, comma-separated (e.g."},{"name":"include_unresolved","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Include races whose country is not resolved yet (country is null)."},{"name":"include_jumped","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Keep races that have passed their advertised start on the card until their result lands on /v1/racing/results, marked `awaiting_result: true` (up to 60 minutes after the start; AU, NZ, GB, IE, US, CA and ZA, the countri…"},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RaceEventOut"}}}}}}}},"/v1/racing/venues":{"get":{"tags":["Racing"],"summary":"Canonical venue directory","operationId":"racing_venues_v1_racing_venues_get","description":"Every venue this API has actually served recently, with its canonical identity — built for joining our data against official sources (Racing Australia, form guides) that spell venues differently from bookmakers.","x-credits-cost":"1 credit","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VenueOut"}}}}}}}},"/v1/racing/results":{"get":{"tags":["Racing"],"summary":"Settled race results","operationId":"race_results_v1_racing_results_get","description":"Settled AU/NZ race results — finishing order with the bookmaker's own settled fixed prices, plus scratchings and their deductions — and, from 2026-10-06, British and Irish thoroughbred results from Betway's settlement feed: every runner with its starting price (`sp` on placings and runners) and its…","x-credits-cost":"2 credits","parameters":[{"name":"hours_back","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"default":24},"description":"How far back to look, in hours (max 7 days)"},{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Single-day alias: date=YYYY-MM-DD returns the races that start on that calendar date in Sydney time (AET), instead of a rolling hours_back window (YYYYMMDD is read the same way)."},{"name":"categories","in":"query","required":false,"schema":{"type":"string"},"description":"horse,greyhound,harness or omit for all"},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"Alias of `categories`."},{"name":"venue","in":"query","required":false,"schema":{"type":"string"},"description":"Case-insensitive exact venue match, comma-separated for several, e.g."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"ISO country codes, comma-separated, case-insensitive (e.g."},{"name":"status","in":"query","required":false,"schema":{"type":"string"},"description":"Filter to 'final', 'interim' or 'abandoned'"},{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":2000},"description":"One race_id or several, comma-separated (at most 50): the results of exactly these races, whatever their date — `hours_back` and `date` are not applied."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":50},"description":"Rows per page, newest first, at most 200."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RaceResultOut"}}}}}}}},"/v1/racing/results/coverage":{"get":{"tags":["Racing"],"summary":"What the results field coverage actually is","operationId":"results_coverage_v1_racing_results_coverage_get","description":"The results store's own measurement of its FULL-FIELD coverage, per Sydney day, category and venue — the aggregate answer to the question `field_status` answers per race on /v1/racing/results.","x-credits-cost":"1 credit","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"default":7},"description":"Sydney days to count, ending with today (a part day)."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultsCoverageOut"}}}}}}},"/v1/racing/price-history":{"get":{"tags":["Racing"],"summary":"Racing price history / closing line","operationId":"price_history_v1_racing_price_history_get","description":"Every price move for a race, per runner per bookmaker, with the opening and closing line.\n\nIdentify the race either by `race_id`, or by `venue` + `race_number` + `date` — use the latter for past races, because race ids are only resolvable from the live feed, which holds the next ~6 hours.","x-credits-cost":"5 credits","parameters":[{"name":"race_id","in":"query","required":false,"schema":{"type":"string"},"description":"Race id."},{"name":"venue","in":"query","required":false,"schema":{"type":"string"},"description":"Venue name, case-insensitive (with race_number + date)"},{"name":"race_number","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1}},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"horse, greyhound or harness (with venue + race_number + date)."},{"name":"categories","in":"query","required":false,"schema":{"type":"string"},"description":"Alias of `category`."},{"name":"date","in":"query","required":false,"schema":{"type":"string"},"description":"Race date, YYYY-MM-DD (YYYYMMDD accepted): the UTC day of the race's start, or, when that finds nothing, the Australian Eastern meeting date, so the date /v1/racing/results and /v1/racing/closing-lines give a race resol…"},{"name":"bookmakers","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated bookmaker keys, case-insensitive."},{"name":"include_points","in":"query","required":false,"schema":{"type":"boolean","default":true},"description":"False returns open/close/high/low only"},{"name":"max_points","in":"query","required":false,"schema":{"type":"integer","maximum":20000,"minimum":100,"default":5000},"description":"Cap on returned points; response flags truncation"},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceHistoryOut"}}}}}}},"/v1/racing/movers":{"get":{"tags":["Racing"],"summary":"Racing steamers and drifters","operationId":"racing_movers_v1_racing_movers_get","description":"Runners whose price has moved materially since the market opened, across upcoming races.\n\n`move_pct` is **negative for a firming runner** (the price shortened — money has arrived) and positive for a drifter.","x-credits-cost":"3 credits","parameters":[{"name":"direction","in":"query","required":false,"schema":{"type":"string"},"description":"firming, drifting, or omit for both"},{"name":"min_move_pct","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":1.0,"default":10.0},"description":"Minimum consensus move, percent"},{"name":"min_books","in":"query","required":false,"schema":{"type":"integer","maximum":12,"minimum":1,"default":3},"description":"Only report a move confirmed by at least this many books"},{"name":"categories","in":"query","required":false,"schema":{"type":"string"},"description":"horse,greyhound,harness or omit for all"},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"Alias of `categories`."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"ISO country codes, comma-separated (e.g."},{"name":"include_unresolved","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Include races whose country is not resolved yet (country is null)."},{"name":"max_mins_to_jump","in":"query","required":false,"schema":{"type":"integer","maximum":360,"minimum":5,"default":360}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MoverOut"}}}}}}}},"/v1/racing/best-odds":{"get":{"tags":["Racing"],"summary":"Best racing price per runner across books","operationId":"racing_best_odds_v1_racing_best_odds_get","description":"The best win, place and tote price for every runner in the next races, with the bookmaker offering it and a deep link to their race page.","x-credits-cost":"3 credits","parameters":[{"name":"hours_ahead","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"default":6},"description":"How many hours ahead to scan for priced races, from now."},{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Single-day alias: date=YYYY-MM-DD scans that Australian Eastern meeting day instead of a rolling hours_ahead window."},{"name":"num_races","in":"query","required":false,"schema":{"type":"integer","maximum":150,"minimum":1,"default":10},"description":"Up to 150."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":150,"minimum":1},"description":"Alias for `num_races`, accepted because it is the near-universal REST spelling and because /v1/racing/results already takes it — learning `limit` on one racing endpoint and being refused on the next is the inconsistency…"},{"name":"categories","in":"query","required":false,"schema":{"type":"string"},"description":"horse,greyhound,harness or omit for all"},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"Alias of `categories`."},{"name":"venue","in":"query","required":false,"schema":{"type":"string"},"description":"Venue names, comma-separated and case-insensitive (e.g."},{"name":"bookmakers","in":"query","required":false,"schema":{"type":"string"},"description":"Restrict the comparison to these bookmaker keys, case-insensitive."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"ISO country codes, comma-separated (e.g."},{"name":"include_unresolved","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Include races whose country is not resolved yet (country is null)."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RacingBestOddsOut"}}}}}}}},"/v1/best-odds/{sport_key}":{"get":{"tags":["Best Odds"],"summary":"Best price per selection","operationId":"best_odds_v1_best_odds__sport_key__get","description":"Returns the best available price per selection for upcoming events, including arb_exists and arb_profit_pct when the best prices create an arbitrage margin.\n\nAn unknown `sport_key` returns 404 and costs nothing.","x-credits-cost":"3 credits","parameters":[{"name":"sport_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BestOddsEventOut"}}}}}}}},"/v1/usage":{"get":{"tags":["Account"],"summary":"Check API usage","operationId":"usage_v1_usage_get","description":"Free — 0 credits deducted. Everything you need to decide about your plan BEFORE the API refuses you: spend by endpoint, burn rate, the date you are projected to run out, and the tier that would clear it (with a headless checkout you can POST).","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(json|csv)$","default":"json"},"description":"`csv` returns the per-endpoint breakdown as a spreadsheet instead of the JSON document."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageOut"}}}}}}},"/v1/uptime":{"get":{"tags":["Account"],"summary":"Public uptime stats","operationId":"uptime_stats_v1_uptime_get","description":"Public uptime stats — no auth required, 0 credits.","responses":{"200":{"description":"Uptime stats.","content":{"application/json":{"schema":{"properties":{"uptime_30d_pct":{"description":"Percentage of successful probes in the window, or NULL when the window contains…","type":["number","null"]},"checks":{"type":"integer","description":"Samples in the window."},"status":{"type":"string","description":"Present only in the no-measurement case: 'no data yet'."},"last_check":{"type":["string","null"],"format":"date-time"},"last_status":{"type":"string","enum":["ok","fail"]},"monitor_stale":{"type":"boolean","description":"True when the newest sample is over 15 minutes old."},"last_check_age_min":{"type":["number","null"]},"window_first_check":{"type":"string","format":"date-time"},"window_span_days":{"type":"number","description":"Span actually observed, which equals 30 only if the probe never missed a sample."},"probe_target":{"type":"string"},"measures":{"type":"string"},"note":{"type":"string"}},"type":"object","required":["uptime_30d_pct","checks","probe_target","measures","note"]}}}}}}},"/v1/arb/sports":{"get":{"tags":["Arb & Value"],"summary":"Sports arb scanner","operationId":"sports_arb_v1_arb_sports_get","description":"Scans upcoming sports markets for true arbitrage and best-odds overlay opportunities, returning arb_pct, optimal stakes and per-selection price comparisons Every all_prices entry carries updated_at / age_seconds (when we last read that bookmaker), price_changed_at / unchanged_seconds (when its pric…","x-credits-cost":"3 credits","parameters":[{"name":"sport_key","in":"query","required":false,"schema":{"type":"string"},"description":"Filter by sport e.g."},{"name":"maxAgeMinutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":5,"default":360},"description":"Exclude bookmaker markets older than this many minutes."},{"name":"min_profit_pct","in":"query","required":false,"schema":{"type":"number","default":0.0},"description":"Min guaranteed profit % (0 = show all value)"},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SportsArbOut"}}}}}}}},"/v1/arb/best-prices":{"get":{"tags":["Arb & Value"],"summary":"Best prices comparison","operationId":"best_prices_v1_arb_best_prices_get","description":"Returns the best available price per selection plus full bookmaker comparison, worst price, average price, spread and overlay percentage.","x-credits-cost":"2 credits","parameters":[{"name":"maxAgeMinutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":5,"default":360},"description":"Exclude bookmaker markets older than this many minutes."},{"name":"sport_key","in":"query","required":false,"schema":{"type":"string","default":"nrl"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BestPricesOut"}}}}}}}},"/v1/arb/lines":{"get":{"tags":["Arb & Value"],"summary":"Spreads/totals line arb","operationId":"lines_arb_v1_arb_lines_get","description":"Line-matched arbitrage on spreads and totals: backs the two opposing sides at complementary lines across books. Returns the best complementary pair per event/market with a guaranteed-profit (is_arb) flag; is_middle marks overlapping lines where both sides can win.","x-credits-cost":"3 credits","parameters":[{"name":"sport_key","in":"query","required":false,"schema":{"type":"string"},"description":"Filter by sport e.g."},{"name":"maxAgeMinutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":5,"default":360},"description":"Exclude bookmaker markets older than this many minutes."},{"name":"min_profit_pct","in":"query","required":false,"schema":{"type":"number","default":0.0},"description":"Min guaranteed profit % (0 = also show the best line comparison when not an arb)"},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinesArbOut"}}}}}}}},"/v1/sports/{sport_key}/odds/history":{"get":{"tags":["Sports"],"summary":"Historical odds snapshots","operationId":"get_odds_history_v1_sports__sport_key__odds_history_get","description":"Paid tiers only — 403 on Free and Hobby.","x-credits-cost":"5 credits","parameters":[{"name":"sport_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time; defaults to 7 days ago"},{"name":"to","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time; defaults to now"},{"name":"bookmakers","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Comma-separated bookmaker keys, case-insensitive."},{"name":"market","in":"query","required":false,"schema":{"type":"string","default":"h2h"},"description":"Market type: h2h (default), spreads or totals."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/sports/{sport_key}/odds/movements":{"get":{"tags":["Sports"],"summary":"Price movement feed","operationId":"get_odds_movements_v1_sports__sport_key__odds_movements_get","description":"Returns detected home/draw/away price movements from historical snapshots.\n\nPaid tiers only — 403 on Free and Hobby. Same gate as the history endpoint above; the 403 body names the plans that include it.\n\nAn unknown `sport_key` returns 404 and costs nothing.","x-credits-cost":"5 credits","parameters":[{"name":"sport_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"since","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time; defaults to 24 hours ago"},{"name":"bookmakers","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Comma-separated bookmaker keys, case-insensitive."},{"name":"market","in":"query","required":false,"schema":{"type":"string","default":"h2h"}},{"name":"min_delta","in":"query","required":false,"schema":{"type":"number","minimum":0.0,"default":0.01}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/sports/{sport_key}/closing-lines":{"get":{"tags":["Sports"],"summary":"Closing price and line per bookmaker, with the consensus","operationId":"get_sports_closing_lines_v1_sports__sport_key__closing_lines_get","description":"Paid tiers only — 403 on Free and Hobby.","x-credits-cost":"5 credits","parameters":[{"name":"sport_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time."},{"name":"to","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time."},{"name":"bookmakers","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Comma-separated bookmaker keys, case-insensitive."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/health/connectors":{"get":{"tags":["Health"],"summary":"Per-connector freshness","operationId":"connectors_v1_health_connectors_get","description":"Per-connector last-success age + a stale flag, so a stalled feed is visible.","x-credits-cost":"1 credit","parameters":[{"name":"stale_after_s","in":"query","required":false,"schema":{"type":"number","default":180.0},"description":"age (s) past which a connector is 'stale'"},{"name":"coverage_stale_after_s","in":"query","required":false,"schema":{"type":"number","default":21600.0},"description":"age (s) past which a book is treated as no longer COVERING a sport."},{"name":"include_sports","in":"query","required":false,"schema":{"type":"boolean","default":true},"description":"include the per-sport coverage breakdown"},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/v1/demo/racing/next-to-go":{"get":{"tags":["Sandbox (no key)"],"summary":"Sample next-to-go races (no key required)","operationId":"demo_racing_v1_demo_racing_next_to_go_get","description":"Public teaser: next 3 races, up to 5 runners each, best 3 bookmaker prices. No API key. Cached 30s, 30 req/min per IP.","parameters":[{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"Optional."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/demo/best-odds":{"get":{"tags":["Sandbox (no key)"],"summary":"Sample best-odds + arb detection (no key required)","operationId":"demo_best_odds_v1_demo_best_odds_get","description":"Public teaser: best price per selection + arb flag for up to 3 upcoming events. No API key. Cached 45s, 30 req/min per IP.","parameters":[{"name":"sport","in":"query","required":false,"schema":{"type":"string"},"description":"Optional sport_key; auto-picks a live sport if omitted"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/data-quality/summary":{"get":{"tags":["Data Quality"],"summary":"Data quality summary","operationId":"data_quality_summary_v1_data_quality_summary_get","description":"Summary of connector freshness, canonical mappings and recent audit status.","x-credits-cost":"1 credit","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/data-quality/audit/latest":{"get":{"tags":["Data Quality"],"summary":"Latest bookmaker audits","operationId":"latest_audits_v1_data_quality_audit_latest_get","parameters":[{"name":"sport_key","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/data-quality/audit/{run_id}/results":{"get":{"tags":["Data Quality"],"summary":"Audit result detail","operationId":"audit_results_v1_data_quality_audit__run_id__results_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/racing/closing-lines":{"get":{"tags":["Racing Archive"],"summary":"Closing-line and result archive","operationId":"closing_lines_v1_racing_closing_lines_get","description":"The closing-line archive: one row per race, runner and bookmaker, carrying the last price seen before the jump, the first price seen after the market opened, and the finishing position where one is known.","x-credits-cost":"5 credits (JSON) / 20 credits (CSV)","parameters":[{"name":"from","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time on the race start."},{"name":"to","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time."},{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Single-day alias: date=YYYY-MM-DD is exactly from=YYYY-MM-DD&to=YYYY-MM-DD."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Venue name, case-insensitive, exact match."},{"name":"bookmakers","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Comma-separated bookmaker keys, case-insensitive."},{"name":"category","in":"query","required":false,"schema":{"type":["string","null"]},"description":"horse, harness or greyhound — comma-separated for more than one."},{"name":"categories","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Alias of `category`."},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Two-letter country code, case-insensitive; comma-separated for more than one, e.g."},{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Single race, joinable to /v1/racing/price-history while that race is still inside the 45-day snapshot window."},{"name":"race_number","in":"query","required":false,"schema":{"type":["integer","null"],"minimum":1},"description":"Race number."},{"name":"closing_only","in":"query","required":false,"schema":{"type":"boolean","default":true},"description":"Only rows whose last observation was within 300s of the jump."},{"name":"resulted_only","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Only rows from races that have a result."},{"name":"include_flagged","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Include rows flagged venue_split_suspect or name_fragment_suspect."},{"name":"include_scratched","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Include runners the result marked scratched."},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(json|csv)$","default":"json"},"description":"csv streams a flat table with a stable column order — the format a modeller actually wants."},{"name":"research_filter","in":"query","required":false,"schema":{"type":["string","null"],"pattern":"^(price_quality|research_ready)$"},"description":"Apply the versioned recommended research filter (definition in /v1/racing/closing-lines/coverage `research_filter`)."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50000,"minimum":1,"default":500}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClosingLinesOut"}},"text/csv":{"schema":{"type":"string"}}}}}}},"/v1/racing/closing-lines/coverage":{"get":{"tags":["Racing Archive"],"summary":"What the closing-line archive actually holds","operationId":"closing_lines_coverage_v1_racing_closing_lines_coverage_get","description":"The archive's own measurements of itself — depth, date floor, how much of it is a genuine closing line, how much has a result, and how many rows carry a contamination flag.","x-credits-cost":"1 credit","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":30},"description":"Days the per-bookmaker rates and the two result-join gaps are measured over, ending now."},{"name":"from","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Scope of the `research` block only: first race start (ISO date/time)."},{"name":"to","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Scope of the `research` block only: last race start (ISO date/time)."},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Scope of the `research` block only: two-letter country code(s), comma-separated."},{"name":"category","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Scope of the `research` block only: horse, harness or greyhound, comma-separated."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveCoverageOut"}}}}}}},"/v1/racing/price-paths":{"get":{"tags":["Racing Archive"],"summary":"Bulk export of the price-movement archive","operationId":"price_paths_v1_racing_price_paths_get","description":"Every OBSERVED PRICE POINT in the movement archive: one row per race, runner, bookmaker and captured price, from the race entering the 60-minute capture window (or the book's first quote inside it) to the last pre-jump quote.","x-credits-cost":"5 credits (JSON) / 20 credits (CSV)","parameters":[{"name":"from","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time on the race start."},{"name":"to","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time."},{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Single-day alias: date=YYYY-MM-DD is exactly from=YYYY-MM-DD&to=YYYY-MM-DD."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Venue name, case-insensitive, exact match."},{"name":"bookmakers","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Comma-separated bookmaker keys, case-insensitive."},{"name":"category","in":"query","required":false,"schema":{"type":["string","null"]},"description":"horse, harness or greyhound — comma-separated for more than one."},{"name":"categories","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Alias of `category`."},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Two-letter country code, case-insensitive; comma-separated for more than one, e.g."},{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Single race."},{"name":"include_flagged","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Include rows flagged venue_split_suspect or name_fragment_suspect."},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(json|csv|parquet)$","default":"json"},"description":"csv streams a flat table with a stable column order — the bulk download this endpoint exists for."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200000,"minimum":1,"default":1000}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricePathsOut"}},"text/csv":{"schema":{"type":"string"}},"application/vnd.apache.parquet":{"schema":{"type":"string","format":"binary"}}}}}}},"/v1/racing/greyhounds/form":{"get":{"tags":["Racing"],"summary":"Greyhound form history for one dog, from our own results","operationId":"greyhound_form_v1_racing_greyhounds_form_get","description":"Every run we hold for one greyhound, newest first, from our own collection.","x-credits-cost":"3 credits","parameters":[{"name":"dog","in":"query","required":true,"schema":{"type":"string"},"description":"Dog name (matched on letters and digits, case-insensitive, whole name), or a runner_ref like grv:1055038365 / grsa:441535 to restrict to one registry id."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20},"description":"Most recent runs to return."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GreyhoundFormOut"}}}}}}},"/v1/racing/greyhounds/stats":{"get":{"tags":["Racing"],"summary":"Greyhound record by track, distance, box or grade, from our own results","operationId":"greyhound_stats_v1_racing_greyhounds_stats_get","description":"One greyhound's record from our own results, split by track, distance, box, grade, or any combination — plus the same figures over every run, in `overall`.","x-credits-cost":"3 credits","parameters":[{"name":"dog","in":"query","required":true,"schema":{"type":"string"},"description":"Dog name or runner_ref, resolved exactly as on /v1/racing/greyhounds/form."},{"name":"by","in":"query","required":false,"schema":{"type":"string","default":"track"},"description":"Dimensions to group by: track, distance, box, grade."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GreyhoundStatsOut"}}}}}}},"/v1/racing/greyhounds/field":{"get":{"tags":["Racing"],"summary":"Every dog in one greyhound race with its recent runs, from our own results","operationId":"greyhound_field_v1_racing_greyhounds_field_get","description":"Every dog in one greyhound race with its recent runs from our own results, in one call: the field's form, not one dog's. Australian races and, from 12 October 2026, British and Irish ones.","x-credits-cost":"3 credits","parameters":[{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":120},"description":"The race_id from /v1/racing/next-to-go, /events or /results."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":80},"description":"Track name as the feeds spell it (case-insensitive; a British or Irish track is matched by words)."},{"name":"meeting_date","in":"query","required":false,"schema":{"type":["string","null"],"format":"date"},"description":"Meeting date, YYYY-MM-DD: the AET date for an Australian race, the London date for a British or Irish one."},{"name":"race_number","in":"query","required":false,"schema":{"type":["integer","null"],"maximum":30,"minimum":1}},{"name":"runs","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":10},"description":"Most recent runs to return per dog."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GreyhoundFieldOut"}}}}}}},"/v1/racing/horses/form":{"get":{"tags":["Racing"],"summary":"Thoroughbred form, career record and profile for one horse","operationId":"horse_form_v1_racing_horses_form_get","description":"One AU thoroughbred's form, career record and profile.","x-credits-cost":"3 credits","parameters":[{"name":"horse","in":"query","required":true,"schema":{"type":"string"},"description":"Horse name, the `pe:` horse_ref published on every thoroughbred surface ('pe:custo'), or the ra: entry code from runner_ref on results/live runners."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HorseFormOut"}}}}}}},"/v1/racing/horses/backfill":{"post":{"tags":["Racing"],"summary":"Queue a batch of horses for paced form collection","operationId":"submit_backfill_v1_racing_horses_backfill_post","description":"3 credits per horse when it is delivered.","x-credits-cost":"free to submit","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackfillSubmitIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackfillSubmitOut"}}}}}}},"/v1/racing/horses/backfill/{job_id}":{"get":{"tags":["Racing"],"summary":"Progress of a backfill job","operationId":"backfill_status_v1_racing_horses_backfill__job_id__get","description":"Poll as often as your rate limit allows.","x-credits-cost":"free","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackfillStatusOut"}}}}}},"delete":{"tags":["Racing"],"summary":"Cancel the horses a job has not collected yet","operationId":"cancel_backfill_v1_racing_horses_backfill__job_id__delete","description":"Drops this job's queued rows. Delivered horses stay collectable, and nothing already billed is re-billed.","x-credits-cost":"free","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/racing/horses/backfill/{job_id}/results":{"get":{"tags":["Racing"],"summary":"Collect the form of horses this job has delivered","operationId":"backfill_results_v1_racing_horses_backfill__job_id__results_get","description":"The 3 credits per horse were charged when it was delivered, and re-reading data you have already paid for costs nothing.","x-credits-cost":"free","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":25}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/racing/horses/runs":{"get":{"tags":["Racing"],"summary":"One thoroughbred's runs in our own settled results","operationId":"horse_runs_v1_racing_horses_runs_get","description":"Every run we hold for one AU thoroughbred, newest first, out of our own settled results.","x-credits-cost":"3 credits","parameters":[{"name":"horse","in":"query","required":true,"schema":{"type":"string"},"description":"Horse NAME (matched on letters and digits, case- and punctuation-insensitive, whole name), or the `horse_ref` any thoroughbred surface publishes ('pe:custo') — either gathers the whole record, and they resolve identical…"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20},"description":"Most recent runs to return."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HorseRunsOut"}}}}}}},"/v1/racing/form":{"get":{"tags":["Racing"],"summary":"Every runner in one race with its recent runs, from our own results","operationId":"racing_form_v1_racing_form_get","description":"Every runner in one race with its recent runs from our own settled AU thoroughbred results, in one call: the field's form, not one horse's.","x-credits-cost":"3 credits","parameters":[{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":120},"description":"The race_id from /v1/racing/next-to-go, /events, /acceptances or /results."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":80},"description":"Venue name as the feeds spell it (case-insensitive)."},{"name":"meeting_date","in":"query","required":false,"schema":{"type":["string","null"],"format":"date"},"description":"AET meeting date, YYYY-MM-DD."},{"name":"race_number","in":"query","required":false,"schema":{"type":["integer","null"],"maximum":20,"minimum":1}},{"name":"runs","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":10},"description":"Most recent runs to return per runner."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldFormOut"}}}}}}},"/v1/racing/connections/stats":{"get":{"tags":["Racing"],"summary":"Jockey, driver and trainer statistics from our own collected results","operationId":"connections_stats_v1_racing_connections_stats_get","description":"Starts, wins, places, strike rates and level-stakes returns for every jockey, driver or trainer in our own collected AU and NZ results, thoroughbred, greyhound or harness, as at any moment you choose.","x-credits-cost":"3 credits","parameters":[{"name":"role","in":"query","required":true,"schema":{"type":"string"},"description":"horse: `jockey` | `trainer`; harness: `driver` (or `jockey`) | `trainer`; greyhound: `trainer`."},{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"horse"},"description":"`horse` (thoroughbred), `greyhound` or `harness`."},{"name":"name","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Part of a name, matched anywhere after folding to letters ('waller', 'J McDonald')."},{"name":"country","in":"query","required":false,"schema":{"type":"string","default":"AU"},"description":"`AU` or `NZ` (greyhound: AU only)."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"]},"description":"One course, as the results print it ('Flemington', 'Sandown Park')."},{"name":"date_from","in":"query","required":false,"schema":{"type":["string","null"],"format":"date"},"description":"First meeting date (default: 365 days before `as_at`)."},{"name":"date_to","in":"query","required":false,"schema":{"type":["string","null"],"format":"date"},"description":"Last meeting date (default: the date of `as_at`)."},{"name":"as_at","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Count only races that started strictly before this ISO date or datetime (default: now)."},{"name":"min_starts","in":"query","required":false,"schema":{"type":["integer","null"],"maximum":5000,"minimum":1},"description":"Default 1 with `name`, 20 without."},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"wins"},"description":"wins | win_pct | place_pct | roi_fixed | roi_tote | starts"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionsStatsOut"}}}}}}},"/v1/racing/connections/race":{"get":{"tags":["Racing"],"summary":"Every runner's jockey or driver and trainer statistics for one race, as at its jump","operationId":"connections_race_v1_racing_connections_race_get","description":"One AU or NZ race (thoroughbred, greyhound or harness): for every runner, its rider's (jockey or driver) and its trainer's starts, wins, places, strike rates and level-stakes returns, and the two together (`combo`), from our own collected results over the `days` before `as_at`.","x-credits-cost":"3 credits","parameters":[{"name":"race_id","in":"query","required":true,"schema":{"type":"string","maxLength":120},"description":"The race_id from /v1/racing/next-to-go, /events or /results."},{"name":"as_at","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Default: the race's own start time (or now, if that is earlier), so a past race is scored only on what was known at its jump."},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":730,"minimum":7,"default":365},"description":"Window length in days, ending at `as_at`."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionsRaceOut"}}}}}}},"/v1/racing/jockeys/stats":{"get":{"tags":["Racing"],"summary":"Jockey premiership leaderboards and lookup","operationId":"jockey_stats_v1_racing_jockeys_stats_get","description":"Jockey premiership leaderboards — 1st-5th finishes, prize money, strike rate and starts — from Racing Australia's own published tables.","x-credits-cost":"2 credits","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Find one jockey by (partial) name across every state and scope."},{"name":"state","in":"query","required":false,"schema":{"type":["string","null"]},"description":"AUS (national) or a state."},{"name":"scope","in":"query","required":false,"schema":{"type":["string","null"]},"description":"all, metro, provincial, country, picnic."},{"name":"season","in":"query","required":false,"schema":{"type":"string","default":"current"},"description":"current or previous RA season (1 Aug - 31 Jul)."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremiershipOut"}}}}}}},"/v1/racing/trainers/stats":{"get":{"tags":["Racing"],"summary":"Trainer premiership leaderboards and lookup","operationId":"trainer_stats_v1_racing_trainers_stats_get","description":"Trainer premiership leaderboards — 1st-5th finishes, prize money, strike rate and starts — from Racing Australia's own published tables.","x-credits-cost":"2 credits","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Find one trainer by (partial) name across every state and scope."},{"name":"state","in":"query","required":false,"schema":{"type":["string","null"]},"description":"AUS (national) or a state."},{"name":"scope","in":"query","required":false,"schema":{"type":["string","null"]},"description":"all, metro, provincial, country, picnic."},{"name":"season","in":"query","required":false,"schema":{"type":"string","default":"current"},"description":"current or previous RA season (1 Aug - 31 Jul)."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremiershipOut"}}}}}}},"/v1/racing/changes":{"get":{"tags":["Racing"],"summary":"Races and prices that changed since a timestamp","operationId":"racing_changes_v1_racing_changes_get","description":"Everything that moved on the live racing board since `since` — one poll instead of re-downloading the whole card to diff it yourself. Never cached; serving a cached delta would hand you changes you already have and hide the ones you do not.","x-credits-cost":"2 credits","parameters":[{"name":"since","in":"query","required":true,"schema":{"type":"string"},"description":"ISO 8601 UTC timestamp, e.g."},{"name":"categories","in":"query","required":false,"schema":{"type":"string"},"description":"horse, greyhound, harness — comma-separated."},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"Alias of `categories`."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"ISO country codes, comma-separated (e.g."},{"name":"include_unresolved","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Include races whose country is not resolved yet (country is null)."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RacingChangesOut"}}}}}}},"/v1/racing/track-conditions":{"get":{"tags":["Racing"],"summary":"Track condition, weather and rail: current state and today's change log","operationId":"track_conditions_v1_racing_track_conditions_get","description":"Per meeting: the CURRENT official track condition, weather and rail position (Racing Australia, AU thoroughbred meetings, refreshed every two hours) and the day's CHANGE LOG — every transition we observed, with the previous value beside the new one, when it was seen and which feed saw it.","x-credits-cost":"1 credit","parameters":[{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Meeting day, Australia/Sydney, YYYY-MM-DD."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"]},"description":"One meeting, case-insensitive ('Belmont', 'sandown hillside')."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackConditionsOut"}}}}}}},"/v1/racing/acceptances":{"get":{"tags":["Racing"],"summary":"Full-day AU thoroughbred acceptance card: every meeting, race and runner","operationId":"acceptances_v1_racing_acceptances_get","description":"The day's complete AU thoroughbred card as Racing Australia publishes it — meeting, then race, then runners in saddlecloth order — with no dependency on any bookmaker having framed a market.","x-credits-cost":"2 credits","parameters":[{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Meeting day, Australia/Sydney, YYYY-MM-DD."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"]},"description":"One meeting, case-insensitive ('Moe', 'sandown hillside')."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptancesOut"}}}}}}},"/v1/racing/tote":{"get":{"tags":["Racing"],"summary":"North American tote odds (TVG): live win odds and morning line","operationId":"tote_board_v1_racing_tote_get","description":"TVG's live tote odds for every US and Canadian race on its board: per betting interest the morning line and the current win odds, both odds-to-1 and as a decimal price, with the WIN pool behind them.","x-credits-cost":"2 credits","parameters":[{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"US Eastern race date, YYYY-MM-DD."},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"]},"description":"US, CA or US,CA (the default)."},{"name":"status","in":"query","required":false,"schema":{"type":["string","null"]},"description":"open, off or official."},{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"]},"description":"One priced race, by the race_id next-to-go serves."},{"name":"source_race_id","in":"query","required":false,"schema":{"type":["string","null"]},"description":"One race by TVG's key (tvg_<track>_<date>_<n>), priced or not."},{"name":"history","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"true adds each race's `history`: how its odds and WIN pool moved from an hour before post."},{"name":"exotics","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"true adds each race's `exotics`: the probables (exacta, daily double...) and will-pays from the last read."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToteBoardOut"}}}}}}},"/v1/racing/clv":{"post":{"tags":["Racing"],"summary":"Score bets against the closing line (CLV)","operationId":"racing_clv_v1_racing_clv_post","description":"Score a list of bets you struck against the closing line each race actually closed at, and get the record back as numbers: per bet the closing price (the named book's, or the market's best or median), the closing-line value in percent, whether it beat the close, the result and the flat-stake P&L; a…","x-credits-cost":"5 credits per request, up to 200 bets","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClvIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClvOut"}}}}}}},"/v1/racing/markets":{"get":{"tags":["Racing"],"summary":"Every market on one race: win, place, Top 2/3/4 and exotic dividends","operationId":"racing_markets_v1_racing_markets_get","description":"One race, every market the panel quotes on it, book by book: the win price, the place price, the Same Race Multi legs (**Top 2, Top 3 and Top 4**), each book's market percentage, the best price per runner in each market, and — once the race has been run — the exotic dividends it paid.","x-credits-cost":"2 credits","parameters":[{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":120},"description":"The race_id from /v1/racing/next-to-go, /events, /results or the archive."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":80},"description":"Venue name as the feeds spell it (case-insensitive)."},{"name":"meeting_date","in":"query","required":false,"schema":{"type":["string","null"],"format":"date"},"description":"AET meeting date, YYYY-MM-DD."},{"name":"race_number","in":"query","required":false,"schema":{"type":["integer","null"],"maximum":20,"minimum":1}},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"],"minLength":2,"maxLength":2},"description":"Alpha-2 country of the meeting (AU, NZ, GB, IE, ZA, ...)."},{"name":"category","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":40},"description":"horse, greyhound or harness."},{"name":"categories","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":40},"description":"Alias of `category`."},{"name":"bookmakers","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":400},"description":"Comma-separated bookmaker keys to restrict to."},{"name":"markets","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":80},"description":"Comma-separated subset of win, place, top2, top3, top4, exotics."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketsOut"}}}}}}},"/v1/racing/consensus":{"get":{"tags":["Racing"],"summary":"The market consensus on one race: margin-free probability per runner","operationId":"racing_consensus_v1_racing_consensus_get","description":"The market's consensus on one race while its market is open: for every runner, the implied probability after each book's margin is removed and the books are combined, the price that probability corresponds to, the median, mean, best and worst price, and how far the best available price sits from th…","x-credits-cost":"3 credits","parameters":[{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":120},"description":"The race_id from /v1/racing/next-to-go or /events."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":80},"description":"Venue name as the feeds spell it (case-insensitive)."},{"name":"meeting_date","in":"query","required":false,"schema":{"type":["string","null"],"format":"date"},"description":"AET meeting date, YYYY-MM-DD."},{"name":"race_number","in":"query","required":false,"schema":{"type":["integer","null"],"maximum":20,"minimum":1}},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"],"minLength":2,"maxLength":2},"description":"Alpha-2 country of the meeting (AU, NZ, GB, IE, ZA, ...)."},{"name":"category","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":40},"description":"horse, greyhound or harness."},{"name":"categories","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":40},"description":"Alias of `category`."},{"name":"method","in":"query","required":false,"schema":{"type":"string","default":"power"},"description":"How each book's margin is removed before the books are combined."},{"name":"bookmakers","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":400},"description":"Comma-separated bookmaker keys to build the consensus from."},{"name":"min_books","in":"query","required":false,"schema":{"type":"integer","maximum":14,"minimum":1,"default":2},"description":"Included books a runner needs before it carries a consensus probability."},{"name":"include_stale","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Count books whose quote is older than their refresh-tier threshold."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsensusOut"}}}}}}},"/v1/racing/intelligence":{"get":{"tags":["Racing"],"summary":"Market intelligence on one race: consensus at fixed marks, time-anchored moves, breadth, first mover, signal","operationId":"racing_intelligence_v1_racing_intelligence_get","description":"One race on the live board: for every runner, the market consensus price now and at fixed marks before the jump (T-60, T-30, T-15, T-10, T-5, T-2), its high and low since capture began, movement measured against those marks and against the last five and two minutes, the number of ticks in the last…","x-credits-cost":"3 credits","parameters":[{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":120},"description":"The race_id from /v1/racing/next-to-go or /events."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":80},"description":"Venue as the feeds spell it; needs meeting_date and race_number."},{"name":"meeting_date","in":"query","required":false,"schema":{"type":["string","null"],"format":"date"},"description":"AET meeting date, YYYY-MM-DD."},{"name":"race_number","in":"query","required":false,"schema":{"type":["integer","null"],"maximum":20,"minimum":1}},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"],"minLength":2,"maxLength":2},"description":"Alpha-2 country of the meeting (AU, NZ, GB, IE, ZA, ...)."},{"name":"category","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":40},"description":"horse, greyhound or harness."},{"name":"categories","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":40},"description":"Alias of `category`."},{"name":"min_books","in":"query","required":false,"schema":{"type":"integer","maximum":14,"minimum":1,"default":2},"description":"Included books a runner needs before it carries a consensus at a mark."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntelOut"}}}}}}},"/v1/racing/intelligence/scan":{"get":{"tags":["Racing"],"summary":"Scan the live window for runners that moved: time-anchored, breadth-gated","operationId":"racing_intelligence_scan_v1_racing_intelligence_scan_get","description":"Every race inside the 60-minute capture window, analysed exactly as GET /v1/racing/intelligence analyses one race, with the runners that cleared the filters returned largest move first. This is the time-anchored, breadth-gated form of /v1/racing/movers, and /movers keeps serving unchanged.","x-credits-cost":"5 credits","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","default":"60m"},"description":"Which movement gates the result: 60m (move_from_t60_pct), 15m (move_from_t15_pct) or 5m (move_last_5m_pct)."},{"name":"min_move_pct","in":"query","required":false,"schema":{"type":"number","maximum":500.0,"minimum":0.0,"default":10.0},"description":"Minimum absolute consensus move, in percent."},{"name":"min_books","in":"query","required":false,"schema":{"type":"integer","maximum":14,"minimum":1,"default":3},"description":"Minimum books with history on the runner (breadth)."},{"name":"direction","in":"query","required":false,"schema":{"type":["string","null"]},"description":"firming or drifting; omit for both."},{"name":"signal","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":40},"description":"Comma-separated signal classes to keep, e.g."},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":8},"description":"Country code, e.g."},{"name":"categories","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":40},"description":"Comma-separated subset of horse, greyhound, harness."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanOut"}}}}}}},"/v1/racing/market-summary":{"get":{"tags":["Racing Archive"],"summary":"The market's path per runner, stored at the jump: consensus at fixed marks, moves, breadth, first mover, signal","operationId":"market_summary_v1_racing_market_summary_get","description":"The market summary archive: one row per race and runner, written at the jump, carrying the market consensus price at T-60, T-30, T-15, T-10, T-5 and T-2 and at the close, its high and low through the capture window, `move_from_t60_pct` / `move_from_t15_pct` / `move_t5_close_pct` (close against thos…","x-credits-cost":"5 credits (JSON) / 20 credits (CSV)","parameters":[{"name":"from","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time on the race start."},{"name":"to","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date/time."},{"name":"date","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Single-day alias: date=YYYY-MM-DD is exactly from=YYYY-MM-DD&to=YYYY-MM-DD."},{"name":"venue","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Venue name, case-insensitive, exact match."},{"name":"category","in":"query","required":false,"schema":{"type":["string","null"]},"description":"horse, harness or greyhound — comma-separated for more than one."},{"name":"categories","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Alias of `category`."},{"name":"country","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Two-letter country code, e.g."},{"name":"race_id","in":"query","required":false,"schema":{"type":["string","null"]},"description":"One race."},{"name":"signal","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":80},"description":"Comma-separated signal classes to keep: strong_firm, firm, steady, drift, strong_drift, insufficient."},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(json|csv)$","default":"json"},"description":"csv streams a flat table with a stable column order."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50000,"minimum":1,"default":500}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSummaryOut"}},"text/csv":{"schema":{"type":"string"}}}}}}},"/v1/bulk/datasets":{"get":{"tags":["Bulk data"],"summary":"Bulk dataset catalogue","operationId":"bulk_catalogue_v1_bulk_datasets_get","description":"Every dataset this API publishes as pre-built files, with the daily files and monthly bundles that exist right now: rows, bytes per format, digest, when each was generated, and the URL that serves it.","x-credits-cost":"0 credits","parameters":[{"name":"dataset","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Restrict to one dataset name."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCatalogueOut"}}}}}}},"/v1/bulk/restatements":{"get":{"tags":["Bulk data"],"summary":"Changes to already-published dataset files","operationId":"bulk_restatements_v1_bulk_restatements_get","description":"Every time a dataset file changed AFTER it was first published, newest first: which file, when, why, and how many rows were removed, changed and added.","x-credits-cost":"0 credits","parameters":[{"name":"since","in":"query","required":false,"schema":{"type":["string","null"]},"description":"ISO date or date-time (UTC); only restatements published at or after it."},{"name":"dataset","in":"query","required":false,"schema":{"type":["string","null"]},"description":"Restrict to one dataset name."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50},"description":"At most 200."},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestatementsOut"}}}}}}},"/v1/bulk/{dataset}/{period}":{"get":{"tags":["Bulk data"],"summary":"Download one dataset file","operationId":"bulk_file_v1_bulk__dataset___period__get","description":"One request returns the whole day or month as one file, with exactly the rows the paged endpoints would give you: Betfair withheld, split-flagged rows excluded, the field-disclosure rule applied to results.","x-credits-cost":"20 credits for a daily file, 100 for a monthly bundle, charged when the file is\nserved; a 304 costs nothing","parameters":[{"name":"dataset","in":"path","required":true,"schema":{"type":"string"},"description":"Dataset name from /v1/bulk/datasets."},{"name":"period","in":"path","required":true,"schema":{"type":"string"},"description":"YYYY-MM-DD for a Sydney meeting day, YYYY-MM for a calendar month."},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(parquet|csv)$","default":"parquet"},"description":"parquet (typed, snappy) or csv (gzip-compressed)."},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The file.","content":{"application/json":{"schema":{}},"application/vnd.apache.parquet":{},"text/csv":{}}}}}}},"components":{"schemas":{"AcceptancesOut":{"properties":{"date":{"type":"string","description":"Meeting day, Australia/Sydney calendar date."},"date_status":{"type":"string","description":"'past', 'today' or 'future', relative to the Australia/Sydney date."},"meeting_count":{"type":"integer"},"race_count":{"type":"integer"},"runner_count":{"type":"integer","description":"Acceptance rows on this card — scratched runners and emergencies INCLUDED."},"emergency_count":{"description":"Rows flagged as an emergency acceptance.","type":["integer","null"]},"declared_count":{"description":"runner_count minus emergency_count: the DECLARED field, i.e.","type":["integer","null"]},"scratched_count":{"description":"Sheet rows MATCHED to an acceptance row this card holds — NOT every scratching…","type":["integer","null"]},"unscratched_count":{"description":"runner_count minus scratched_count.","type":["integer","null"]},"declared_scratched_count":{"description":"Rows that are scratched AND not emergencies.","type":["integer","null"]},"declared_remaining_count":{"description":"declared_count minus declared_scratched_count: the horses expected to jump barr…","type":["integer","null"]},"as_of":{"description":"Newest RA scrape backing the meetings actually returned, UTC — computed after t…","type":["string","null"]},"coverage_from":{"description":"The first meeting day (Australia/Sydney) this store holds an acceptance card fo…","type":["string","null"]},"completeness":{"type":"object","description":"What could and could not be verified about this card."},"meetings":{"items":{"type":"object"},"type":"array"},"note":{"type":"string"}},"type":"object","required":["date","date_status","meeting_count","race_count","runner_count","completeness","meetings","note"]},"ArchiveCoverageOut":{"properties":{"archive_from":{"type":["string","null"]},"archive_to":{"type":["string","null"]},"rows":{"type":"integer"},"races":{"type":"integer"},"bookmakers":{"type":"integer"},"is_closing_line_pct":{"type":"number"},"open_is_baseline_pct":{"type":"number"},"resulted_races_pct":{"type":"number"},"results_from":{"type":["string","null"]},"settleable_races":{"type":"integer"},"settleable_resulted_pct":{"type":"number"},"results_scope":{"type":"string"},"venue_split_suspect_rows":{"type":"integer"},"name_fragment_suspect_rows":{"type":"integer"},"scratched_rows":{"type":"integer","description":"Rows of runners the result marked scratched (flag from 2026-09-28; hidden from…","default":0},"duplicate_suspect_rows":{"description":"Rows whose race appears to duplicate another race record (duplicate_suspect).","type":["integer","null"]},"backtest_ready_rows":{"type":"integer","description":"Rows that pass the recommended modelling filter: is_closing_line AND NOT scratc…","default":0},"backtest_ready_pct":{"type":"number","description":"backtest_ready_rows as a share of rows.","default":0.0},"research_filter":{"type":"object","description":"The versioned recommended research filter: version, the two stages (price_quali…","default":{}},"research":{"description":"The research filter applied to a scope (from/to/country/category; default the l…","type":["object","null"]},"settleable_definition":{"description":"Exactly what settleable_races and settleable_resulted_pct count.","type":["string","null"]},"results_from_by_lane":{"items":{"type":"object"},"type":"array","description":"First result per AU/NZ (country, category) lane — the floors settleable_races i…","default":[]},"closing_by_period":{"items":{"type":"object"},"type":"array","description":"is_closing_line either side of 2026-09-29, the first card on which a steady clo…","default":[]},"consensus_close_pct":{"type":"number","description":"Of the rows that are genuine closing lines (is_closing_line, not scratched), th…","default":0.0},"finish_position_pct":{"type":"number","description":"Of the rows whose race has a result, excluding runners the result marked scratc…","default":0.0},"by_category":{"items":{"type":"object"},"type":"array"},"window_days":{"type":"integer","description":"Days the by_bookmaker rates and the two result-join gaps are measured over, end…","default":30},"window_from":{"description":"Start of that window, UTC.","type":["string","null"]},"by_bookmaker":{"items":{"type":"object"},"type":"array","description":"One row per bookmaker over the window: {bookmaker_key, rows, closing_pct, basel…","default":[]},"settleable_races_in_window":{"type":"integer","description":"AU and NZ archive races in the window that started at least 3 hours ago (the de…","default":0},"races_without_result":{"type":"integer","description":"Of settleable_races_in_window, races with no result row at all.","default":0},"races_result_unlinked":{"type":"integer","description":"Of races_without_result, races whose result exists under a different race_id (c…","default":0},"results_in_window":{"type":"integer","description":"AU and NZ results in the window that started at least 3 hours ago (the denomina…","default":0},"results_without_race":{"type":"integer","description":"Of results_in_window, results with no archive race (no closing line at any serv…","default":0},"definitions":{"additionalProperties":{"type":"string"},"type":"object","description":"One line per gap and rate above, saying exactly what is counted.","default":{}}},"type":"object","required":["archive_from","archive_to","rows","races","bookmakers","is_closing_line_pct","open_is_baseline_pct","resulted_races_pct","results_from","settleable_races","settleable_resulted_pct","results_scope","venue_split_suspect_rows","name_fragment_suspect_rows","by_category"]},"BackfillStatusOut":{"properties":{"job_id":{"type":"string"},"submitted_at":{"type":["string","null"]},"total":{"type":"integer"},"done":{"type":"integer"},"queued":{"type":"integer"},"failed":{"type":"integer"},"credits_charged":{"type":"integer","description":"3 per horse delivered so far."},"credits_blocked":{"type":"boolean","description":"True when your remaining credits are below the cost of one horse, which pauses…"},"queue_position":{"description":"Horses ahead of this job's oldest waiting row, across all jobs.","type":["integer","null"]},"estimated_ready":{"type":["string","null"]},"ready_to_collect":{"type":"integer","description":"Completed rows you have not yet read."},"upstream":{"allOf":[{"$ref":"#/components/schemas/UpstreamBlock"}],"description":"Whether Racing Australia is answering form reads at all."}},"type":"object","required":["job_id","total","done","queued","failed","credits_charged","credits_blocked","ready_to_collect","upstream"]},"BackfillSubmitIn":{"properties":{"horses":{"items":{"type":"string"},"type":"array","description":"Horse names, `pe:` horse_refs or `ra:` entry codes, in any mix."},"label":{"description":"Your own tag for this batch, echoed back on status.","type":["string","null"],"maxLength":80}},"type":"object","required":["horses"]},"BackfillSubmitOut":{"properties":{"job_id":{"type":"string"},"label":{"type":["string","null"]},"queued":{"type":"integer","description":"Horses accepted and waiting on the worker."},"already_stored":{"type":"integer","description":"Horses we already hold a fresh copy of — matched on the HORSE, so a page collec…"},"duplicates":{"type":"integer","description":"Already queued for you; not queued twice."},"not_found":{"items":{"type":"string"},"type":"array","description":"Names we have never seen on our own feeds.","default":[]},"ambiguous":{"items":{"type":"object"},"type":"array","description":"Names matching several horses.","default":[]},"estimated_ready":{"description":"UTC estimate for the last horse, from the worker's measured pace.","type":["string","null"]}},"type":"object","required":["job_id","queued","already_stored","duplicates"]},"BestOddsEventOut":{"properties":{"id":{"type":"string"},"sport_key":{"type":"string"},"home_team":{"type":["string","null"]},"away_team":{"type":["string","null"]},"commence_time":{"type":"string"},"selections":{"items":{"type":"object"},"type":"array"},"arb_exists":{"type":"boolean"},"arb_profit_pct":{"type":"number"},"data_age_seconds":{"type":["integer","null"]},"freshest_age_seconds":{"type":["integer","null"]},"stale":{"type":"boolean","default":false},"stale_bookmakers":{"items":{"type":"string"},"type":"array","default":[]}},"type":"object","required":["id","sport_key","home_team","away_team","commence_time","selections","arb_exists","arb_profit_pct"]},"BestPricesOut":{"properties":{"id":{"type":"string"},"sport_key":{"type":"string"},"home_team":{"type":["string","null"]},"away_team":{"type":["string","null"]},"commence_time":{"type":"string"},"selections":{"items":{"type":"object"},"type":"array"}},"type":"object","required":["id","sport_key","home_team","away_team","commence_time","selections"]},"BulkCatalogueOut":{"properties":{"datasets":{"items":{"$ref":"#/components/schemas/BulkDatasetOut"},"type":"array"},"formats":{"items":{"type":"string"},"type":"array","default":["parquet","csv"]},"day_plans":{"type":"string"},"month_plans":{"type":"string"},"credits":{"additionalProperties":{"type":"integer"},"type":"object"},"schedule":{"type":"string"},"notes":{"items":{"type":"string"},"type":"array","default":[]}},"type":"object","required":["datasets","day_plans","month_plans","credits","schedule"]},"BulkDatasetOut":{"properties":{"name":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"grain":{"type":"string"},"schema_version":{"description":"Bumped whenever the dataset's columns change.","type":["integer","null"]},"dataset_version":{"description":"Date of the last change to the rules that decide this dataset's rows or values.","type":["string","null"]},"source_notes":{"items":{"type":"string"},"type":"array","description":"What is withheld, quarantined or flagged in this dataset, and why.","default":[]},"columns":{"items":{"type":"string"},"type":"array","description":"Column order of every file in this dataset, read from the newest file's sidecar.","default":[]},"available_from":{"type":"string"},"days":{"items":{"$ref":"#/components/schemas/BulkFileOut"},"type":"array","description":"Daily files, oldest first.","default":[]},"months":{"items":{"$ref":"#/components/schemas/BulkFileOut"},"type":"array","description":"Monthly bundles, oldest first.","default":[]}},"type":"object","required":["name","title","description","grain","available_from"]},"BulkFileOut":{"properties":{"period":{"type":"string"},"kind":{"type":"string","description":"day (YYYY-MM-DD, Sydney meeting date) or month (YYYY-MM)."},"rows":{"type":["integer","null"]},"generated_at":{"type":["string","null"]},"bytes":{"additionalProperties":{"type":"integer"},"type":"object","description":"Size per format: parquet, csv (gzip).","default":{}},"sha256":{"additionalProperties":{"type":"string"},"type":"object","description":"Digest per format; also the ETag.","default":{}},"url":{"type":"string"},"schema_version":{"description":"The column-set version this file was written under.","type":["integer","null"]},"dataset_version":{"description":"The rules date this file was written under (see the dataset's dataset_version).","type":["string","null"]},"restatements":{"type":"integer","description":"How many times this file has changed after it was first published; /v1/bulk/res…","default":0}},"type":"object","required":["period","kind","url"]},"ChangedBookTermsOut":{"properties":{"bookmaker_key":{"type":"string","description":"Bookmaker whose terms changed."},"places_paid":{"description":"Places this book now pays on the race.","type":["integer","null"]},"each_way_fraction":{"description":"This book's each-way fraction, e.g.","type":["string","null"]},"updated_at":{"type":"string","description":"UTC instant these terms were first seen."}},"type":"object","required":["bookmaker_key","updated_at"]},"ChangedRaceOut":{"properties":{"race_id":{"type":"string","description":"Stable race identifier — the same id /v1/racing/next-to-go, /v1/racing/price-hi…"},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"description":"horse, greyhound or harness.","type":["string","null"]},"country":{"description":"ISO country code, or null while the meeting is unresolved.","type":["string","null"]},"start_time":{"type":"string","description":"Advertised start, UTC."},"status":{"description":"Set when the race row is created and revised exactly once, if at all: to 'aband…","type":["string","null"]},"market_status":{"description":"Betting-market state (OPEN, SUSPENDED, CLOSED).","type":["string","null"]},"inplay":{"description":"True once the market is in-play.","type":["boolean","null"]},"market_closed_at":{"description":"UTC time the market was FIRST seen shut.","type":["string","null"]},"inplay_at":{"description":"UTC time the race was FIRST seen in-play — the actual off, as opposed to `start…","type":["string","null"]},"market_state_source":{"description":"Which feed's market state produced `market_closed_at` / `inplay_at` — 'pointsbe…","type":["string","null"]},"scratchings":{"items":{"type":"object"},"type":"array","description":"The COMPLETE current scratchings for this race, merged across every book that r…"},"track_condition_changed_at":{"description":"UTC instant of the most recent logged track-condition, weather or rail transiti…","type":["string","null"]},"track_condition":{"description":"The race's CURRENT track condition, not a change log — a poller diffing against…","type":["string","null"]},"weather":{"description":"Current weather for the meeting, same read-as-current rule as track_condition.","type":["string","null"]},"places_paid":{"description":"The race's CURRENT places paid: the count most home-region books pay (a tie goe…","type":["integer","null"]},"changed_runners":{"items":{"$ref":"#/components/schemas/ChangedRunnerOut"},"type":"array","description":"Runner prices that moved inside the window."},"book_terms":{"items":{"$ref":"#/components/schemas/ChangedBookTermsOut"},"type":"array","description":"Books whose OWN each-way terms changed inside the window (2026-10-31): an extra…"}},"type":"object","required":["race_id","start_time"]},"ChangedRunnerOut":{"properties":{"name":{"type":"string","description":"Runner name as the bookmaker publishes it."},"number":{"description":"Saddlecloth / rug number, where the book supplies one.","type":["integer","null"]},"bookmaker_key":{"type":"string","description":"Bookmaker this price belongs to."},"win_price":{"description":"Current fixed win price at this bookmaker.","type":["number","null"]},"place_price":{"description":"Current fixed place price.","type":["number","null"]},"top2_price":{"description":"Current Top 2 (first-two) price at this bookmaker, where quoted.","type":["number","null"]},"top3_price":{"description":"Current Top 3 price at this bookmaker, where quoted.","type":["number","null"]},"top4_price":{"description":"Current Top 4 price at this bookmaker, where quoted.","type":["number","null"]},"updated_at":{"type":"string","description":"UTC instant this runner's win or lay price last CHANGED at this bookmaker."},"betslip_win_url":{"description":"Opens this bookmaker's betslip with this runner's fixed WIN selected.","type":["string","null"]},"betslip_place_url":{"description":"Same, fixed PLACE.","type":["string","null"]},"betslip_app_only":{"description":"True for Ladbrokes and Neds: those URLs open the native app and redirect to the…","type":["boolean","null"]},"betslip_win_link":{"description":"Your own link for betslip_win_url, built through the link templates stored with…","type":["string","null"]},"betslip_place_link":{"description":"Your own link for betslip_place_url, built the same way.","type":["string","null"]}},"type":"object","required":["name","bookmaker_key","updated_at"]},"ChangesHorizonOut":{"properties":{"hours":{"type":"integer","description":"How far ahead this key reaches, in hours (also the X-Horizon-Hours header)."},"races_withheld":{"type":"integer","description":"Races that changed in this window but start past that reach, and so are not lis…"},"note":{"type":"string"}},"type":"object","required":["hours","races_withheld","note"]},"ClosingLineRow":{"properties":{"race_id":{"description":"Race id; joins /v1/racing/results and /v1/racing/markets.","type":["string","null"]},"start_time":{"description":"Advertised start, UTC, ISO 8601 with Z.","type":["string","null"]},"meeting_date_aet":{"description":"Meeting date, YYYY-MM-DD, Australian Eastern calendar.","type":["string","null"]},"venue":{"description":"Venue name as the books list it.","type":["string","null"]},"race_number":{"description":"Race number at the meeting.","type":["integer","null"]},"category":{"description":"horse, harness or greyhound.","type":["string","null"]},"country":{"description":"Two-letter country code.","type":["string","null"]},"runner_key":{"description":"Normalised runner name; the runner's key within the race.","type":["string","null"]},"runner_name":{"description":"Runner name as published.","type":["string","null"]},"runner_number":{"description":"Saddlecloth (box for greyhounds).","type":["integer","null"]},"bookmaker_key":{"description":"Bookmaker key.","type":["string","null"]},"open_win_price":{"description":"Win price at the first observation of the series.","type":["number","null"]},"open_secs_to_jump":{"description":"Seconds to the jump at the first observation.","type":["integer","null"]},"open_is_baseline":{"description":"FLAG.","type":["boolean","null"]},"close_win_price":{"description":"Win price at the last observation before the jump.","type":["number","null"]},"close_lay_price":{"description":"Exchange lay price at the close; null for customers (exchange rows are withheld…","type":["number","null"]},"close_secs_to_jump":{"description":"Seconds to the jump at the last observation.","type":["integer","null"]},"is_closing_line":{"description":"FLAG.","type":["boolean","null"]},"points_observed":{"description":"Price points in the series.","type":["integer","null"]},"finish_position":{"description":"Finishing position where the result publishes one.","type":["integer","null"]},"result_status":{"description":"The race's result status; null when the race has no result.","type":["string","null"]},"venue_split_suspect":{"description":"FLAG.","type":["boolean","null"]},"venue_split_peer_race_id":{"description":"FLAG companion.","type":["string","null"]},"name_fragment_suspect":{"description":"FLAG.","type":["boolean","null"]},"venue_id":{"description":"Canonical venue id from the venue registry.","type":["string","null"]},"venue_site":{"description":"Canonical venue site from the venue registry.","type":["string","null"]},"runner_ref":{"description":"Registry id for the runner on race day (ra:, grv:, grsa:).","type":["string","null"]},"horse_ref":{"description":"Horse identity across meetings (pe:<name>); thoroughbreds only.","type":["string","null"]},"scratched":{"description":"FLAG.","type":["boolean","null"]},"open_place_price":{"description":"Place price at the first observation (from 2026-09-29).","type":["number","null"]},"close_place_price":{"description":"Place price at the last observation (from 2026-09-29).","type":["number","null"]},"scratched_at":{"description":"When the runner was scratched, UTC, as the board stamped it (from 2026-09-29).","type":["string","null"]},"open_top2_price":{"description":"Same Race Multi Top 2 price at the first observation.","type":["number","null"]},"open_top3_price":{"description":"Same Race Multi Top 3 price at the first observation.","type":["number","null"]},"open_top4_price":{"description":"Same Race Multi Top 4 price at the first observation.","type":["number","null"]},"close_top2_price":{"description":"Same Race Multi Top 2 price at the last observation.","type":["number","null"]},"close_top3_price":{"description":"Same Race Multi Top 3 price at the last observation.","type":["number","null"]},"close_top4_price":{"description":"Same Race Multi Top 4 price at the last observation.","type":["number","null"]},"consensus_close_prob":{"description":"Market consensus probability at the close, margin removed.","type":["number","null"]},"consensus_close_price":{"description":"The price consensus_close_prob corresponds to.","type":["number","null"]},"books_in_consensus_close":{"description":"Books the closing consensus rests on.","type":["integer","null"]},"consensus_open_price":{"description":"Consensus price at the 60-minute open.","type":["number","null"]},"books_in_consensus_open":{"description":"Books the opening consensus rests on.","type":["integer","null"]},"duplicate_suspect":{"description":"FLAG.","type":["boolean","null"]},"duplicate_of_race_id":{"description":"FLAG companion.","type":["string","null"]},"meeting_date_local":{"description":"Meeting date in the venue's own time zone, YYYY-MM-DD.","type":["string","null"]}},"additionalProperties":true,"type":"object","description":"One archived series: a race, a runner and a bookmaker."},"ClosingLinesOut":{"properties":{"rows_returned":{"type":"integer"},"total_rows":{"type":"integer","description":"Rows matching the filter before limit/offset"},"limit":{"type":"integer"},"offset":{"type":"integer"},"archive_from":{"description":"Earliest start_time in the whole archive.","type":["string","null"]},"window_days":{"description":"Set when the caller's plan clamps the lookback.","type":["integer","null"]},"resulted_rows":{"type":"integer","description":"Rows in the matching set that have a result_status."},"rows":{"items":{"$ref":"#/components/schemas/ClosingLineRow"},"type":"array"}},"type":"object","required":["rows_returned","total_rows","limit","offset","resulted_rows","rows"]},"ClvBetIn":{"properties":{"ref":{"description":"Your own id for this bet, echoed back unchanged.","type":["string","null"],"maxLength":80},"race_id":{"description":"The race_id from /v1/racing/next-to-go, /events, /results or the archive.","type":["string","null"],"maxLength":120},"venue":{"description":"Venue name as our feeds spell it (case-insensitive).","type":["string","null"],"maxLength":80},"race_number":{"type":["integer","null"],"maximum":20.0,"minimum":1.0},"meeting_date":{"description":"AET meeting date, YYYY-MM-DD.","type":["string","null"],"format":"date"},"runner_ref":{"description":"Registry id as served on /results and the archive — ra:<horsecode> or grv:<dogI…","type":["string","null"],"maxLength":60},"runner_number":{"description":"Saddlecloth number.","type":["integer","null"],"maximum":30.0,"minimum":1.0},"runner_name":{"description":"Runner name; matched the same way the feeds match names (case, punctuation and…","type":["string","null"],"maxLength":80},"bookmaker":{"description":"bookmaker_key the bet was struck with.","type":["string","null"],"maxLength":40},"price":{"type":"number","maximum":1000.0,"exclusiveMinimum":1.0,"description":"Decimal odds you took."},"stake":{"type":"number","maximum":1000000.0,"exclusiveMinimum":0.0,"description":"Stake for the P&L line.","default":1.0}},"type":"object","required":["price"]},"ClvBetOut":{"properties":{"ref":{"type":["string","null"]},"resolved":{"type":"boolean","description":"True when the race AND the runner were found in the archive."},"reason":{"description":"race_not_found · race_ambiguous · runner_not_found · runner_ambiguous · bookmak…","type":["string","null"]},"race_id":{"type":["string","null"]},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"runner_key":{"type":["string","null"]},"runner_name":{"type":["string","null"]},"runner_number":{"type":["integer","null"]},"runner_ref":{"type":["string","null"]},"bookmaker":{"type":["string","null"]},"price_taken":{"type":"number"},"stake":{"type":"number"},"close_book":{"description":"The named bookmaker's closing win price, when it recorded a closing line.","type":["number","null"]},"close_best":{"description":"Highest closing win price across books.","type":["number","null"]},"close_median":{"description":"Median closing win price across books.","type":["number","null"]},"books_at_close":{"type":"integer","description":"Books with a closing line for this runner.","default":0},"close_reference":{"description":"The close `clv_pct` is measured against: close_book when a bookmaker was named…","type":["number","null"]},"clv_pct":{"description":"(price_taken / close_reference − 1) × 100.","type":["number","null"]},"beat_close":{"type":["boolean","null"]},"finish_position":{"type":["integer","null"]},"result_status":{"description":"final · interim · null (not yet resulted).","type":["string","null"]},"won":{"description":"On a final result: true for the winner, false for every other runner — includin…","type":["boolean","null"]},"pnl":{"description":"stake × (price − 1) on a win, −stake on a loss, null until the result is final.","type":["number","null"]}},"type":"object","required":["resolved","price_taken","stake"]},"ClvIn":{"properties":{"bets":{"items":{"$ref":"#/components/schemas/ClvBetIn"},"type":"array","maxItems":200,"minItems":1,"description":"Up to 200 bets per request."},"reference":{"type":"string","pattern":"^(best|median)$","description":"The market close used when a bet names no bookmaker, and reported as close_best…","default":"best"}},"type":"object","required":["bets"]},"ClvOut":{"properties":{"reference":{"type":"string"},"archive_floor":{"description":"Earliest race day the archive holds; bets before it cannot resolve.","type":["string","null"],"format":"date"},"summary":{"$ref":"#/components/schemas/ClvSummaryOut"},"bets":{"items":{"$ref":"#/components/schemas/ClvBetOut"},"type":"array"},"notes":{"items":{"type":"string"},"type":"array","default":[]}},"type":"object","required":["reference","summary","bets"]},"ClvSummaryOut":{"properties":{"bets":{"type":"integer"},"resolved":{"type":"integer"},"unresolved":{"type":"integer"},"scored":{"type":"integer","description":"Bets with a closing line to measure against."},"avg_clv_pct":{"type":["number","null"]},"median_clv_pct":{"type":["number","null"]},"beat_close":{"type":"integer","default":0},"beat_close_rate_pct":{"type":["number","null"]},"resulted":{"type":"integer","description":"Scored-or-resolved bets with a final result.","default":0},"wins":{"type":"integer","default":0},"win_rate_pct":{"type":["number","null"]},"staked":{"type":["number","null"]},"pnl":{"type":["number","null"]},"roi_pct":{"type":["number","null"]}},"type":"object","required":["bets","resolved","unresolved","scored"]},"ComboOut":{"properties":{"starts":{"type":"integer"},"wins":{"type":"integer"},"places":{"type":"integer"},"win_pct":{"type":["number","null"]}},"type":"object","required":["starts","wins","places"]},"ConnectionRowOut":{"properties":{"name":{"type":"string"},"name_key":{"type":"string"},"starts":{"type":"integer"},"wins":{"type":"integer"},"places":{"type":"integer","description":"First three."},"win_pct":{"type":["number","null"]},"place_pct":{"type":["number","null"]},"priced_starts":{"type":"integer","description":"Starts with a price, the denominator of roi_fixed_pct."},"roi_fixed_pct":{"description":"Level-stakes return, one unit to win; price basis in source.price_basis.","type":["number","null"]},"roi_tote_pct":{"description":"Level-stakes return at the tote win dividend; null where none is held.","type":["number","null"]},"avg_winning_fixed_price":{"type":["number","null"]},"last_win":{"type":["string","null"]},"last_start":{"type":["string","null"]},"recent":{"$ref":"#/components/schemas/RecentOut"}},"type":"object","required":["name","name_key","starts","wins","places","priced_starts","recent"]},"ConnectionsRaceOut":{"properties":{"race":{"$ref":"#/components/schemas/api__routes__racing_connections__RaceHeadOut"},"rider_role":{"description":"`jockey`, `driver`, or null for greyhounds.","type":["string","null"]},"window":{"$ref":"#/components/schemas/ConnectionsWindowOut"},"card_source":{"type":"string"},"matched":{"type":"object","description":"How many starters' riders and trainers matched our history."},"runners":{"items":{"$ref":"#/components/schemas/RaceRunnerOut"},"type":"array"},"source":{"$ref":"#/components/schemas/ConnectionsSourceOut"}},"type":"object","required":["race","window","card_source","matched","runners","source"]},"ConnectionsSourceOut":{"properties":{"description":{"type":"string"},"price_basis":{"additionalProperties":{"type":["string","null"]},"type":"object"},"coverage_from":{"type":["string","null"]},"coverage_to":{"type":["string","null"]}},"type":"object","required":["description","price_basis"]},"ConnectionsStatsOut":{"properties":{"code":{"type":"string"},"role":{"type":"string"},"window":{"$ref":"#/components/schemas/ConnectionsWindowOut"},"sort":{"type":"string"},"min_starts":{"type":"integer"},"matched":{"type":"integer","description":"People matching the filters with at least min_starts starts; `data` is the firs…"},"data":{"items":{"$ref":"#/components/schemas/ConnectionRowOut"},"type":"array"},"source":{"$ref":"#/components/schemas/ConnectionsSourceOut"}},"type":"object","required":["code","role","window","sort","min_starts","matched","data","source"]},"ConnectionsWindowOut":{"properties":{"date_from":{"type":"string"},"date_to":{"type":"string"},"as_at":{"type":"string"},"country":{"type":"string"},"venue":{"type":["string","null"]}},"type":"object","required":["date_from","date_to","as_at","country"]},"ConsensusBookOut":{"properties":{"bookmaker":{"type":"string"},"runners_priced":{"type":"integer"},"overround_pct":{"description":"Σ 1/price × 100 over the runners this book priced; null below two.","type":["number","null"]},"age_seconds":{"type":["integer","null"]},"last_update":{"type":["string","null"]},"refresh_tier":{"type":"string","default":"live"},"stale":{"type":"boolean","default":false},"included":{"type":"boolean","description":"Whether this book entered the consensus."},"reason":{"description":"Why not: stale · partial_field · single_runner.","type":["string","null"]}},"type":"object","required":["bookmaker","runners_priced","included"]},"ConsensusExclusionOut":{"properties":{"bookmaker":{"type":"string"},"reason":{"type":"string"},"age_seconds":{"type":["integer","null"]},"runners_priced":{"type":["integer","null"]}},"type":"object","required":["bookmaker","reason"]},"ConsensusMarketOut":{"properties":{"median_overround_pct":{"type":["number","null"]},"best_price_market_pct":{"description":"Σ 1/best_price × 100 over the runners with a consensus.","type":["number","null"]},"median_runner_spread_pct":{"type":["number","null"]},"consensus_sum_before_normalisation":{"description":"The sum of the per-runner medians before the field was scaled to one.","type":["number","null"]},"field_size":{"description":"Runners a complete-field book prices; books quoting fewer are excluded as parti…","type":["integer","null"]}},"type":"object"},"ConsensusMethodOut":{"properties":{"normalisation":{"type":"string","description":"power (the default) or multiplicative.","default":"power"},"aggregation":{"type":"string","default":"median_probability"},"renormalised":{"type":"boolean","default":true},"stale_rule":{"type":"string","default":"refresh_tier"},"field_rule":{"type":"string","default":"complete_field"},"min_books":{"type":"integer","default":2},"include_stale":{"type":"boolean","default":false}},"type":"object"},"ConsensusOut":{"properties":{"race":{"$ref":"#/components/schemas/ConsensusRaceOut"},"method":{"$ref":"#/components/schemas/ConsensusMethodOut"},"books_quoting":{"type":"integer"},"books_in_consensus":{"type":"integer"},"books_excluded":{"items":{"$ref":"#/components/schemas/ConsensusExclusionOut"},"type":"array","default":[]},"bookmakers":{"items":{"$ref":"#/components/schemas/ConsensusBookOut"},"type":"array","default":[]},"market":{"$ref":"#/components/schemas/ConsensusMarketOut"},"runners":{"items":{"$ref":"#/components/schemas/ConsensusRunnerOut"},"type":"array","default":[]},"excluded_quotes":{"items":{"type":"object"},"type":"array","description":"Placeholder prices left out of the consensus quote by quote, on the rule /v1/ra…","default":[]},"scratchings":{"items":{"type":"object"},"type":"array","default":[]},"note":{"type":["string","null"]},"twin_race_ids":{"items":{"type":"string"},"type":"array","description":"Other race_ids under which some books list THIS race (same venue, date, number,…","default":[]}},"type":"object","required":["race","method","books_quoting","books_in_consensus","market"]},"ConsensusQuoteOut":{"properties":{"bookmaker":{"type":"string"},"price":{"type":"number"},"no_vig_prob":{"description":"This book's probability for the runner after its own margin is removed by the s…","type":["number","null"]},"age_seconds":{"type":["integer","null"]}},"type":"object","required":["bookmaker","price"]},"ConsensusRaceOut":{"properties":{"race_id":{"type":"string"},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"country":{"type":["string","null"]},"start_time":{"type":["string","null"]},"secs_to_jump":{"description":"Negative once the race has jumped.","type":["integer","null"]},"refresh_tier":{"type":"string","description":"The race's own refresh rule — live inside three hours of the jump, card beyond…","default":"live"},"status":{"type":"string","description":"upcoming · jumped.","default":"upcoming"},"as_of":{"type":"string"}},"type":"object","required":["race_id","as_of"]},"ConsensusRunnerOut":{"properties":{"number":{"description":"Saddlecloth (box for greyhounds), voted across the books.","type":["integer","null"]},"name":{"type":["string","null"]},"runner_ref":{"description":"Registry id where known: ra:<code> for a thoroughbred (Racing Australia's code,…","type":["string","null"]},"horse_ref":{"description":"pe:<name>, the stable thoroughbred identity.","type":["string","null"]},"scratched":{"type":"boolean","default":false},"books":{"type":"integer","description":"Included books quoting this runner.","default":0},"consensus_prob":{"description":"The market's implied probability for this runner after margin is removed from e…","type":["number","null"]},"consensus_price":{"description":"1 / consensus_prob.","type":["number","null"]},"median_price":{"type":["number","null"]},"mean_price":{"type":["number","null"]},"best_price":{"description":"Highest price among the included books.","type":["number","null"]},"best_bookmaker":{"type":["string","null"]},"worst_price":{"type":["number","null"]},"price_spread_pct":{"description":"best / worst - 1, in percent.","type":["number","null"]},"best_vs_consensus_pct":{"description":"best_price / consensus_price - 1, in percent.","type":["number","null"]},"freshest_age_seconds":{"type":["integer","null"]},"oldest_age_seconds":{"type":["integer","null"]},"quotes":{"items":{"$ref":"#/components/schemas/ConsensusQuoteOut"},"type":"array","default":[]}},"type":"object"},"ExoticsOut":{"properties":{"source":{"type":"string","default":"results"},"status":{"description":"The result's own status: interim or final.","type":["string","null"]},"dividends":{"items":{"type":"object"},"type":"array","default":[]}},"type":"object"},"FieldFormOut":{"properties":{"race_id":{"description":"Our race_id.","type":["string","null"]},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"start_time":{"description":"Scheduled start, UTC.","type":["string","null"]},"start_time_local":{"description":"Racing Australia's published start on the venue's own clock ('1:35PM').","type":["string","null"]},"meeting_date":{"description":"Sydney calendar date of the meeting; the London date for a British or Irish rac…","type":["string","null"]},"race_name":{"type":["string","null"]},"distance_m":{"type":["integer","null"]},"track_condition":{"description":"As the live card or the result carries it.","type":["string","null"]},"race_status":{"description":"The live race's status while it is open; the result's (`interim`/`final`) once…","type":["string","null"]},"card_source":{"type":"string","description":"`live` -- the field came from the live card; `results` -- the race has been run…"},"acceptances_folded":{"type":"boolean","description":"True when Racing Australia's acceptance card for this race was found and folded…","default":false},"form_as_at":{"description":"This race's start, UTC.","type":["string","null"]},"runs_per_runner":{"type":"integer","description":"The `runs` limit this answer was built with."},"runners_total":{"type":"integer"},"runners_with_runs":{"type":"integer","description":"Runners with at least one start held (`runs_total` of 1 or more)."},"runners":{"items":{"$ref":"#/components/schemas/FieldRunner"},"type":"array"},"source":{"$ref":"#/components/schemas/RunsSourceBlock"},"twin_race_ids":{"items":{"type":"string"},"type":"array","description":"Other race_ids under which some books list THIS race (same venue, date, number,…","default":[]}},"type":"object","required":["card_source","runs_per_runner","runners_total","runners_with_runs","runners","source"]},"FieldRunner":{"properties":{"number":{"description":"Saddlecloth number on this race's card.","type":["integer","null"]},"name":{"type":"string","description":"The horse's name as the card (or the result) spells it."},"horse_ref":{"description":"`pe:<name>` -- the identity the runs were gathered on, the same value every tho…","type":["string","null"]},"runner_ref":{"description":"The Racing Australia code this runner carries on the live card or the result --…","type":["string","null"]},"barrier":{"description":"Barrier drawn for THIS race, as the card publishes it (the stall draw on a Brit…","type":["integer","null"]},"jockey":{"description":"Rider declared for THIS race.","type":["string","null"]},"trainer":{"type":["string","null"]},"weight_kg":{"description":"Weight allotted for THIS race, before any apprentice claim.","type":["number","null"]},"age":{"description":"The horse's age as the card prints it.","type":["integer","null"]},"rating":{"description":"The rating the card prints: on a British or Irish race the Racing Post rating a…","type":["integer","null"]},"scratched":{"type":"boolean","description":"True when the card has scratched the horse.","default":false},"last10":{"description":"Racing Australia's last-ten figures for the horse, as its acceptance card print…","type":["string","null"]},"last_start_date":{"description":"The horse's last start as Racing Australia's acceptance card gives it, YYYY-MM-…","type":["string","null"]},"runs_total":{"type":"integer","description":"STARTS we hold for this horse before this race's start: runs with `status` `ran…"},"held_rows_total":{"type":"integer","description":"Every row we hold for this horse before this race's start: its starts plus its…"},"stats":{"allOf":[{"$ref":"#/components/schemas/HorseRunsStats"}],"description":"Over every held run before this race, not just the `runs` returned; starts only."},"runs":{"items":{"$ref":"#/components/schemas/HorseRunRow"},"type":"array","description":"Newest first, at most `runs` of them, every one before this race's start."}},"type":"object","required":["name","runs_total","held_rows_total","stats","runs"]},"GreyhoundFieldOut":{"properties":{"race_id":{"type":"string"},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"start_time":{"description":"Scheduled start, UTC.","type":["string","null"]},"meeting_date":{"description":"Sydney calendar date of the meeting; the London date for a British or Irish rac…","type":["string","null"]},"race_name":{"type":["string","null"]},"distance_m":{"type":["integer","null"]},"track_condition":{"type":["string","null"]},"race_status":{"description":"The live race's status while it is open; the result's (`interim`/`final`) once…","type":["string","null"]},"card_source":{"type":"string","description":"`live` -- the field came from the live card; `results` -- the race has been run…"},"form_as_at":{"description":"This race's start, UTC.","type":["string","null"]},"runs_per_runner":{"type":"integer"},"runners_total":{"type":"integer"},"runners_with_runs":{"type":"integer","description":"Runners with at least one start held (`runs_total` of 1 or more)."},"runners":{"items":{"$ref":"#/components/schemas/GreyhoundFieldRunner"},"type":"array"},"source":{"$ref":"#/components/schemas/GreyhoundFieldSource"}},"type":"object","required":["race_id","card_source","runs_per_runner","runners_total","runners_with_runs","runners","source"]},"GreyhoundFieldRunner":{"properties":{"number":{"description":"Rug number on this race's card.","type":["integer","null"]},"name":{"type":"string","description":"The dog's name as the card (or the result) spells it."},"name_key":{"type":"string","description":"The identity the runs were grouped on (letters and digits)."},"box":{"description":"Trap drawn for THIS race: the book's draw where it gives one, else the rug numb…","type":["integer","null"]},"trainer":{"type":["string","null"]},"form":{"description":"The card's form figures as the bookmaker prints them (William Hill and PointsBe…","type":["string","null"]},"scratched":{"type":"boolean","description":"True when the card has scratched the dog, or it is an unused reserve.","default":false},"runner_ref":{"description":"Registry id (grv:/grsa:) carried by a settled Australian result; null on a live…","type":["string","null"]},"runs_total":{"type":"integer","description":"STARTS we hold for this dog BEFORE this race's start: runs with `status` `ran`,…"},"held_rows_total":{"type":"integer","description":"Every row we hold for this dog before this race's start: its starts plus its sc…"},"stats":{"allOf":[{"$ref":"#/components/schemas/GreyhoundFieldStats"}],"description":"Over every held run before this race; starts only."},"runs":{"items":{"$ref":"#/components/schemas/GreyhoundRun"},"type":"array","description":"Newest first, at most `runs` of them, every one before this race's start."}},"type":"object","required":["name","name_key","runs_total","held_rows_total","stats","runs"]},"GreyhoundFieldSource":{"properties":{"feed":{"type":"string","description":"Where the data comes from: our own collection of published AU greyhound results…","default":"puntersedge"},"region":{"type":"string","default":"AU"},"sport":{"type":"string","default":"greyhound"},"coverage_from":{"type":"string","description":"Sydney date of the OLDEST run in the store.","default":"2026-09-13"},"results_from":{"type":"string","description":"Sydney date our own settled results begin.","default":"2026-09-13"},"coverage_to":{"description":"Sydney date of the latest race in the store.","type":["string","null"]},"collectors":{"items":{"type":"string"},"type":"array","description":"Which of our collectors can contribute a run: `fasttrack` = Victorian tracks to…","default":["fasttrack","grsa","pointsbetau"]},"refreshed_hourly":{"type":"boolean","description":"The store is rebuilt from our results at :58 each hour, after both collectors h…","default":true},"note":{"description":"Set on a British or Irish race: GB/IE positions are placings, so a `ran` run wi…","type":["string","null"]}},"type":"object","description":"The field view's source block: the per-dog one plus `note`."},"GreyhoundFieldStats":{"properties":{"starts":{"type":"integer"},"wins":{"type":"integer"},"places":{"type":"integer","description":"Finishes in the first three, wins included."},"win_pct":{"type":"number"},"place_pct":{"type":"number"}},"type":"object","required":["starts","wins","places","win_pct","place_pct"]},"GreyhoundFormOut":{"properties":{"dog":{"type":"string","description":"The dog's name as our results spell it."},"name_key":{"type":"string","description":"The identity the runs were grouped on (letters and digits)."},"runner_refs":{"items":{"type":"string"},"type":"array","description":"Every registry id seen for this name, across both collectors."},"runs_total":{"type":"integer","description":"STARTS we hold for this dog since `source.coverage_from`: runs with `status` `r…"},"held_rows_total":{"type":"integer","description":"Every row we hold for this dog since `source.coverage_from`: its starts plus it…"},"runs":{"items":{"$ref":"#/components/schemas/GreyhoundRun"},"type":"array"},"source":{"$ref":"#/components/schemas/SourceBlock"}},"type":"object","required":["dog","name_key","runner_refs","runs_total","held_rows_total","runs","source"]},"GreyhoundRun":{"properties":{"date":{"description":"Sydney calendar date of the race; the London date on a British or Irish run.","type":["string","null"]},"start_time":{"description":"Scheduled start, UTC.","type":["string","null"]},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"distance_m":{"type":["integer","null"]},"race_name":{"type":["string","null"]},"track_condition":{"type":["string","null"]},"box":{"type":["integer","null"]},"number":{"description":"Rug number; equals box for a starter.","type":["integer","null"]},"position":{"description":"Finishing place.","type":["integer","null"]},"status":{"description":"`ran`, `scratched`, or `reserve` (a rug 9/10 reserve that never got a box).","type":["string","null"]},"margin":{"description":"Lengths behind the winner as the source printed it; the winner's own row carrie…","type":["string","null"]},"time_s":{"description":"The dog's own finish time in seconds.","type":["number","null"]},"first_split_s":{"description":"First sectional in seconds, as the source page printed it.","type":["number","null"]},"second_split_s":{"description":"Second sectional in seconds.","type":["number","null"]},"weight_kg":{"description":"Race-day weight in kilograms.","type":["number","null"]},"pir":{"description":"Position in running as TEXT, one digit per in-running mark (\"21\" = 2nd then 1st…","type":["string","null"]},"grade":{"description":"The race's grade in the SOURCE'S OWN WORDS — \"M\", \"4/5\", \"FFA\" on the national…","type":["string","null"]},"win_time_s":{"description":"The winner's time in the same race, so `time_s - win_time_s` is the deficit.","type":["number","null"]},"sp":{"description":"Official starting price, decimal return on $1.","type":["number","null"]},"dead_heat":{"type":"boolean","default":false},"trainer":{"type":["string","null"]},"field_size":{"description":"Dogs that ran in that race.","type":["integer","null"]},"runner_ref":{"description":"Registry id of the dog as the collector for that track numbers it: grv:<id> or…","type":["string","null"]},"source":{"description":"Which collector wrote the race: `fasttrack` or `grsa`, or `pointsbetau` for a r…","type":["string","null"]},"origin":{"description":"`results` — the race is one we settled and serve on /v1/racing/results; `histor…","type":["string","null"]},"result_id":{"description":"Id of the /v1/racing/results row this run came from.","type":["string","null"]}},"type":"object"},"GreyhoundStatRow":{"properties":{"track":{"description":"Set when `by` includes track.","type":["string","null"]},"distance_m":{"description":"Set when `by` includes distance.","type":["integer","null"]},"box":{"description":"Set when `by` includes box.","type":["integer","null"]},"grade":{"description":"Set when `by` includes grade: the race's grade in the source's own words (\"5\",…","type":["string","null"]},"starts":{"type":"integer","description":"Runs with status `ran` — scratchings and unused reserves are excluded from ever…"},"wins":{"type":"integer"},"places":{"type":"integer","description":"Finishes in the first three, wins included."},"win_pct":{"type":"number"},"place_pct":{"type":"number"},"avg_time_s":{"description":"Over the runs with a recorded time.","type":["number","null"]},"best_time_s":{"type":["number","null"]},"avg_first_split_s":{"description":"Mean first sectional over the runs in this group that carry one.","type":["number","null"]},"avg_sp":{"description":"Mean official starting price over the runs that carry one.","type":["number","null"]},"last_start":{"description":"Sydney date of the most recent run in the group.","type":["string","null"]}},"type":"object","required":["starts","wins","places","win_pct","place_pct"]},"GreyhoundStatsOut":{"properties":{"dog":{"type":"string"},"name_key":{"type":"string"},"runner_refs":{"items":{"type":"string"},"type":"array"},"by":{"items":{"type":"string"},"type":"array","description":"The dimensions the rows are grouped by, in the order given."},"rows":{"items":{"$ref":"#/components/schemas/GreyhoundStatRow"},"type":"array","description":"One row per distinct combination, most starts first."},"overall":{"allOf":[{"$ref":"#/components/schemas/GreyhoundStatRow"}],"description":"The same figures over every run since `source.coverage_from`."},"source":{"$ref":"#/components/schemas/SourceBlock"}},"type":"object","required":["dog","name_key","runner_refs","by","rows","overall","source"]},"HorseCandidate":{"properties":{"runner_ref":{"type":"string","description":"A Racing Australia code for this horse."},"runner_name":{"type":["string","null"]},"last_seen":{"description":"Most recent date this ref appeared on our feeds (acceptance or result).","type":["string","null"]},"source":{"type":"string","description":"Where it was seen: acceptances or results."}},"type":"object","required":["runner_ref","source"]},"HorseCareer":{"properties":{"starts":{"type":["integer","null"]},"wins":{"type":["integer","null"]},"seconds":{"type":["integer","null"]},"thirds":{"type":["integer","null"]},"prizemoney":{"description":"Career prizemoney, whole AUD.","type":["integer","null"]},"bonus":{"description":"Total bonus (e.g.","type":["integer","null"]},"min_dist_win_m":{"type":["integer","null"]},"max_dist_win_m":{"type":["integer","null"]},"splits":{"additionalProperties":{"$ref":"#/components/schemas/SplitRecord"},"type":"object","description":"Keyed first_up, second_up, firm, good, soft, heavy, synthetic; each value is st…"},"splits_from":{"description":"With `source.feed` 'puntersedge_results': Sydney date of the oldest of our runs…","type":["string","null"]}},"type":"object"},"HorseFormOut":{"properties":{"horse_name":{"type":["string","null"]},"horse_ref":{"description":"The HORSE: `pe:<name>`, the registered name folded to letters and digits.","type":["string","null"]},"runner_ref":{"description":"The Racing Australia code the page was read under — the most recent code we hol…","type":["string","null"]},"ambiguous":{"type":"boolean","description":"ALWAYS FALSE since 2026-09-21, and kept only so that callers reading it do not…"},"candidates":{"items":{"$ref":"#/components/schemas/HorseCandidate"},"type":"array","default":[]},"profile":{"anyOf":[{"$ref":"#/components/schemas/HorseProfile"},{"type":"null"}]},"career":{"anyOf":[{"$ref":"#/components/schemas/HorseCareer"},{"type":"null"}]},"runs":{"items":{"$ref":"#/components/schemas/HorseRun"},"type":"array","default":[]},"source":{"anyOf":[{"$ref":"#/components/schemas/HorseSource"},{"type":"null"}]}},"type":"object","required":["ambiguous"]},"HorseProfile":{"properties":{"age_sex":{"description":"As published, e.g.","type":["string","null"]},"dob":{"type":["string","null"]},"sire":{"type":["string","null"]},"dam":{"type":["string","null"]},"status":{"type":["string","null"]},"trainer":{"type":["string","null"]},"trainer_location":{"type":["string","null"]},"owners":{"type":["string","null"]},"colours":{"type":["string","null"]},"last_gear_change":{"description":"As published, date and gear, e.g.","type":["string","null"]}},"type":"object"},"HorseRun":{"properties":{"date":{"type":["string","null"]},"venue":{"description":"Venue name.","type":["string","null"]},"origin":{"description":"Set on a run that came from OUR OWN collected results rather than RA's page: ev…","type":["string","null"]},"track":{"description":"RA's compressed track code as published ('W FM' is Warwick Farm, 'RAND' Randwic…","type":["string","null"]},"meet_code":{"description":"RA meeting code; every runner in the same meeting shares it.","type":["string","null"]},"race_number":{"type":["integer","null"]},"trial":{"type":"boolean","description":"True for an unofficial run, a barrier trial or a jump-out: $0 prize, 0kg weight…"},"trial_kind":{"description":"'barrier_trial' or 'jump_out' when `trial` is true (RA's T and J flags in `resu…","type":["string","null"]},"position":{"type":["integer","null"]},"field_size":{"type":["integer","null"]},"result_raw":{"description":"The position cell as published, kept for rows that don't parse to a number.","type":["string","null"]},"distance_m":{"type":["integer","null"]},"going":{"description":"Condition word: Firm, Good, Soft, Heavy, Synthetic.","type":["string","null"]},"going_rating":{"description":"The number after the condition (Soft7 -> 7).","type":["integer","null"]},"race_class":{"description":"RA's official class string for that race: 'MDN-SW', 'CTRY MDN', 'BM64', '3Y MDN…","type":["string","null"]},"prize_total":{"type":["integer","null"]},"prize_won":{"description":"This horse's cut, when RA shows it.","type":["integer","null"]},"jockey":{"type":["string","null"]},"jockey_code":{"description":"RA's stable jockey code, consistent across every page that names the same rider.","type":["string","null"]},"trainer":{"description":"Trainer of the day for THIS run, filled from our own results archive — RA's for…","type":["string","null"]},"weight_kg":{"type":["number","null"]},"barrier":{"type":["integer","null"]},"time_s":{"description":"Official race time in seconds.","type":["number","null"]},"sectional_distance_m":{"description":"The published closing sectional's distance, usually 600.","type":["integer","null"]},"sectional_time_s":{"type":["number","null"]},"margin_l":{"description":"Margin in lengths.","type":["number","null"]},"pir":{"items":{"$ref":"#/components/schemas/RunPIR"},"type":"array","description":"Position in running at the published marks (800m/400m)."},"prices":{"items":{"type":"number"},"type":"array","description":"The published price path, opening quote through SP, oldest first."},"sp":{"description":"Starting price — the last entry of `prices`.","type":["number","null"]},"placegetters":{"items":{"$ref":"#/components/schemas/RunPlacegetter"},"type":"array","description":"The two nearest finishers RA lists (2nd and 3rd on this horse's win; the winner…"},"ra_fields":{"items":{"type":"string"},"type":"array","description":"On a run from our own collection (`origin` set): the fields on this run that Ra…"}},"type":"object","required":["trial"]},"HorseRunRow":{"properties":{"date":{"description":"Sydney calendar date of the race; the London date for a British or Irish race (…","type":["string","null"]},"start_time":{"description":"Scheduled start, UTC.","type":["string","null"]},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"distance_m":{"type":["integer","null"]},"race_name":{"type":["string","null"]},"track_condition":{"description":"As published for the race, e.g.","type":["string","null"]},"number":{"description":"Saddlecloth number.","type":["integer","null"]},"box":{"description":"Barrier the horse jumped from, AFTER scratchings (a horse drawn 9 with two scra…","type":["integer","null"]},"position":{"description":"Finishing place.","type":["integer","null"]},"status":{"description":"`ran` or `scratched`, exactly as /v1/racing/results publishes it.","type":["string","null"]},"abnormal":{"description":"Racing Australia's own Finish cell whenever it is not a number, passed through…","type":["string","null"]},"margin":{"description":"Lengths behind the winner as RA printed it ('0.75L'); null where it prints none.","type":["string","null"]},"time_s":{"description":"The horse's own time in seconds, which RA publishes for the WINNER only: since…","type":["number","null"]},"sp":{"description":"Official starting price, decimal return on $1.","type":["number","null"]},"sp_note":{"description":"RA's favouritism marker: 'F' favourite, 'EF' equal favourite; null otherwise.","type":["string","null"]},"dead_heat":{"type":"boolean","default":false},"trainer":{"description":"Trainer of the day for THIS run.","type":["string","null"]},"jockey":{"description":"Rider of the day for THIS run, as one string per rider on every origin (since 2…","type":["string","null"]},"field_size":{"description":"Horses that ran in that race.","type":["integer","null"]},"weight_kg":{"description":"Allotted weight in kg.","type":["number","null"]},"carried_kg":{"description":"Weight the horse actually carried, printed by RA only when it differs from the…","type":["number","null"]},"claim_kg":{"description":"The apprentice's claim in kg on THIS run (since 2026-11-06; New Zealand runs on…","type":["number","null"]},"race_class":{"description":"The race's class.","type":["string","null"]},"race_time_s":{"description":"The race's winning time in seconds, from RA's race header ('Time: 0:58.69' -> 5…","type":["number","null"]},"last_600m_s":{"description":"The race's last-600m time in seconds, from the same header ('Last 600m: 0:34.49…","type":["number","null"]},"prize_total":{"description":"Total prize money of the race in AUD, from RA's prize line ('Of $30,000.').","type":["integer","null"]},"prize_won":{"description":"Place money this horse won in AUD, read off the same prize line by its finishin…","type":["number","null"]},"runner_ref":{"description":"The Racing Australia code our results collector published for this run, from ra…","type":["string","null"]},"horse_ref":{"description":"The horse this run belongs to: `pe:<name>`, the registered name folded to lette…","type":["string","null"]},"result_id":{"description":"Id of the /v1/racing/results row this run came from.","type":["string","null"]},"origin":{"description":"'results' -- from our own settled results (/v1/racing/results).","type":["string","null"]},"ra_fields":{"items":{"type":"string"},"type":"array","description":"The runner fields on THIS run whose value came from Racing Australia alone (sin…"}},"type":"object"},"HorseRunsOut":{"properties":{"horse":{"type":"string","description":"The horse's name as our results spell it."},"name_key":{"type":"string","description":"The identity the runs were grouped on (letters and digits)."},"horse_ref":{"description":"`name_key` as the identifier every thoroughbred surface publishes: `pe:<name_ke…","type":["string","null"]},"runner_refs":{"items":{"type":"string"},"type":"array","description":"Every Racing Australia horsecode our results published under this name, sorted."},"runs_total":{"type":"integer","description":"STARTS held for this horse since `source.coverage_from`: runs with `status` `ra…"},"held_rows_total":{"type":"integer","description":"Every row held for this horse since `source.coverage_from`, scratchings include…"},"runs":{"items":{"$ref":"#/components/schemas/HorseRunRow"},"type":"array"},"stats":{"allOf":[{"$ref":"#/components/schemas/HorseRunsStats"}],"description":"Over EVERY held run, not just the ones returned."},"source":{"$ref":"#/components/schemas/RunsSourceBlock"}},"type":"object","required":["horse","name_key","runner_refs","runs_total","held_rows_total","runs","stats","source"]},"HorseRunsStats":{"properties":{"starts":{"type":"integer","description":"Runs with status `ran` — scratchings are excluded from every figure here."},"wins":{"type":"integer"},"places":{"type":"integer","description":"Finishes in the first three, wins included."},"win_pct":{"type":"number"},"place_pct":{"type":"number"}},"type":"object","required":["starts","wins","places","win_pct","place_pct"]},"HorseSource":{"properties":{"feed":{"type":"string","description":"'puntersedge_results' -- OUR OWN collection, the answer for every horse we hold…","default":"racing_australia"},"note":{"description":"Set with feed 'puntersedge_results': what these runs are, and what they are not.","type":["string","null"]},"region":{"type":"string","default":"AU"},"sport":{"type":"string","default":"thoroughbred"},"fetched_at":{"description":"UTC time this horse's page was last read from RA.","type":["string","null"]},"stale":{"type":"boolean","description":"True when RA could not be reached just now and this is the stored copy served p…","default":false},"own_runs_added":{"type":"integer","description":"Runs from OUR OWN collected results added at the top of `runs` because they are…","default":0},"coverage_to":{"description":"Feed 'puntersedge_results' only: Sydney date of the latest race in our own resu…","type":["string","null"]}},"type":"object"},"IntelOut":{"properties":{"race":{"$ref":"#/components/schemas/IntelRaceOut"},"window":{"type":"object","description":"Whether the 60-minute capture window is open for this race, when its first tick…","default":{}},"method":{"type":"object"},"market":{"type":"object","description":"Race level: best-price market percentage now and at T-15 / T-60, the favourite…","default":{}},"runners":{"items":{"type":"object"},"type":"array","description":"One object per runner, favourite first: consensus at each mark with high and lo…","default":[]},"scratchings":{"items":{"type":"object"},"type":"array","default":[]},"note":{"type":["string","null"]},"twin_race_ids":{"items":{"type":"string"},"type":"array","description":"Other race_ids under which some books list THIS race (same venue, date, number,…","default":[]}},"type":"object","required":["race","method"]},"IntelRaceOut":{"properties":{"race_id":{"type":"string"},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"country":{"type":["string","null"]},"start_time":{"type":["string","null"]},"secs_to_jump":{"type":["integer","null"]},"status":{"type":"string","description":"upcoming · jumped.","default":"upcoming"},"as_of":{"type":"string"}},"type":"object","required":["race_id","as_of"]},"LinesArbOut":{"properties":{"event_id":{"type":"string"},"sport_key":{"type":"string"},"home_team":{"type":["string","null"]},"away_team":{"type":["string","null"]},"commence_time":{"type":"string"},"market_type":{"type":"string"},"opportunities":{"items":{"type":"object"},"type":"array"}},"type":"object","required":["event_id","sport_key","home_team","away_team","commence_time","market_type","opportunities"]},"MarketBestOut":{"properties":{"number":{"type":["integer","null"]},"name":{"type":["string","null"]},"runner_ref":{"type":["string","null"]},"price":{"type":"number"},"bookmaker":{"type":"string"}},"type":"object","required":["price","bookmaker"]},"MarketBookOut":{"properties":{"key":{"type":"string"},"runners_quoted":{"type":"integer"},"overround_pct":{"description":"Sum of 1/price across this book's quoted runners, as a percentage.","type":["number","null"]},"observed_at":{"description":"Newest price change this book made on this race, UTC.","type":["string","null"]},"runners":{"items":{"$ref":"#/components/schemas/MarketRunnerOut"},"type":"array","default":[]}},"type":"object","required":["key","runners_quoted"]},"MarketOut":{"properties":{"market":{"type":"string","description":"win · place · top2 · top3 · top4."},"places":{"description":"Runners the bet covers: 1 for win, the race's places_paid for place, 2/3/4 for…","type":["integer","null"]},"bookmakers":{"items":{"$ref":"#/components/schemas/MarketBookOut"},"type":"array","default":[]},"best":{"items":{"$ref":"#/components/schemas/MarketBestOut"},"type":"array","default":[]},"suspect":{"items":{"type":"object"},"type":"array","description":"Quotes kept out of `best` (since 2026-10-20) by the same rules as /v1/racing/be…","default":[]}},"type":"object","required":["market"]},"MarketRunnerOut":{"properties":{"number":{"description":"Saddlecloth number (box for greyhounds).","type":["integer","null"]},"name":{"type":["string","null"]},"runner_ref":{"description":"Registry id — ra:<horsecode> or grv:<dogId> — where one is known.","type":["string","null"]},"horse_ref":{"description":"pe:<name>, the stable thoroughbred identity.","type":["string","null"]},"price":{"type":"number"},"source_url":{"description":"The book's own page for this race.","type":["string","null"]},"source_link":{"description":"Your own link for this price: source_url built through the link templates store…","type":["string","null"]}},"type":"object","required":["price"]},"MarketSummaryOut":{"properties":{"rows_returned":{"type":"integer"},"total_rows":{"type":"integer","description":"Rows matching the filter before limit/offset."},"limit":{"type":"integer"},"offset":{"type":"integer"},"summary_from":{"description":"Earliest start_time in the table.","type":["string","null"]},"window_days":{"description":"Set when the caller's plan clamps the lookback.","type":["integer","null"]},"rows":{"items":{"type":"object"},"type":"array"}},"type":"object","required":["rows_returned","total_rows","limit","offset","rows"]},"MarketsOut":{"properties":{"race":{"$ref":"#/components/schemas/api__routes__racing_markets__RaceHeadOut"},"markets":{"items":{"$ref":"#/components/schemas/MarketOut"},"type":"array","default":[]},"exotics":{"anyOf":[{"$ref":"#/components/schemas/ExoticsOut"},{"type":"null"}]},"note":{"type":["string","null"]},"twin_race_ids":{"items":{"type":"string"},"type":"array","description":"Other race_ids under which some books list THIS race (same venue, date, number,…","default":[]},"quote_detail":{"items":{"type":"object"},"type":"array","description":"Per book and runner, the fields the book publishes beside its prices (since 202…","default":[]},"scratchings":{"items":{"type":"object"},"type":"array","description":"The race's scratched runners: name, number, barrier, scratched_at (the scratchi…","default":[]},"tote_series":{"items":{"type":"object"},"type":"array","description":"Per book and runner, the book's tote approximates at fixed marks before the jum…","default":[]},"book_scratchings":{"items":{"type":"object"},"type":"array","description":"Per book and scratched runner (since 2026-10-06): reported_at, the first time t…","default":[]}},"type":"object","required":["race"]},"MoverOut":{"properties":{"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"country":{"type":["string","null"]},"start_time":{"type":"string"},"mins_to_jump":{"type":["integer","null"]},"runner":{"type":"string"},"number":{"type":["integer","null"]},"direction":{"type":"string"},"open_price":{"type":"number"},"current_price":{"type":"number"},"move_pct":{"type":"number"},"books_quoting":{"type":"integer","description":"Books with a price for this runner, including ones we have never observed move."},"books_with_history":{"type":"integer","description":"Books with two or more captured prices — the only ones that can evidence a move."},"books_firming":{"type":"integer"},"books_drifting":{"type":"integer"},"books_unchanged":{"type":"integer","description":"Books whose captured price has not moved, including books seen only once."},"bookmakers":{"items":{"type":"object"},"type":"array"}},"type":"object","required":["venue","race_number","category","country","start_time","runner","direction","open_price","current_price","move_pct","books_quoting","books_with_history","books_firming","books_drifting","books_unchanged","bookmakers"]},"NextRaceOut":{"properties":{"race_id":{"type":"string"},"source_id":{"type":["string","null"]},"venue":{"type":["string","null"]},"venue_id":{"description":"Stable slug for this venue spelling ('sandown-hillside').","type":["string","null"]},"venue_canonical":{"description":"Canonical display name for venue_id ('Sandown Hillside').","type":["string","null"]},"venue_site":{"description":"Physical-complex key: tracks sharing one venue complex share one site ('sandown…","type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"start_time":{"type":"string"},"country":{"type":["string","null"]},"race_name":{"type":["string","null"]},"distance_m":{"type":["integer","null"]},"track_condition":{"type":["string","null"]},"weather":{"type":["string","null"]},"places_paid":{"description":"Places the race pays.","type":["integer","null"]},"track_condition_changed_at":{"description":"UTC instant of the most recent logged track-condition, weather or rail transiti…","type":["string","null"]},"race_class":{"description":"The first term of RA's official conditions line for this race on AU thoroughbre…","type":["string","null"]},"conditions":{"description":"RA's official conditions line, verbatim — class, race type, minimum weight, age…","type":["string","null"]},"prize_total":{"description":"Total advertised prize for the race, whole units of `prize_currency` (AUD from…","type":["integer","null"]},"prize_currency":{"description":"ISO 4217 currency of `prize_total` ('AUD'); 'USD' or 'CAD' on a US or Canadian…","type":["string","null"]},"rail":{"description":"Rail position for the meeting, as RA publishes it ('+3m Entire').","type":["string","null"]},"track_name":{"description":"Racing Australia's own name for the course this race runs on, verbatim: 'Hillsi…","type":["string","null"]},"market_closed_at":{"description":"UTC time at which the market was FIRST seen shut — the book stopped taking bets…","type":["string","null"]},"inplay_at":{"description":"UTC time at which the race was FIRST seen in-play — the actual off, as opposed…","type":["string","null"]},"market_state_source":{"description":"Which feed's market state produced `market_closed_at` / `inplay_at` on this rac…","type":["string","null"]},"scratchings":{"items":{"type":"object"},"type":"array","default":[]},"runners":{"items":{"type":"object"},"type":"array"},"panel":{"description":"Free keys only; absent for every paid plan.","type":["object","null"]},"tote":{"description":"North American tote odds for this race, from TVG's public race board (US and Ca…","type":["object","null"]},"tote_pools":{"description":"Australian tote pool sizes for this race from TAB's own tote, or null.","type":["object","null"]},"data_age_seconds":{"description":"Age in seconds of the OLDEST bookmaker quote in this race — the staleness you a…","type":["integer","null"]},"freshest_age_seconds":{"description":"Age in seconds of the freshest bookmaker quote in this race.","type":["integer","null"]},"refresh_tier":{"type":"string","description":"Which refresh rule this race is on, and therefore what the race-level `stale` m…","default":"live"},"stale":{"type":"boolean","description":"True when the oldest contributing bookmaker is older than this race's `refresh_…","default":false},"stale_bookmakers":{"items":{"type":"string"},"type":"array","description":"Bookmaker keys in this race whose quote is older than the `refresh_tier` thresh…"},"cached":{"type":["boolean","null"]},"cache_age_seconds":{"type":["integer","null"]}},"type":"object","required":["race_id","source_id","venue","race_number","category","start_time","country","runners"]},"PersonOut":{"properties":{"name_on_card":{"description":"The spelling that matched (or, unmatched, the field's own).","type":["string","null"]},"matched":{"type":"boolean"},"stats":{"anyOf":[{"$ref":"#/components/schemas/ConnectionRowOut"},{"type":"null"}]}},"type":"object","required":["matched"]},"PremiershipOut":{"properties":{"role":{"type":"string"},"season_start_year":{"type":["integer","null"]},"state":{"description":"Echo of the filter; null when a name search crossed all states.","type":["string","null"]},"scope":{"type":["string","null"]},"name":{"type":["string","null"]},"rows":{"items":{"$ref":"#/components/schemas/PremiershipRow"},"type":"array","default":[]},"source":{"$ref":"#/components/schemas/PremiershipSource"}},"type":"object","required":["role","source"]},"PremiershipRow":{"properties":{"state":{"type":"string","description":"AUS is the national table — RA's own combined leaderboard, not a sum of the sta…"},"scope":{"type":"string","description":"RA's split: all, metro, provincial, country or picnic."},"rank":{"type":"integer","description":"Position in RA's table, 1-20."},"name":{"type":"string"},"ra_code":{"description":"RA's stable code from the row's engagement link — the same namespace as trainer…","type":["string","null"]},"firsts":{"description":"Wins.","type":["number","null"]},"seconds":{"type":["number","null"]},"thirds":{"type":["number","null"]},"fourths":{"type":["number","null"]},"fifths":{"type":["number","null"]},"prize_money":{"description":"Season prize money, AUD.","type":["number","null"]},"strike_rate":{"description":"RA's own figure, percent.","type":["number","null"]},"starts":{"type":["integer","null"]},"period_from":{"description":"Start of the window this row measures (RA seasons run 1 Aug to 31 Jul).","type":["string","null"]},"period_to":{"description":"End of the measured window.","type":["string","null"]}},"type":"object","required":["state","scope","rank","name"]},"PremiershipSource":{"properties":{"feed":{"type":"string","default":"racing-australia-premierships"},"region":{"type":"string","default":"AU"},"sport":{"type":"string","default":"thoroughbred"},"scraped_at":{"description":"UTC time of the newest row served in this response.","type":["string","null"]},"top_n":{"type":"integer","description":"RA publishes each premiership as a top-20 table.","default":20}},"type":"object"},"PriceHistoryOut":{"properties":{"race_id":{"type":"string"},"venue":{"type":["string","null"]},"venue_id":{"type":["string","null"]},"venue_canonical":{"type":["string","null"]},"venue_site":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"country":{"type":["string","null"]},"start_time":{"type":"string"},"points_returned":{"type":"integer"},"truncated":{"type":"boolean"},"history_from":{"description":"Start time of the earliest race this endpoint can answer for.","type":["string","null"]},"runners":{"items":{"type":"object"},"type":"array"}},"type":"object","required":["race_id","venue","race_number","category","country","start_time","points_returned","truncated","runners"]},"PricePathsOut":{"properties":{"rows_returned":{"type":"integer"},"total_points":{"type":"integer","description":"Points matching the filter before limit/offset"},"limit":{"type":"integer"},"offset":{"type":"integer"},"archive_from":{"type":["string","null"]},"rows":{"items":{"type":"object"},"type":"array"}},"type":"object","required":["rows_returned","total_points","limit","offset","rows"]},"RaceEventOut":{"properties":{"race_id":{"type":"string"},"venue":{"type":["string","null"]},"venue_id":{"type":["string","null"]},"venue_canonical":{"type":["string","null"]},"venue_site":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"start_time":{"type":"string"},"country":{"type":["string","null"]},"race_name":{"type":["string","null"]},"distance_m":{"type":["integer","null"]},"track_condition":{"type":["string","null"]},"weather":{"type":["string","null"]},"race_class":{"description":"The first term of RA's official conditions line on AU thoroughbreds: 'Maiden',…","type":["string","null"]},"conditions":{"description":"RA's official conditions line, verbatim.","type":["string","null"]},"prize_total":{"description":"Total advertised prize, whole units of `prize_currency` (AUD from Racing Austra…","type":["integer","null"]},"prize_currency":{"description":"ISO 4217 currency of `prize_total` ('AUD'); 'USD' or 'CAD' on a US or Canadian…","type":["string","null"]},"rail":{"description":"Rail position for the meeting, as RA publishes it.","type":["string","null"]},"track_name":{"description":"RA's own name for the course this race runs on ('Hillside', 'Randwick', 'Main').","type":["string","null"]},"track_condition_changed_at":{"description":"UTC instant of the most recent logged track-condition, weather or rail transiti…","type":["string","null"]},"status":{"description":"Set when the race row is created and revised exactly once, if at all: to 'aband…","type":["string","null"]},"scratchings":{"items":{"type":"object"},"type":"array","description":"Scratched runners for this race: {name, number, barrier, scratched_at, late, em…"},"market_status":{"description":"Betting-market state (OPEN, SUSPENDED, CLOSED).","type":["string","null"]},"inplay":{"description":"True once the market is in-play.","type":["boolean","null"]},"market_closed_at":{"description":"UTC time at which the market was FIRST seen shut — the book stopped taking bets…","type":["string","null"]},"inplay_at":{"description":"UTC time at which the race was FIRST seen in-play — the actual off, as opposed…","type":["string","null"]},"market_state_source":{"description":"Which feed's market state produced `market_closed_at` / `inplay_at` on this rac…","type":["string","null"]},"tote_race_id":{"description":"TVG's race key (tvg_<track>_<date>_<n>) on a US or Canadian race, the same key…","type":["string","null"]},"tote_only":{"type":"boolean","description":"True on a North American race no bookmaker prices: it comes from TVG's race boa…","default":false},"surface":{"description":"Dirt, Turf or Synthetic: the surface a US or Canadian race is run on, after any…","type":["string","null"]},"awaiting_result":{"type":"boolean","description":"True on a race that has passed its advertised start and has no result on /v1/ra…","default":false}},"type":"object","required":["race_id","venue","race_number","category","start_time","country"]},"RaceResultOut":{"properties":{"race_id":{"description":"Race id, joinable to /v1/racing/price-history and (while the race is still open…","type":["string","null"]},"coverage_from":{"description":"Start time of the earliest result currently retained.","type":["string","null"]},"venue":{"type":["string","null"]},"venue_id":{"type":["string","null"]},"venue_canonical":{"type":["string","null"]},"venue_site":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"country":{"type":["string","null"]},"start_time":{"type":"string"},"race_name":{"type":["string","null"]},"distance_m":{"type":["integer","null"]},"track_condition":{"type":["string","null"]},"surface":{"description":"Dirt, Turf or Synthetic: the surface a US or Canadian race is run on, after any…","type":["string","null"]},"going":{"description":"Track condition word, normalised: Good, Soft, Heavy, Firm, Fast, Synthetic.","type":["string","null"]},"going_rating":{"description":"Numeric going rating 1-12 (the 4 in 'Good (4)'), or null.","type":["integer","null"]},"weather":{"type":["string","null"]},"places_paid":{"description":"Places the race paid, from the bookmakers' own terms at the close: for British…","type":["integer","null"]},"places_paid_by_book":{"description":"{bookmaker_key: places}: each book's OWN terms at the close, for every book on…","additionalProperties":{"type":"integer"},"type":["object","null"]},"race_class":{"description":"The first term of Racing Australia's official conditions line ('Maiden', 'Bench…","type":["string","null"]},"conditions":{"description":"Racing Australia's official conditions line, verbatim, on AU thoroughbreds from…","type":["string","null"]},"prize_total":{"description":"Total advertised prize for the race, whole units of `prize_currency`.","type":["integer","null"]},"prize_currency":{"description":"ISO 4217 currency of `prize_total` ('AUD'); 'USD' or 'CAD' on a US or Canadian…","type":["string","null"]},"status":{"type":"string","description":"interim | final | abandoned."},"status_note":{"description":"Only on `abandoned` rows: RA's own word for the non-run — \"abandoned\", \"postpon…","type":["string","null"]},"placings":{"items":{"type":"object"},"type":"array","description":"The placegetters: {position, number, name, win_price, place_price, sp, sp_note,…"},"runners":{"description":"One entry per runner: {number, box, name, position, status, abnormal, margin, t…","items":{"type":"object"},"type":["array","null"]},"field_status":{"type":"string","description":"Why `runners` is or is not there, per race — the field a caller was missing whe…","default":"unsupported"},"field_source":{"description":"Which collector owns `runners` for this race: `racing_australia` (AU thoroughbr…","type":["string","null"]},"field_note":{"description":"Prose for the non-`complete` states: which pass fills this code, when its norma…","type":["string","null"]},"completeness":{"description":"Added 2026-10-20, additive.","type":["object","null"]},"availability":{"description":"Added 2026-10-22, additive.","additionalProperties":{"type":"string"},"type":["object","null"]},"deductions":{"items":{"type":"object"},"type":"array","description":"Scratched runners and the deduction applied to bets already struck."},"dividends":{"description":"Dividends declared for the race.","type":["object","null"]},"sectionals":{"description":"NSW harness sectional times, or null.","type":["object","null"]},"tote_pools_final":{"description":"Australian tote pool sizes for this race as TAB settled them, or null.","type":["object","null"]},"resulted_at":{"type":["string","null"]},"market_closed_at":{"description":"UTC time at which the market was FIRST seen shut — the book stopped taking bets…","type":["string","null"]},"inplay_at":{"description":"UTC time at which the race was FIRST seen in-play — the actual off, as opposed…","type":["string","null"]},"market_state_source":{"description":"Which feed's market state produced `market_closed_at` / `inplay_at` on this rac…","type":["string","null"]},"race_id_aliases":{"items":{"type":"string"},"type":"array","description":"Other race_ids that identify this same race."}},"type":"object","required":["venue","race_number","category","country","start_time","status"]},"RaceRunnerOut":{"properties":{"number":{"type":["integer","null"]},"name":{"type":["string","null"]},"scratched":{"type":"boolean"},"rider":{"anyOf":[{"$ref":"#/components/schemas/PersonOut"},{"type":"null"}],"description":"The jockey (thoroughbred) or driver (harness); null for greyhounds."},"trainer":{"$ref":"#/components/schemas/PersonOut"},"combo":{"anyOf":[{"$ref":"#/components/schemas/ComboOut"},{"type":"null"}],"description":"This rider and this trainer together, same window."}},"type":"object","required":["scratched","trainer"]},"RacingBestOddsOut":{"properties":{"race_id":{"type":"string"},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"country":{"type":["string","null"]},"start_time":{"type":"string"},"race_name":{"type":["string","null"]},"track_condition":{"type":["string","null"]},"market_percentage":{"type":["number","null"]},"books_compared":{"type":"integer"},"scratchings":{"items":{"type":"object"},"type":"array","default":[]},"data_age_seconds":{"description":"Age in seconds of the OLDEST bookmaker quote behind this race.","type":["integer","null"]},"freshest_age_seconds":{"type":["integer","null"]},"refresh_tier":{"type":"string","description":"Which refresh rule this race is on, and therefore what the race-level `stale` m…","default":"live"},"stale":{"type":"boolean","default":false},"stale_bookmakers":{"items":{"type":"string"},"type":"array"},"cached":{"type":["boolean","null"]},"cache_age_seconds":{"type":["integer","null"]},"runners":{"items":{"type":"object"},"type":"array"}},"type":"object","required":["race_id","venue","race_number","category","country","start_time","books_compared","runners"]},"RacingChangesOut":{"properties":{"server_time":{"type":"string","description":"Send this back as `since` on your next poll."},"races":{"items":{"$ref":"#/components/schemas/ChangedRaceOut"},"type":"array"},"horizon":{"anyOf":[{"$ref":"#/components/schemas/ChangesHorizonOut"},{"type":"null"}],"description":"Present only when races past your plan horizon were held back: how many, and wh…"},"panel":{"description":"Free keys only (2026-11-19): the bookmakers a free key sees on this feed, any `…","type":["object","null"]}},"type":"object","required":["server_time"]},"RecentOut":{"properties":{"days":{"type":"integer"},"starts":{"type":"integer"},"wins":{"type":"integer"},"win_pct":{"type":["number","null"]}},"type":"object","required":["days","starts","wins"]},"RestatementOut":{"properties":{"id":{"type":"integer"},"dataset":{"type":"string"},"period":{"type":"string"},"period_kind":{"type":"string","description":"day or month."},"at":{"type":"string","description":"When the changed file was published (UTC)."},"reason":{"type":"string","description":"orphan_merge: the archive folded a duplicate race record onto the race that was…"},"rows_removed":{"description":"Rows in the earlier file and not in this one.","type":["integer","null"]},"rows_changed":{"description":"Rows present in both whose values changed.","type":["integer","null"]},"rows_added":{"description":"Rows in this file and not in the earlier one.","type":["integer","null"]},"sha256_before":{"description":"csv sha256 of the file replaced.","type":["string","null"]},"sha256_after":{"description":"csv sha256 of the file that replaced it.","type":["string","null"]},"detail":{"type":"object","description":"Row counts before and after, the diff method, and for orphan_merge the merges c…","default":{}}},"type":"object","required":["id","dataset","period","period_kind","at","reason"]},"RestatementsOut":{"properties":{"restatements":{"items":{"$ref":"#/components/schemas/RestatementOut"},"type":"array"},"count":{"type":"integer"},"notes":{"items":{"type":"string"},"type":"array","default":[]}},"type":"object","required":["restatements","count"]},"ResultsCoverageOut":{"properties":{"as_of":{"type":"string","description":"When these counts were computed (UTC)."},"days":{"type":"integer","description":"How many Sydney days the window spans, ending today."},"from_day":{"type":"string","description":"First Sydney date counted (inclusive)."},"to_day":{"type":"string","description":"Last Sydney date counted — today in Sydney, so it is a PART day and its races a…"},"coverage_from":{"description":"Start time of the earliest result retained anywhere in the store, the same valu…","type":["string","null"]},"results_floors":{"items":{"type":"object"},"type":"array","description":"From when a RESULT exists at all, per country and category, MEASURED from the s…"},"field_floors":{"items":{"type":"object"},"type":"array","description":"Machine-readable twin of `field_scope` (2026-10-15): one row per country and ca…"},"races":{"type":"integer","description":"Every stored result in the window, all codes and all states."},"complete":{"type":"integer","description":"Races carrying a `runners` field."},"pending":{"type":"integer","description":"A collector exists and the pass that normally fills the race has not been yet."},"overdue":{"type":"integer","description":"That pass has been and gone with no field written, but the collector still re-a…"},"unavailable":{"type":"integer","description":"Past the collector's own retry horizon: no scheduled pass still selects the row."},"unsupported":{"type":"integer","description":"No collector has ever existed for the code."},"not_applicable":{"type":"integer","description":"The race did not run (abandoned, postponed or transferred) and has no field — n…"},"collectable":{"type":"integer","description":"races - unsupported - not_applicable: the races in this window that could carry…"},"complete_pct":{"description":"complete / races as a percentage, across the whole window including codes that…","type":["number","null"]},"supported_complete_pct":{"description":"complete / collectable: the figure to read if you only care about the codes we…","type":["number","null"]},"by_category":{"items":{"type":"object"},"type":"array","description":"One row per country + category over the window: {country, category, field_sourc…"},"by_day":{"items":{"type":"object"},"type":"array","description":"One row per Sydney day + country + category, newest first, with the same counts."},"venues_incomplete":{"items":{"type":"object"},"type":"array","description":"Venue-days still missing a field in a code we DO collect: {day, venue, venue_id…"},"venues_incomplete_truncated":{"type":"boolean","default":false},"field_scope":{"type":"string","description":"Prose: which codes are collected, from when, and what the never-collected codes…"},"archive_races_in_window":{"type":"integer","description":"AU and NZ closing-line archive races that started in this window at least 3 hou…","default":0},"archive_races_without_result":{"type":"integer","description":"Of archive_races_in_window, races with no result row at all: a price history wi…","default":0},"archive_races_result_unlinked":{"description":"Of archive_races_without_result, races for which a result DOES exist but under…","type":["integer","null"]},"result_join":{"description":"How many priced races join to a stored result, over the same window and populat…","type":["object","null"]},"result_completeness":{"additionalProperties":{"type":"integer"},"type":"object","description":"Added 2026-10-20: the window's races by RESULT completeness — `provisional`, `f…"},"field_sources_refused":{"items":{"type":"object"},"type":"array","description":"Full-field sources currently refusing our collector (2026-10-19): one row per s…"},"availability":{"additionalProperties":{"additionalProperties":{"type":"integer"},"type":"object"},"type":"object","description":"Added 2026-10-22: the window's races counted by each part of `availability` on…"}},"type":"object","required":["as_of","days","from_day","to_day","races","complete","pending","overdue","unavailable","unsupported","not_applicable","collectable","by_category","by_day","venues_incomplete","field_scope"]},"RunPIR":{"properties":{"at_m":{"type":"integer","description":"Metres from the finish, e.g."},"position":{"type":"integer"}},"type":"object","required":["at_m","position"]},"RunPlacegetter":{"properties":{"position":{"type":"integer"},"name":{"type":"string"},"runner_ref":{"description":"That horse's ra: code from that meeting.","type":["string","null"]},"weight_kg":{"type":["number","null"]}},"type":"object","required":["position","name"]},"RunsSourceBlock":{"properties":{"feed":{"type":"string","description":"Where the data comes from: our own collection of published AU thoroughbred resu…","default":"puntersedge"},"region":{"type":"string","default":"AU"},"sport":{"type":"string","default":"thoroughbred"},"coverage_from":{"type":"string","description":"The first complete card in the store.","default":"2026-09-01"},"coverage_to":{"description":"Sydney date of the latest race in the store.","type":["string","null"]},"collectors":{"items":{"type":"string"},"type":"array","description":"Which of our collectors can contribute a run.","default":["racing_australia","tabtouch"]},"refreshed_hourly":{"type":"boolean","description":"The store is rebuilt from our own results at :59 each hour, after the results p…","default":true}},"type":"object"},"ScanOut":{"properties":{"as_of":{"type":"string"},"window_minutes":{"type":"integer"},"races_scanned":{"type":"integer"},"filters":{"type":"object"},"method":{"type":"object"},"results":{"items":{"type":"object"},"type":"array","description":"Runners that cleared the filters, largest move first, each with its race header.","default":[]},"cached":{"type":"boolean","default":false}},"type":"object","required":["as_of","window_minutes","races_scanned","filters","method"]},"SourceBlock":{"properties":{"feed":{"type":"string","description":"Where the data comes from: our own collection of published AU greyhound results…","default":"puntersedge"},"region":{"type":"string","default":"AU"},"sport":{"type":"string","default":"greyhound"},"coverage_from":{"type":"string","description":"Sydney date of the OLDEST run in the store.","default":"2026-09-13"},"results_from":{"type":"string","description":"Sydney date our own settled results begin.","default":"2026-09-13"},"coverage_to":{"description":"Sydney date of the latest race in the store.","type":["string","null"]},"collectors":{"items":{"type":"string"},"type":"array","description":"Which of our collectors can contribute a run: `fasttrack` = Victorian tracks to…","default":["fasttrack","grsa","pointsbetau"]},"refreshed_hourly":{"type":"boolean","description":"The store is rebuilt from our results at :58 each hour, after both collectors h…","default":true}},"type":"object"},"SplitRecord":{"properties":{"starts":{"type":"integer"},"wins":{"type":"integer"},"seconds":{"type":"integer"},"thirds":{"type":"integer"}},"type":"object","required":["starts","wins","seconds","thirds"]},"SportOddsEventOut":{"properties":{"id":{"type":"string"},"sport_key":{"type":"string"},"sport_title":{"type":"string"},"commence_time":{"type":"string"},"home_team":{"type":["string","null"]},"away_team":{"type":["string","null"]},"competition":{"type":["string","null"]},"bookmakers":{"items":{"type":"object"},"type":"array"},"odds_format":{"type":["string","null"]},"fetched_at":{"type":["string","null"]},"data_age_seconds":{"type":["integer","null"]},"freshest_age_seconds":{"type":["integer","null"]},"stale":{"type":"boolean","default":false},"stale_bookmakers":{"items":{"type":"string"},"type":"array","default":[]},"cached":{"type":["boolean","null"]},"cache_age_seconds":{"type":["integer","null"]},"canonical_event_id":{"type":["string","null"]},"data_quality":{"type":["object","null"]}},"type":"object","required":["id","sport_key","sport_title","commence_time","home_team","away_team","bookmakers"]},"SportOut":{"properties":{"key":{"type":"string"},"title":{"type":"string"},"group":{"type":["string","null"]},"active":{"type":"boolean"},"cached":{"type":["boolean","null"]},"cache_age_seconds":{"type":["integer","null"]},"canonical_event_id":{"type":["string","null"]},"data_quality":{"type":["object","null"]}},"type":"object","required":["key","title","group","active"]},"SportResultOut":{"properties":{"sport_key":{"type":"string"},"competition":{"description":"The league's own name for the competition, verbatim ('Telstra Premiership', '20…","type":["string","null"]},"season":{"type":["integer","null"]},"round_title":{"description":"The league's round label ('Round 27', 'Grand Final').","type":["string","null"]},"home_team":{"type":"string","description":"The LEAGUE's spelling, which is not always a bookmaker's: the NRL publishes nic…"},"away_team":{"type":"string"},"home_score":{"description":"Null until the league calls the match final — never 0 for an unplayed or abando…","type":["integer","null"]},"away_score":{"type":["integer","null"]},"status":{"type":"string","description":"`final` once the league says so; otherwise the league's own word for the state…"},"start_time":{"description":"Scheduled kick-off, UTC.","type":["string","null"]},"venue":{"type":["string","null"]},"detail":{"description":"The code's own scoring and state as the league published it.","type":["object","null"]},"event_id":{"description":"The fixture in GET /v1/sports/{sport_key}/odds this result belongs to, or null…","type":["string","null"]},"match_note":{"description":"How the result reached its fixture: `exact` (both team names identical once nor…","type":["string","null"]},"source":{"type":"string","description":"Which league published it: `nrl` or `afl`."}},"type":"object","required":["sport_key","home_team","away_team","status","source"]},"SportsArbOut":{"properties":{"event_id":{"type":"string"},"sport_key":{"type":"string"},"home_team":{"type":["string","null"]},"away_team":{"type":["string","null"]},"commence_time":{"type":"string"},"is_arb":{"type":"boolean"},"arb_pct":{"type":"number"},"optimal_stakes":{"items":{"type":"object"},"type":"array"},"max_overlay_pct":{"type":"number"},"selections":{"items":{"type":"object"},"type":"array"}},"type":"object","required":["event_id","sport_key","home_team","away_team","commence_time","is_arb","arb_pct","optimal_stakes","max_overlay_pct","selections"]},"ToteBoardOut":{"properties":{"date":{"type":"string"},"source":{"type":"string","default":"tvg"},"coverage_from":{"description":"The first race date held.","type":["string","null"]},"races":{"items":{"$ref":"#/components/schemas/ToteRaceOut"},"type":"array"},"note":{"type":"string"}},"type":"object","required":["date","races","note"]},"ToteRaceOut":{"properties":{"source_race_id":{"type":"string","description":"TVG's race key, tvg_<track>_<date>_<n>; the same key /v1/racing/results files t…"},"race_id":{"description":"The priced race this is, as next-to-go and price-history name it; null while no…","type":["string","null"]},"venue":{"type":"string","description":"TVG's spelling of the track."},"track_code":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"},"race_number":{"type":"integer"},"race_date":{"type":"string","description":"US Eastern race date."},"post_time":{"type":"string","description":"TVG's post time, UTC."},"tote":{"type":"object","description":"North American tote odds for this race, from TVG's public race board (US and Ca…"},"history":{"description":"How this race's tote odds moved, oldest first: one point per read in which the…","items":{"type":"object"},"type":["array","null"]},"exotics":{"description":"Probables and will-pays from the race's last read, or null (only with exotics=t…","type":["object","null"]}},"type":"object","required":["source_race_id","venue","track_code","country","category","race_number","race_date","post_time","tote"]},"TrackConditionsOut":{"properties":{"date":{"type":"string","description":"Meeting day, Australia/Sydney calendar date."},"meetings":{"items":{"type":"object"},"type":"array"},"note":{"type":"string"},"coverage_from":{"description":"The first meeting day (Australia/Sydney) this store holds anything for -- the e…","type":["string","null"]},"official_block_from":{"description":"The first meeting day Racing Australia's own meeting block (the `racing_austral…","type":["string","null"]}},"type":"object","required":["date","meetings","note"]},"UpstreamBlock":{"properties":{"state":{"type":"string","description":"`ok` when Racing Australia is answering form reads, `walled` when it is serving…"},"walled_since":{"description":"UTC time of the first refusal in the current streak, null when `state` is `ok`.","type":["string","null"]},"walled_hours":{"description":"How long the current streak has run, in hours, null when `state` is `ok`.","type":["number","null"]},"note":{"type":"string","description":"One sentence saying what that means for this job, in plain words."}},"type":"object","required":["state","note"]},"UsageOut":{"properties":{"plan":{"type":"string"},"trial":{"description":"Present only on a new free key covered by the reverse trial (2026-11-21): for i…","type":["object","null"]},"account_email_masked":{"type":["string","null"]},"password_set":{"type":["boolean","null"]},"billing_attached":{"type":["boolean","null"]},"credits_used":{"type":"integer"},"credits_limit":{"type":"integer"},"credits_remaining":{"type":"integer"},"reset_at":{"description":"When this key's credit counter was LAST set to zero, in UTC, written without an…","type":["string","null"]},"period_start":{"description":"Start of the current credit period, in UTC, written without an offset (read it…","type":["string","null"]},"next_reset_at":{"description":"00:00 UTC on the 1st of next month, written without an offset (read it as endin…","type":["string","null"]},"burn_rate_per_day":{"type":"number","default":0.0},"projected_month_end_credits":{"type":"integer","default":0},"projected_exhaustion_date":{"type":["string","null"]},"warning":{"type":["string","null"]},"upgrade":{"type":["object","null"]},"all_time":{"type":"object","default":{}},"all_time_by_endpoint":{"items":{"type":"object"},"type":"array","default":[]},"usage_by_endpoint":{"items":{"type":"object"},"type":"array","default":[]},"recent_activity":{"items":{"type":"object"},"type":"array","default":[]},"usage_by_endpoint_period":{"items":{"type":"object"},"type":"array","default":[]},"recent_activity_period":{"items":{"type":"object"},"type":"array","default":[]},"pool":{"type":["object","null"]},"overage":{"type":"object","default":{}},"credits_remaining_with_overage":{"type":"integer","default":0},"plans":{"additionalProperties":{"type":"object"},"type":"object","default":{}}},"type":"object","required":["plan","credits_used","credits_limit","credits_remaining","reset_at"]},"VenueOut":{"properties":{"venue_id":{"type":"string"},"venue_canonical":{"type":["string","null"]},"venue_site":{"type":["string","null"]},"country":{"type":["string","null"]},"categories":{"items":{"type":"string"},"type":"array"},"spellings":{"items":{"type":"string"},"type":"array"}},"type":"object","required":["venue_id","venue_canonical","venue_site","country","categories","spellings"]},"api__routes__racing_connections__RaceHeadOut":{"properties":{"race_id":{"type":"string"},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"country":{"type":"string"},"code":{"type":"string"},"start_time":{"type":["string","null"]}},"type":"object","required":["race_id","country","code"]},"api__routes__racing_markets__RaceHeadOut":{"properties":{"race_id":{"type":"string"},"venue":{"type":["string","null"]},"race_number":{"type":["integer","null"]},"category":{"type":["string","null"]},"country":{"type":["string","null"]},"start_time":{"type":["string","null"]},"places_paid":{"type":["integer","null"]},"status":{"type":"string","description":"upcoming · jumped · resulted."},"source":{"type":"string","description":"live (read from the open market) or closes (read from the stored last observati…"}},"type":"object","required":["race_id","status","source"]}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"**Get a free key** at [puntersedge.online/api](https://puntersedge.online/api#s…"}}}}