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

Documentation / Horses

Horse profile

A horse's profile, its current trainer and owner, and its record since 2022.

GET/v1/horses/{horse_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/horses/hs_bxkj904c

Press Run to see the live answer here.

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

Parameters

NameIn · typeRequiredWhat it is
horse_idpath · stringYesThe horse.

Returns

FieldTypeWhat it holds
horse_idstringOur own id for the horse.
namestringThe name it races under.
sexstringAs published.
colourstringAs published, where it is.
trainer_idstringThe trainer at its latest run.
trainerstringThe trainer name.
owner_idstringThe owner at its latest run.
ownerstringThe owners named in full, exactly as they race.
recordobjectSince the archive starts, in our five nations: runs, wins, seconds, thirds, placed, win_pct, since, last_run.

Example answer

{
  "data": {
    "horse_id": "hs_bxkj904c",
    "name": "Irish Goodbye",
    "sex": "g",
    "colour": "br",
    "trainer_id": "tr_fatt90fa",
    "trainer": "N & W Twiston-Davies",
    "owner_id": "ow_d4qcda2m",
    "owner": "Lord Vestey",
    "record": {
      "runs": 5,
      "wins": 2,
      "seconds": 0,
      "thirds": 1,
      "placed": 3,
      "win_pct": 0.4,
      "since": "2025-12-12",
      "last_run": "2026-12-05"
    }
  },
  "meta": {
    "plan": "results",
    "window": "2022-01-01 to now",
    "data_as_of": "2026-12-06T05:07:12Z"
  }
}

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.