DocumentationSubjects
Horses and people
Horses, drivers and trainers each have one id, joined to every runner they had.
Finding one
Search by name with /v1/horses, /v1/drivers or /v1/trainers, or take the id from any runner.
Their record
A horse's starts lists every run, newest first, with the race id to join to its result. Earnings are summed by year and currency.
/v1/horsesList horses/v1/horses/{id}One horse/v1/horses/{id}/startsA horse's starts/v1/horses/{id}/earningsA horse's earnings/v1/driversList drivers/v1/drivers/{id}One driver/v1/drivers/{id}/startsA driver's drives/v1/trainersList trainers/v1/trainers/{id}One trainer/v1/trainers/{id}/startsA trainer's runners