harnessracingapi
DocumentationReference

One country

Free key

One country in full, with its racecourses and how fresh its results are.

GEThttps://api.harnessracingapi.com/v1/countries/{code}

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/countries/{code}

Parameters

codestringrequired
Country code, in the path

Returns

One object in data with these fields.

codestring
Country code
namestring
Country
fromdate
First result held
filling_todate
How far back the history is being read, null when complete
racesinteger
Races held
racecoursesinteger
Racecourses with results
every_runnerboolean
Results carry every runner, not only the winner
last_resultdatetime
When the newest result landed, UTC

Example answer

A real answer from the API, read in the last six hours.

{
    "data": {
        "code": "FR",
        "name": "France",
        "from": "1981-01-01",
        "filling_to": null,
        "races": 464494,
        "racecourses": 361,
        "every_runner": true,
        "last_result": "2026-11-28T17:10:24Z"
    },
    "meta": {}
}

Errors