harnessracingapi
DocumentationDrivers and trainers

List trainers

Archive

Trainers by country, with their runners and wins.

GEThttps://api.harnessracingapi.com/v1/trainers

Try it

Runs against the real API with your key
No key yet? Get a free key and it is filled in here for you.
https://api.harnessracingapi.com/v1/trainers

Parameters

countrystring
One or more country codes, comma separated
FRSENOFIDKBENLDECHATITESHUIEUSCAAUNZ
pageinteger
Page number, from 1
cursorstring
The next_cursor from the last answer
limitinteger
Items a page, at most 50

Returns

A list in data, each item with these fields, and paging in meta.

idstring
Our id
namestring
Name as published
countrystring
Main country
startsinteger
Runners held
winsinteger
Wins held
win_ratenumber
Wins per start, %
firstdate
First 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
    }
}

Errors