The bulk files
Changed onBetfair's model: the archive cut into one gzip CSV per tier, sport and UTC day, every bookmaker and exchange (BETDAQ never; each file's bookmakers_only says whether it holds bookmakers alone) — closing (the closing lines), 60s (the board as it stood at each whole minute) and changes (every price change), cut the night after the day (the release lag); 5s and 1s (the board as it stood at each 5-second mark or at each second) are cut by arrangement and listed only where a file exists. Each CSV row names its event's venue (a race's course) and event_name (a teamless event's name) in two columns after op (changes, 60s, 5s, 1s) or inplay_seen (closing), empty when the event has neither, from 2026-11-13 (event identity); on 2026-11-13 itself a race carries its course only where it was recorded (from 12:49 UTC, and not on a card listed earlier whose prices did not move after), and no day before carries the columns: an archived file is never rewritten, and the JSON routes (snapshot, event history, closing) serve every course the archive proves for those days. An in_play column, where present, stays last. Lists each file with its size and its price; download it from its url. Free. A day file holds every bookmaker and market of its sport, so an account whose scope narrows historical, or whose plan names a bookmaker list, is 403 files_need_whole_scope (contact OddsRelay to arrange files).
Checks, in this order (the live feed's own): the per-address shield, the key, the flood cap, a suspended account, a browser key's website, the API version; region (uk or one international code; outside the regions your key reads 403 region_not_in_scope), historical in the key; the parameters (each one this route reads, once); your account's scope or your plan's bookmaker list narrowing it (403 files_need_whole_scope); tier, then from and to.
Request
- Base URLhttps://api.oddsrelay.io
- Auth
- HTTP bearer
- or API key in header x-api-key
Query parameters
closing, 60s, 5s, 1s or changes; none = every tier. closing, 60s and changes are cut nightly; 5s and 1s by arrangement, listed only where a file exists.
Comma list: sport directories a value prefixes (or that prefix it).
Files of this UTC day or later (an ISO-8601 instant).
Files of this UTC day or earlier (an ISO-8601 instant).
uk, the archive's own region (default), or one international code. Each international code is its own archive of its own venues: bookmakers, and in ca also STX (stx_ca, Ontario's betting exchange, as /v2/odds/raw serves it there: its back prices under each market's key, its lay prices under <key>_lay; bookmakersOnly=true leaves it out, and a file's bookmakers_only says whether the file holds its rows), recorded from 2026-11-16T05:50Z, the lane's first checkpoint (its first day 2026-11-16: an instant before that day is 400 date_out_of_range with earliest 2026-11-16T00:00:00.000Z, one inside it before the first checkpoint 404 no_history), gr from its switch-on at 2026-11-16T18:19Z (a gr page asked for before it is empty, and free), cz from its first rows in December 2026 (likewise empty, and free, before them), with uk's tiers, release lag and rules. Outside the regions your key reads: 403 region_not_in_scope; any other code is 404 unknown_region.
Response
The listing.
Changes
- info
added the new enum value
czto thequeryrequest parameterregion
- info
- info
added the new enum value
auto thequeryrequest parameterregion - info
added the new enum value
cato thequeryrequest parameterregion
18 more changes in this revision
- info