APIHorseRacing DEC5Calendar354 so far

Documentation / Reference

What a free key reaches

The same production database every paid plan reads, on a short window with the prices held back. Not a sandbox, not sample data, and not a trial.

The window

A free key reads yesterday only, with each raceday taken at the course's own day rather than at UTC. Today, the cards ahead and anything before yesterday are the paid plans. The window moves with the clock, so it never runs out.

# inside the window: yesterday
curl -H "X-API-Key: $KEY" \
  "https://api.apihorseracing.com/v1/results/2026-12-04"

# outside it: today
curl -H "X-API-Key: $KEY" \
  "https://api.apihorseracing.com/v1/results/2026-12-05"

The second returns an error rather than an empty list, because a blank result looks like missing data and this is not:

{
  "error": {
    "code": "outside_plan_window",
    "message": "A free key reads 2026-09-13 only. Requested 2026-09-14.",
    "your_window": { "from": "2026-09-13", "to": "2026-09-13" }
  }
}

What it reaches

17 of the 68 endpoints, inside that window:

GroupReachable
Reference & coverage5 of 7
Racecards & meetings6 of 9
Races & markets5 of 9
Webhooks & account1 of 3

What it does not reach

Two groups need a paid plan whatever the date, because they are not a question of window:

  • Race reports — 2 endpoints
  • Horses & pedigree — 8 endpoints
  • Trainers — 7 endpoints
  • Jockeys & owners — 10 endpoints
  • Courses & bias — 6 endpoints
  • Market & analysis — 7 endpoints

These are the computed statistics and the written race reports. Everything else is available to you on yesterday's racing.

Limits

LimitFree keyOn exceeding it
Requests a minute 60 429 with Retry-After. Wait and carry on.
Requests a day 50 429 with quota_exceeded. Retrying will not help until it resets.

Both figures come back on every response, so you never have to guess:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 57
X-RateLimit-Reset: 34
X-Quota-Limit: 50
X-Quota-Remaining: 14832

The usage endpoint returns the same figures if you would rather poll than read headers.

Checking your own window

One call answers what exists and what your key personally reaches, which makes it worth making at startup:

curl -H "X-API-Key: $KEY" "https://api.apihorseracing.com/v1/meta/coverage"

The meta block on every response carries your plan and window too, so the answer is never more than one request away.

Getting one

Sign in with Google and a key is issued immediately. No card, and nothing to cancel.

Get a free key — that page covers the three calls worth making first, and what each one tells you.