DocumentationStatistics: horses
Horse form
AnalystMCP: horse_form
The form line, a rolling km time and a consistency score over the last starts.
Try it
Runs against the real API with your keyNo key yet? Get a free key and it is filled in here for you.
https://api.harnessracingapi.com/v1/stats/horses/{id}/formParameters
idstringrequiredThe horse id, in the path
startsintegerHow many recent starts, at most 20
Returns
One object in data with these fields.
formstringPlaces, newest first; 0 when out of the places or not finishing
rolling_kmstringAverage km time over these starts
consistencynumberShare of starts in the first three, %
trendstringimproving, steady or declining
sampleintegerStarts used
timedintegerOf those, starts with a km time
Example answer
A real answer from the API, read in the last six hours.
{
"data": {
"horse": {
"id": "hr_hs_3ehemezb",
"name": "Hamilton Du Ham"
},
"form": "1-9-4-0-0-1-6-3-9-4",
"rolling_km": "1:12.0",
"consistency": 30,
"trend": "declining",
"sample": 10,
"timed": 8
},
"meta": {
"about": "form is newest first: the place, 0 out of the places or not finishing; rolling_km over the timed starts; trend compares the newer half with the older (0.3 s a km either way)"
}
}