Home
The Racing API
The Racing Api Distances Structure
The Racing Api Distances Structure
Distances schema from The Racing API
Type: object
Properties: 13
Required: 13
Horse Racing Sports Statistics Betting Analytics
Distances is a JSON Structure definition published by The Racing API, describing 13 properties, of which 13 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
dist
dist_y
dist_m
dist_f
times
runs
1st
2nd
3rd
4th
a/e
win_%
1_pl
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/the-racing-api/refs/heads/main/json-structure/the-racing-api-distances-structure.json",
"name": "Distances",
"description": "Distances schema from The Racing API",
"type": "object",
"properties": {
"dist": {
"type": "string",
"name": "Distance"
},
"dist_y": {
"type": "string",
"name": "Distance yards"
},
"dist_m": {
"type": "string",
"name": "Distance metres"
},
"dist_f": {
"type": "string",
"name": "Distance furlongs"
},
"times": {
"items": {
"$ref": "#/components/schemas/TimesGoing"
},
"type": "array",
"name": "Times"
},
"runs": {
"type": "integer",
"name": "Runs"
},
"1st": {
"type": "integer",
"name": "1st place finishes"
},
"2nd": {
"type": "integer",
"name": "2nd place finishes"
},
"3rd": {
"type": "integer",
"name": "3rd place finishes"
},
"4th": {
"type": "integer",
"name": "4th place finishes"
},
"a/e": {
"type": "number",
"name": "Actual/expected"
},
"win_%": {
"type": "number",
"name": "Win percentage (decimal)"
},
"1_pl": {
"type": "number",
"name": "One unit p/l at SP"
}
},
"required": [
"dist",
"dist_y",
"dist_m",
"dist_f",
"times",
"runs",
"1st",
"2nd",
"3rd",
"4th",
"a/e",
"win_%",
"1_pl"
]
}
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/the-racing-api-distances-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.