/horse-racing/searchFind horses, jockeys and trainers by name
Horses, jockeys and trainers whose name contains q (2-64 characters), most recently declared first, with their ids for the form endpoints.
Parameters
qstring · queryrequiredPart of the name
limitinteger · queryResults per kind (1-50)
Default:20
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataobjecterrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 400 | INVALID_PARAM | A parameter is missing or wrong, and the message names it. Fix the request; do not retry it. |
| 402 | x402 offers | No key and no valid payment: the body lists what to pay. Only a 200 answer is charged. |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON