harnessracingapi

Search

Find horses, drivers, trainers and racecourses by name.

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

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

Parameters

qstringrequired
Words to find, at least 3 letters
typestring
horse, driver, trainer or racecourse
horsedrivertrainerracecourse
countrystring
One or more country codes, comma separated
FRSENOFIDKBENLDECHATITESHUIEUSCAAUNZ
limitinteger
Items a page, at most 50

Returns

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

typestring
What it is
idstring
Its id
namestring
Its name
countrystring
Country

Example answer

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

{
    "data": [
        {
            "type": "horse",
            "id": "hr_hs_fr9bbpf3",
            "name": "Pommeau",
            "country": "SE"
        },
        {
            "type": "horse",
            "id": "hr_hs_c6aadr0t",
            "name": "Pommeau",
            "country": "CH"
        }
    ],
    "meta": {
        "count": 2
    }
}

Errors