harnessracingapi
DocumentationStatistics: markets and trends

Age and sex

Analyst

Win rates and km times by age and sex.

GEThttps://api.harnessracingapi.com/v1/stats/age-sex

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/stats/age-sex

Parameters

countrystring
One or more country codes, comma separated
FRSENOFIDKBENLDECHATITESHUIEUSCAAUNZ
seasoninteger
A year

Returns

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

ageinteger
Age
sexstring
mare, gelding or stallion
runnersinteger
Runners
win_ratenumber
Won, %
avg_kmstring
Average km time

Example answer

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

{
    "data": [
        {
            "age": 2,
            "sex": "gelding",
            "runners": 46475,
            "wins": 4689,
            "win_rate": 10.1,
            "avg_km": "1:19.1"
        },
        {
            "age": 2,
            "sex": "mare",
            "runners": 64537,
            "wins": 6570,
            "win_rate": 10.2,
            "avg_km": "1:19.4"
        }
    ],
    "meta": {
        "count": 2,
        "next_cursor": null,
        "page": 1,
        "per_page": 50,
        "total": 42,
        "total_pages": 1,
        "next_page": null,
        "prev_page": null,
        "built_at": "2026-11-28T04:17:07Z",
        "season": "every season",
        "about": "age in the year of the race, from the year foaled; avg_km is the average winning km time"
    }
}

Errors