Internal

Capture F1 odds snapshot

Capture a point-in-time snapshot of every F1 market venue — sportsbook (Pinnacle), exchanges (Smarkets, Matchbook) and prediction markets (Polymarket, Kalshi) — and persist it to GCS. Requires X-Internal-Secret header. Internal use only (Cloud Scheduler).

post/v1/internal/odds-capture

Request

  • Base URL: https://api.racehooks.io
  • URL: https://api.racehooks.io/v1/internal/odds-capture
  • Auth: API key in header X-Internal-Secret

Query parameters

sourcesstring

Comma-separated subset: pinnacle, smarkets, matchbook. Default: all.

dryRunstring

Set to 'true' to poll without persisting.

nearOnlystring

Set to 'true' for the MINUTE tick: capture only when now is inside a race's near window (T-180min .. T+150min) per market-benchmark/_state/next-starts.json, otherwise answer 200 having polled nothing. Never rewrites that pointer.

booksstring

Set to 'false' to capture prints only. Default: also capture the bid/ask ladder with sizes.

Response

Default Response

Changes

No recorded changes to this operation across all 1 revision of this API.