DocumentationDrivers and trainers
List trainers
Archive
Trainers by country, with their runners and wins.
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/trainersParameters
countrystringOne or more country codes, comma separated
FRSENOFIDKBENLDECHATITESHUIEUSCAAUNZ
pageintegerPage number, from 1
cursorstringThe next_cursor from the last answer
limitintegerItems a page, at most 50
Returns
A list in data, each item with these fields, and paging in meta.
idstringOur id
namestringName as published
countrystringMain country
startsintegerRunners held
winsintegerWins held
win_ratenumberWins per start, %
firstdateFirst runner held
Example answer
A real answer from the API, read in the last six hours, cut to two items.
{
"data": [
{
"id": "hr_tr_kc5qbc5n",
"name": "S. Bizeul",
"country": "FR",
"starts": 339,
"wins": 17,
"win_rate": 0.0501,
"first": "2002-02-10"
},
{
"id": "hr_tr_esk5ykxf",
"name": "E. Audebert",
"country": "FR",
"starts": 5188,
"wins": 338,
"win_rate": 0.0652,
"first": "1998-07-31"
}
],
"meta": {
"count": 2,
"next_cursor": "bzIuNzIwMDhi",
"page": 1,
"per_page": 2,
"total": 58935,
"total_pages": 29468,
"next_page": 2,
"prev_page": null
}
}