A horse's pedigree
Live, Archive and Complete
Sire, dam, damsire and others by the sire.
ExampleThe example answer appears here once the data feed is connected. Run shows a live one.
Parameters
| Name | In | Type | Required | What it does |
|---|---|---|---|---|
horse_id | path | id | yes | Our id for the horse, as other answers give it (hs_ and eight characters). |
Returns
One record in data. Every answer carries meta: request_id, plan, window and data_as_of.
Each field is listed here, read from the example answer, once the data feed is connected.
Errors
| Code | Status | When |
|---|---|---|
unauthorized | 401 | No key was sent, or the key is not one of ours. |
upgrade_required | 403 | Your plan does not reach this endpoint. The answer names the plans that do. |
bad_request | 400 | A value is the wrong shape: a date that is not YYYY-MM-DD, a cursor that is not ours, or a key sent in the address. |
unknown_parameter | 422 | A parameter this endpoint does not take. The answer lists the ones it does. |
not_found | 404 | No record has that id, or it is not British or Northern Irish racing. |
rate_limited | 429 | Too many calls this minute for your plan. |
quota_exceeded | 429 | Your plan's calls for the month are used. The answer says when they reset. |