harnessracingapi

List horses

Archive

Horses by country, sex or year of birth.

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

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/horses

Parameters

countrystring
One or more country codes, comma separated
FRSENOFIDKBENLDECHATITESHUIEUSCAAUNZ
borninteger
Year of birth
sexstring
mare, gelding or stallion
maregeldingstallion
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 horse id
namestring
Name as raced
countrystring
Country it races from
borninteger
Year of birth
sexstring
mare, gelding or stallion
breedstring
trotter, standardbred or cold-blooded
startsinteger
Starts held
winsinteger
Wins held
earningsobject
Prize money held, by currency
best_kmstring
Best km time held

Example answer

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

{
    "data": [
        {
            "id": "hr_hs_2b4w6366",
            "name": "Omara Du Nord",
            "country": "BE",
            "born": null,
            "sex": null,
            "breed": null,
            "starts": 3,
            "wins": 1,
            "earnings": {},
            "best_km": null
        },
        {
            "id": "hr_hs_kk9ck4e1",
            "name": "Noemie D'erpion",
            "country": "BE",
            "born": null,
            "sex": null,
            "breed": null,
            "starts": 2,
            "wins": 1,
            "earnings": {},
            "best_km": null
        }
    ],
    "meta": {
        "count": 2,
        "next_cursor": "bzIuNzIwMDhi",
        "page": 1,
        "per_page": 2,
        "total": 200000,
        "total_pages": 100000,
        "next_page": 2,
        "prev_page": null
    }
}

Errors