harnessracingapi
DocumentationDrivers and trainers

A trainer's runners

Archive

Every runner a trainer sent out, newest first.

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

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}/starts

Parameters

idstringrequired
The trainer id, in the path
fromdaterequired
First day, YYYY-MM-DD
todaterequired
Last day, YYYY-MM-DD
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.

raceobject
Race id, name and day
placeinteger
Finishing place, null when not placed
numberinteger
Saddle cloth number
postinteger
Starting position
horseobject
Horse id and name
driverobject
Driver id and name
km_timestring
Time per km, m:ss.t
oddsnumber
Final odds, decimal
prizenumber
Prize money won
statusstring
finished, disqualified, scratched or broke

Example answer

A real answer from the API, read in the last six hours, cut to two items.

{
    "data": [
        {
            "race": {
                "id": "hr_rc_skd3z9dp",
                "country": "FR",
                "racecourse": {
                    "id": "hr_tk_rgvaf8vv",
                    "name": "Vincennes"
                },
                "date": "2025-01-31",
                "off": "2025-01-31T16:17:51Z",
                "number": 4,
                "name": "Prix Decidee",
                "distance_m": 2700,
                "start": "standing"
            },
            "place": 8,
            "number": 1,
            "post": null,
            "horse": {
                "id": "hr_hs_qvtkwq1g",
                "name": "Rocky Oasis"
            },
            "driver": {
                "id": "hr_dr_3cgyf17e",
                "name": "D. Bonne"
            },
            "km_time": "1:15.2",
            "odds": 123.2,
            "prize": null,
            "status": "finished"
        },
        {
            "race": {
                "id": "hr_rc_j058xav0",
                "country": "FR",
                "racecourse": {
                    "id": "hr_tk_rgvaf8vv",
                    "name": "Vincennes"
                },
                "date": "2025-01-25",
                "off": "2025-01-25T17:45:44Z",
                "number": 10,
                "name": "Prix Varenne",
                "distance_m": 2700,
                "start": "standing"
            },
            "place": 4,
            "number": 1,
            "post": null,
            "horse": {
                "id": "hr_hs_9t5d6zhj",
                "name": "Killarney"
            },
            "driver": {
                "id": "hr_dr_6hwtwbvh",
                "name": "M. Mottier"
            },
            "km_time": "1:12.7",
            "odds": 43.6,
            "prize": 3200,
            "status": "finished"
        }
    ],
    "meta": {
        "count": 2,
        "next_cursor": "bzIuNzIwMDhi",
        "page": 1,
        "per_page": 2,
        "total": 9,
        "total_pages": 5,
        "next_page": 2,
        "prev_page": null
    }
}

Errors