HORSERACINGAPI --:--:-- UTC Sign inFree key

Documentation / Trainers and owners

Trainer profile

A trainer's profile and record since 2022.

GET/v1/trainers/{trainer_id}
Try itRuns against the real API with your key
No key yet? The free key is made the moment you sign in, and appears here by itself.Get a free key
required
https://api.horseracingapi.org/v1/trainers/tr_aawg032s

Press Run to see the live answer here.

curl "https://api.horseracingapi.org/v1/trainers/tr_aawg032s" \
  -H "X-API-Key: hra_live_…"

Parameters

NameIn · typeRequiredWhat it is
trainer_idpath · stringYesThe trainer, from any result.

Returns

FieldTypeWhat it holds
trainer_idstringOur own id for the trainer.
namestringThe name they train under.
recordobjectSince the archive starts, in our five nations: runs, wins, seconds, thirds, placed, win_pct, since, last_run.

Example answer

{
  "data": {
    "trainer_id": "tr_aawg032s",
    "name": "E Libaud",
    "record": {
      "runs": 948,
      "wins": 95,
      "seconds": 106,
      "thirds": 97,
      "placed": 298,
      "win_pct": 0.1,
      "since": "2025-10-24",
      "last_run": "2026-10-20"
    }
  },
  "meta": {
    "plan": "results",
    "window": "2022-01-01 to now",
    "data_as_of": "2026-10-21T21:19:06Z"
  }
}

Errors

StatusCodeWhen
400bad_requestA value is the wrong shape, or the key was sent in the address.
401unauthorizedNo key, or one we do not know.
403upgrade_requiredYour plan does not open this endpoint. It is on the Results plan.
404not_foundNo record has that id.
422unknown_parameterA parameter this endpoint does not take.
429rate_limitedOver your calls a minute. Retry after the seconds given.
429quota_exceededYour allowance is used. The answer says when it comes back.
503server_errorOn our side. Try again in a minute.