Skip to content
API reference / Horse racing
GET/horse-racing/search

Find 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.

Horse racing plan featurePay per call without a key: $0.002 in USDC

Parameters

  • qstring · queryrequired

    Part of the name

  • limitinteger · query

    Results per kind (1-50)

    Default: 20

Response

JSON with success, the result in data, and where the endpoint pages its results meta.

  • dataobject
  • errorobject
  • codestring
  • messagestring
  • metaobject
  • attributionstring

    Attribution a data source's licence asks for (Cricsheet's history).

  • limitinteger
  • offsetinteger
  • totalinteger
  • successboolean

Errors

StatusCodeWhen
400INVALID_PARAMA parameter is missing or wrong, and the message names it. Fix the request; do not retry it.
402x402 offersNo 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

Was this page helpful?