harnessracingapi
DocumentationDrivers and trainers

One trainer

Archive

A trainer's profile and record.

GEThttps://api.harnessracingapi.com/v1/trainers/{id}

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/{id}

Parameters

idstringrequired
The trainer id, in the path

Returns

One object in data with these fields.

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.

{
    "data": {
        "id": "hr_tr_zjny5w24",
        "name": "Y. Desmet",
        "country": "FR",
        "starts": 1643,
        "wins": 139,
        "win_rate": 0.0846,
        "first": "1992-09-27"
    },
    "meta": {}
}

Errors