APIHorseRacing

Documentation / Jockeys & owners

Recent rides

GET /v1/jockeys/{jockey_id}/form

Newest first.

Available on

Free key 24h – 7d
Live today + 3 days
Archive back to 2017
Complete 2017 → upcoming
Complete + Analyst 2017 → upcoming

Send your key in the X-API-Key header, or as ?key= if your tool cannot set one. A date outside your plan's window returns 403 outside_window naming the window, never an empty array.

Parameters

NameInTypeRequiredDescription
jockey_id path string yes Opaque jockey identifier.
limit query integer no 1 to 100. Defaults to 25.
cursor query string no Opaque. Pass next_cursor from the previous response.

Request

curl https://api.apihorseracing.com/v1/jockeys/jk_1ABH146/form \
  -H "X-API-Key: $AHR_KEY"

Response

200 OK application/json harvested 8 days ago
{
    "meta": {
        "request_id": "69c8bfe683864a7c",
        "data_as_of": "2026-09-12T05:10:27+00:00",
        "plan": "analyst",
        "window": "2017 → upcoming",
        "count": 3,
        "searched": {
            "from": null,
            "to": null,
            "note": "The whole archive. Your plan sets no date limit."
        }
    },
    "data": [
        {
            "race_id": "rc_35G9BDV",
            "date": "2026-09-03",
            "course_id": "cr_36DE4KM",
            "course": "Lingfield",
            "run_type": null,
            "class": "4",
            "distance": "5f 6y",
            "going": "Standard",
            "surface": "POLYTRACK",
            "runners": 6,
            "position": 2,
            "casualty": null,
            "beaten_distance": null,
            "sp": "9/2",
            "sp_decimal": 5.5,
            "favourite": false,
            "market_position": 3,
            "weight": "9-11",
            "official_rating": 79,
            "headgear": "Cheek pieces",
            "jockey_id": "jk_1ABH146",
            "jockey": "Millie Wonnacott",
            "trainer_id": "tr_3G16HD6",
            "trainer": "Daisy Hitchins",
            "last_run_days": 41,
            "horse_id": "hs_1T93SKF"
        },
        {
            "race_id": "rc_2T5SX47",
            "date": "2026-09-01",
            "course_id": "cr_36DE4KM",
            "course": "Lingfield",
            "run_type": null,
            "class": "4",
            "distance": "7f 1y",
            "going": "Standard",
            "surface": "POLYTRACK",
            "runners": 7,
            "position": 2,
            "casualty": null,
            "beaten_distance": null,
            "sp": "40/1",
            "sp_decimal": 41,
            "favourite": false,
            "market_position": 5,
            "weight": "9-2",
            "official_rating": 52,
            "headgear": null,
            "jockey_id": "jk_1ABH146",
            "jockey": "Millie Wonnacott",
            "trainer_id": "tr_8SAVDP",
            "trainer": "J S Moore",
            "last_run_days": 15,
            "horse_id": "hs_1Z6EGV1"
        },
        "… 1 more"
    ]
}

A real response from /v1/jockeys/jk_1ABH146/form?limit=3, captured by calling the live API rather than written by hand.

Response fields

Each field is described once and rendered on every endpoint that returns it, so the wording cannot drift between pages.

FieldTypeWhat it is
race_id string Opaque race identifier. Stable, and safe to store.
date date Race date, YYYY-MM-DD.
course_id string Opaque course identifier.
course string Course name.
run_type string Flat, Hurdle, Chase or NH Flat.
class string Race class.
distance string Official distance as published, e.g. "3m 3f 119y".
going string Ground description at the off.
surface string Turf, Dirt, Polytrack and so on.
runners integer Runners who took part.
position integer Finishing position. Null means the runner did not complete or was not published below the placings.
casualty string Why a runner did not complete: PulledUp, Fell, UnseatedRider, BroughtDown, RefusedToRace, RanOut.
beaten_distance string Distance behind the horse in front.
sp string Starting price, fractional, as returned.
sp_decimal number Starting price as a decimal, computed once at load so you are not parsing fractions per row.
favourite boolean Shortest price in the race. Joint favourites are all flagged.
market_position integer Rank by price, one being shortest. Ties share a rank.
weight string Weight carried, stones and pounds.
official_rating integer Handicap mark. Values outside 0 to 200 are dropped as source errors.
headgear string Blinkers, cheekpieces, tongue tie and so on.
jockey_id string Opaque jockey identifier.
jockey string Rider name.
trainer_id string Opaque trainer identifier.
trainer string Trainer name.
last_run_days integer Days since this horse last ran. Null on a first run.
horse_id string Opaque horse identifier.

What varies by jurisdiction

Run type is filled in behind the results crawl

The code a race was run under lives on the horse profile rather than the race, so it arrives on a later pass. A null run_type means not yet fetched, not unclassified.

Race class is a British idea

Class is published in Britain and reliably absent elsewhere. Do not treat a null class as an ungraded race.

Not every jurisdiction publishes a full finishing order

America publishes the placings and nothing below them, so position is null for most of the field. Britain, Ireland, France and South Africa carry a position for the great majority of runners. /v1/countries returns the current figure for each.

Beaten distances arrive with the pedigree pass

They are published on the horse profile rather than the result page, so they fill in behind the main crawl.

Official ratings are not universal

Britain, Ireland and America carry a rating on roughly three quarters of runners. France and Germany carry one on about three percent. Values outside 0 to 200 are dropped, because the source returns sentinels there rather than ratings.

Errors this endpoint returns

CodeStatusWhen
unauthorized 401 No key, or one we do not recognise. Check the header name and that the key has not been rotated from your account page.
outside_window 403 You asked for a date your plan cannot see. The body names the window and the date you asked for. Search endpoints clamp instead of refusing, and report what they actually searched in meta.
not_found 404 The identifier is well formed but nothing has it. Distinct from invalid_id, which means the identifier itself is wrong.
invalid_id 422 The prefix does not match the kind of thing the path expects, or the identifier is malformed. A horse id passed where a race is wanted lands here rather than returning the wrong race.
invalid_param 422 A date that is not YYYY-MM-DD, a by= dimension we do not have, or a cursor that did not come from us. The message names the parameter.
rate_limited 429 Past your per-minute rate. Retry-After is set, and X-RateLimit-Remaining tells you where you stand on every successful response too.
server_error 500 Ours, not yours. Every response carries a request_id; quote it and we can find the exact request.

Run it live

A real request from your browser straight to api.apihorseracing.com with your own key. Nothing is proxied and nothing is logged by this page.

Remembered in this browser so you do not paste it on every page.

What this is for

Recent rides, newest first, with the horse, the trainer, the race, the price and the finishing position.

The trainer on every row is the useful part. A run of winners for one yard reads very differently from the same run spread across six, and the form line shows which without a second call.

Clipped to your plan's window, with meta stating how many rides were withheld.

Common uses

A recent rides panel

One call, ordered, with connections attached.

Seeing who is booking a rider

A yard suddenly using someone it has not before is visible here.

Related in Jockeys & owners