APIHorseRacing

Labs

Open tools built on our own data.

Every one of these runs against the same API you would use, with the same key. We publish the code, including the parts where the answer was no. A tool that only ever confirms what you hoped is worth nothing.

Client libraries

All 63 endpoints, in four languages, with no dependencies in any of them. A free key works with every one. How they work.

What is here

Command line tools you can run yourself, and studies you can reproduce. Python, nothing beyond the standard library, and each reads your key from one config file.

Or just ask your assistant

Everything above is a command line tool you run yourself. If you would rather not, the same data answers questions in plain English through Claude, ChatGPT or any Model Context Protocol client.

MCP server Live

Ask, rather than run

14 curated tools over the same API and the same key. No install, nothing running on your machine, and your plan applies exactly as it does everywhere else. Four of the tools work on a free key.

Set it up
Worth asking

“Is there a draw bias at Chester over five furlongs?”

“How has this trainer done at Ascot on soft ground?”

“Have these two horses ever met?”

Three rules every tool here follows

Because a number without these is not worth printing.

It tells you which key it ran on

Every tool checks /v1/account/usage and prints the plan and window before anything else. A table built on a free key looks identical to the real thing and is not.

It prints the interval, not just the number

Every figure comes back with a confidence range and a sample size. If the interval spans 1.00 the tool says so in the same line, rather than leaving you to notice.

It caches what it fetched

Downloaded data lands under the repo's own /data, so a range you have already pulled is never pulled twice and a re-run costs nothing.

Run any of them on a free key.

They will work, on a delayed window, and each one says so at the top of its output rather than quietly producing a smaller answer.