harnessracingapi
DocumentationReference

List racecourses

Free key

Every racecourse with results, by country.

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

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

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 racecourse id
namestring
Racecourse name
countrystring
Country code
surfacestring
cinder, sand or grass
circuit_minteger
One lap in metres
racesinteger
Races held
firstdate
First result held

Example answer

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

{
    "data": [
        {
            "id": "hr_tk_d8bnk412",
            "name": "Krieau",
            "country": "AT",
            "surface": null,
            "circuit_m": null,
            "races": 2642,
            "first": "2013-03-12"
        },
        {
            "id": "hr_tk_far6ysnd",
            "name": "Baden-Vienne",
            "country": "AT",
            "surface": null,
            "circuit_m": null,
            "races": 412,
            "first": "2015-07-16"
        }
    ],
    "meta": {
        "count": 2,
        "next_cursor": "bzIuNzIwMDhi",
        "page": 1,
        "per_page": 2,
        "total": 758,
        "total_pages": 379,
        "next_page": 2,
        "prev_page": null
    }
}

Errors