HORSERACINGAPI --:--:-- UTC Sign inFree key

Horse racing API documentation

Every result, every runner, five nations.

HorseRacingAPI serves the official results of every race in the United States, Great Britain, Ireland (with Northern Ireland), France and South Africa since 1 January 2022, and every new result as it is declared. Each race comes with its conditions and every runner in finishing order, with the horse, jockey, trainer and owner.

It is a plain REST API: 19 GET endpoints answering JSON, one key in a header, our own stable ids that link every race to its meeting, course and people. People use it for results pages and apps, form tools, research, alerts, and assistants that answer questions about racing.

Every page here has the call, a Try it panel that runs it with your key, code in four languages, every parameter and field, and a real example answer.

Start here

  1. 01Get a keySign in with Google and your free key is made at once, and saved here so Run works on every page.
  2. 02Make your first callYesterday's results from all five nations, on the free key. Run it below.
  3. 03Read the answerMeetings, races, and every runner in order. The quick start walks through it.
Your first callGET /v1/results/yesterday, on any plan
No key yet? The free key is made the moment you sign in, and appears here by itself.Get a free key
https://api.horseracingapi.org/v1/results/yesterday?country=FR&per_page=1

Press Run to see the live answer here.

curl "https://api.horseracingapi.org/v1/results/yesterday?country=FR&per_page=1" \
  -H "X-API-Key: hra_live_…"

Every subject

Results and races

Days of results, single races, the newest results and race search.

Read the guide

Meetings

Every meeting on a day, and one meeting with its races.

Read the guide

Trainers and owners

Opening a trainer or an owner from any result.

Read the guide

Courses and nations

The five nations, every course in them, and what each publishes.

Read the guide

Every endpoint

On the free keyOn the Results plan

ResultsDays of results, the newest as they are declared, single races and race search.

MeetingsEvery meeting on a day, and one meeting with all its races.

HorsesFind a horse, its profile and record, and its last ten runs.

JockeysFind a jockey, their record, and their last ten rides.

Trainers and ownersTrainers and owners, opened from any result they appear in.

ReferenceThe five nations, every course, and your own usage.

Popular calls

Use with Claude and agents

Assistants and agents read HorseRacingAPI three ways. The MCP server gives Claude, ChatGPT, Cursor or Claude Code the API as tools, under your plan. The agent skill is one file that teaches an agent the whole API; download skill.md and save it as ~/.claude/skills/horseracingapi/SKILL.md, or upload it as a skill in Claude's settings. The full manual is everything in one file.

MCP server

https://horseracingapi.org/mcp

Add it as a connector in Claude or ChatGPT, or with your key in Cursor and Claude Code. Every tool is on the MCP tools page.

Agent skill

https://horseracingapi.org/skill.md

One file that teaches an agent the whole API. Save it as ~/.claude/skills/horseracingapi/SKILL.md, or upload it as a skill in Claude's settings.

The full manual

https://horseracingapi.org/documentation/manual.md

Every endpoint, parameter, sample and guide in one markdown file, to paste into any assistant.

llms.txt

https://horseracingapi.org/llms.txt

The short index an assistant reads first, to decide what else to fetch.

Plans in short

PlanReadsRateAllowance
Free key, freeYesterday's results, 4 endpoints10 a minute50 a day
Results plan, $29 a monthEverything since 2022, all 19 endpoints60 a minute30,000 a month

The yearly Results plan is $299. Pricing has the rest, and Plans and limits the headers.

What is new

The rest

Questions people ask

How far back does it go?

To 1 January 2022, in all five nations, the year the United States began publishing the full finishing order. Nothing earlier is served. Results and races

How fresh are the results?

New results appear as they are declared. Every answer carries meta.data_as_of, so you always know how fresh it is. Results and races

What does the free key read?

Yesterday's results from all five nations, the nations, the courses and your usage: 4 endpoints, 50 calls a day, no card. Plans and limits

Are odds or breeding included?

No. No odds or prices of any kind, no sire, dam or breeding, no prize money and no bulk downloads, on any plan. Horses and jockeys

Why is a winning time empty?

Some nations do not publish one, or a race class. We leave it null rather than guess. Coverage

Can an assistant use it?

Yes. Add the MCP server as a connector and ask in plain English, or give an agent the skill. MCP server