DocumentationStatistics: markets and trends
Trends
Analyst
A measure year by year for a country: winning km time, field size, favourites or breaks.
Try it
Runs against the real API with your keyNo key yet? Get a free key and it is filled in here for you.
https://api.harnessracingapi.com/v1/stats/trendsParameters
countrystringOne or more country codes, comma separated
FRSENOFIDKBENLDECHATITESHUIEUSCAAUNZ
measurestringrequiredkm_time, field_size, favourites or breaks
km_timefield_sizefavouritesbreaks
fromintegerFirst year
Returns
A list in data, each item with these fields, and paging in meta.
yearintegerYear
valuenumberThe measure
racesintegerRaces it rests on
Example answer
A real answer from the API, read in the last six hours, cut to two items.
{
"data": [
{
"year": 2000,
"value": 79.24,
"races": 8144
},
{
"year": 2001,
"value": 79.08,
"races": 8006
}
],
"meta": {
"count": 2,
"next_cursor": null,
"page": 1,
"per_page": 50,
"total": 27,
"total_pages": 1,
"next_page": null,
"prev_page": null,
"built_at": "2026-11-28T04:17:07Z",
"measure": "km_time",
"about": "the average winning km time, seconds"
}
}