APIHorseRacing DEC5Calendar354 so far

Documentation / Changelog

Changelog

20 entries, newest first. Version one only ever gains fields: we will not remove or rename a documented field that is in use. A field can become null where a source stops publishing it, and the coverage page will say so.

  1. Average speed for every finisher

    Each finisher in a race and in a result now carries avg_speed, its average speed over the race as {"kmph": 58.4, "mph": 36.3}. The winner's is the distance over the winning time; a beaten runner's is estimated from its lengths behind the winner at the winner's pace. It is null for non-finishers and wherever the winning time, the distance or a margin above the runner is not known. It covers the whole archive.

  2. Race times on the course's own clock, with its zone and the off in UTC

    Races outside Great Britain and Ireland were served with their off time on the UK clock, so a French race read an hour early all year and a US evening race read in the small hours. Every race now gives time on the course's own clock, as the documentation always said, with time_zone naming that clock (Europe/Paris, America/New_York and so on) and off_utc giving the same moment in UTC. It applies to the whole archive, so a stored French time reads one hour later when fetched again. Times in Great Britain and Ireland are unchanged.

  3. Lists come 50 at a time, and busy answers are shared

    Every list now defaults to 50 rows and returns at most 50. A larger limit is read as 50 rather than refused, so code asking for more keeps working and pages with the cursor or offset it already uses. Today's and upcoming racecards and results by day are now served from a shared copy that is at most a minute old (an hour for a finished day), and every such answer carries an X-Cache header.

  4. Owner ids that never clash

    Owners come with no identifier of their own, so owner_id was worked out from the owner's name, and across more than 230,000 owners that gave 14 pairs of different owners the same id. Every owner now has an id of its own that never changes, on every runner, in /v1/owners/search and in /v1/owners/{owner_id}. An old owner_id still answers until 23 November 2026, with a Deprecation header and the new id in the answer's owner_id, so stored ids can be swapped at any time before then.

  5. The window refusal is outside_plan_window on every page

    A date outside your plan's window is refused with 403 outside_plan_window. Parts of the documentation, the OpenAPI spec and the Postman collection still named it outside_window, and two of them said a free key gets it on an endpoint it cannot reach, where the answer is upgrade_required. They now match what the API sends. If your code checks for outside_window, change it to outside_plan_window.

  6. Bearer tokens work on every request; keys in the address retire on 20 November

    Authorization: Bearer is now read on every request. The server did not always pass that header on, so some calls sent that way were refused as unauthorized with a valid key. A key in the address (?key=) still works until 19 November 2026, with a key_notice in meta and Deprecation and Sunset headers on the answer; from 20 November it is refused, because a key in a link ends up in logs and browser history. Send it in the X-API-Key header or as a bearer token. Run, on every endpoint page of the documentation, sends it in the header for you.

  7. Free key back to yesterday only: the trial has finished

    Our month-long trial of same-day data on the free key has finished, so the free key returns to its earlier shape: yesterday's racing only, settled, each raceday taken at the course's own day, with 50 lookups a day and the prices held back. Today's cards and results and the cards ahead are on Live and above, and /v1/racecards/today and /v1/racecards/upcoming now answer a free key with upgrade_required. GET /v1/results/yesterday is unchanged and is the free key's main read. Nothing changes on any paid plan.

  8. Runner status on every runner

    Every runner on a race, its runners and its result now carries run_status: ran, non_runner, withdrawn, doubtful, disqualified or unknown. A runner with no position used to be ambiguous between a scratch and a starter whose place was not published; run_status says which. book_percentage covers the runners that ran, so it can be rebuilt from them. It applies to the whole archive.

  9. Canadian and South American courses labelled correctly

    North American racing arrives as one feed, so Woodbine, Woodbine Mohawk, Mohawk Park, Fort Erie, Assiniboia Downs, Century Mile, Hastings and Northlands Park read country USA. They now read CAN, Gavea BRA and San Isidro ARG, across the archive. region stays USA, the feed they arrive in.

  10. Harness racing classified as Harness

    Races at harness tracks such as Yonkers, Saratoga Harness, Woodbine Mohawk and The Meadows arrived as Flat or with no race type. All 9,095 now read run_type Harness, new ones within ten minutes, so run_type=Flat no longer returns them.

  11. North American card timing documented

    US and Canadian cards are published on race day only, so racecards/upcoming shows them for the current day and nothing beyond it. The endpoint page now says so.

  12. What a free key reads

    A free key now reads yesterday and today, each raceday taken at the course's own day rather than at UTC, plus whatever is declared ahead, with 50 lookups a day. GET /v1/results/yesterday is new and returns exactly that. Starting prices, the market and the book percentage come back as null with a note naming the plan that carries them, rather than being dropped from the response. The window it replaces ran from seven days ago to twenty four hours ago on an allowance large enough to run a product on without ever paying, which is not what a free key is for. The trade is plain: anything before yesterday, and the prices on the free key's own days, are the paid plans. Existing keys keep working and read the new window from today, with nothing to reissue.

  13. Price movement on every runner

    Runners now carry price_path: the opening price where the source published one, any prices touched, the drift against the starting price, and a source field naming which kind of history you have. Britain carries an opening price on 59% of runners and Ireland on 52%; elsewhere it is absent, and the field says so rather than returning null and leaving you to guess.

  14. A/E now carries a confidence interval

    Every statistics response returns a_e_range, significant and low_sample alongside a_e. An A/E of five over four runs is noise, and it used to look like the strongest signal in the payload.

  15. Void and abandoned races excluded from statistics

    A race with no recorded winner contributed a full unit of expected wins and no actual win, pulling every A/E below 1.00 and penalising whoever happened to run in more of them. They are now excluded; pass include_unsettled=1 to see them anyway.

  16. Welsh and Northern Irish racing folded into GB and NIR

    The source publishes truncated country codes and Welsh racing was arriving as its own jurisdiction, understating Britain by about four percent. Virtual racing is now excluded outright.

  17. Official ratings outside 0 to 200 dropped

    Britain was returning figures from minus seventy two to nine hundred and ninety nine, and France to two thousand one hundred. Those are sentinels, not ratings. Anything implausible is now null, which is honest.

  18. Tote dividends and prizes normalised

    Dividends came back as strings with a currency glued on and place returns comma-joined into one field. They are now numbers, with a currency alongside and place dividends as an array.

  19. Market position and favourite derived at load

    The source leaves both empty on a settled race. Runners are now ranked on decimal price, shortest first, with joint favourites sharing rank one.

  20. First public release

    60 endpoints over twelve jurisdictions, with a free key that reads real races on a delayed window.