horseracingapi.co.uk

Compare horses

Live, Archive and Complete

Every race two to five horses met in.

GEThttps://api.horseracingapi.co.uk/v1/horses/compare
Try itruns against the real API with your key
Get a free key
GET /v1/horses/compare
ExampleThe example answer appears here once the data feed is connected. Run shows a live one.
  

Parameters

NameInTypeRequiredWhat it does
idsqueryidsnoTwo to five horse ids, comma separated.

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

CodeStatusWhen
unauthorized401No key was sent, or the key is not one of ours.
upgrade_required403Your plan does not reach this endpoint. The answer names the plans that do.
bad_request400A 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_parameter422A parameter this endpoint does not take. The answer lists the ones it does.
rate_limited429Too many calls this minute for your plan.
quota_exceeded429Your plan's calls for the month are used. The answer says when they reset.