APIHorseRacing

Documentation / Jockeys & owners

Statistics

GET /v1/owners/{owner_id}/stats

The standard block for an owner.

Available on

Free key not on this plan
Live not on this plan
Archive not on this plan
Complete not on this plan
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
owner_id path string yes Opaque owner identifier.
by query string no A breakdown dimension: course, region, run_type, distance, going, surface, class, year, month, draw, field_size, layoff, sp_band, trainer, jockey or sire.
min_runs query integer no Drop breakdown rows with fewer runners than this. Defaults to 1.

Request

curl https://api.apihorseracing.com/v1/owners/ow_35DVPAY/stats \
  -H "X-API-Key: $AHR_KEY"

Response

200 OK application/json harvested 8 days ago
{
    "meta": {
        "request_id": "f7ffcc03704563f0",
        "data_as_of": "2026-09-12T05:10:27+00:00",
        "plan": "analyst",
        "window": "2017 → upcoming",
        "count": 3
    },
    "data": {
        "owner_id": "ow_35DVPAY",
        "owner": "John P McManus",
        "window": {
            "from": null,
            "to": null,
            "note": "The whole archive. Your plan sets no date limit."
        },
        "note": "Owners are identified by name; the source publishes no owner id.",
        "overall": {
            "runs": 9005,
            "priced": 8966,
            "first": 998,
            "second": 824,
            "third": 773,
            "fourth": 713,
            "win_pct": 0.1108,
            "top3_pct": 0.2882,
            "expected_wins": 950.98,
            "a_e": 1.049,
            "a_e_range": [
                0.984,
                1.115
            ],
            "a_e_beats_market": false,
            "significant": false,
            "low_sample": false,
            "pl_1pt": -3164.67,
            "roi_pct": -35.3
        },
        "by": "course",
        "course": [
            {
                "course": "Punchestown",
                "runs": 1222,
                "priced": 1221,
                "first": 136,
                "second": 125,
                "third": 99,
                "fourth": 107,
                "win_pct": 0.1113,
                "top3_pct": 0.2946,
                "expected_wins": 128.26,
                "a_e": 1.06,
                "a_e_range": [
                    0.882,
                    1.239
                ],
                "a_e_beats_market": false,
                "significant": false,
                "low_sample": false,
                "pl_1pt": -434.59,
                "roi_pct": -35.59
            },
            {
                "course": "Fairyhouse",
                "runs": 874,
                "priced": 866,
                "first": 96,
                "second": 82,
                "third": 71,
                "fourth": 66,
                "win_pct": 0.1098,
                "top3_pct": 0.2849,
                "expected_wins": 94.11,
                "a_e": 1.02,
                "a_e_range": [
                    0.816,
                    1.224
                ],
                "a_e_beats_market": false,
                "significant": false,
                "low_sample": false,
                "pl_1pt": -331.94,
                "roi_pct": -38.33
            },
            "… 1 more"
        ]
    }
}

A real response from /v1/owners/ow_35DVPAY/stats?by=course&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
owner_id string Opaque owner identifier, derived from the name because the source publishes none. Two owners sharing a name are one owner here.
owner string Registered owner as published.
window string How far back and forward that plan can read.
runs integer Rides in the slice, priced or not.
priced integer Rides carrying a starting price. A/E and the profit figures use these; runs is the wider count.
first integer Wins.
second integer Seconds. Positions are returned separately so you apply your own place terms.
third integer Thirds.
fourth integer Fourths.
win_pct number Wins over runs. The number everyone quotes and the one that tells you least.
top3_pct number First, second or third over runs. Not a place strike rate; place terms vary.
expected_wins number Wins the market implied, summed over the slice.
a_e number Actual wins over expected. Above 1.00 means winning more often than the prices said.
a_e_range array Ninety five percent interval on A/E. If it spans 1.00 the figure is not evidence of anything.
a_e_beats_market boolean True only where the whole interval sits above 1.00.
significant boolean Whether the interval excludes 1.00 in either direction.
low_sample boolean Fewer than five expected wins. Treat A/E as noise.
pl_1pt number One point on every runner, settled at starting price.
roi_pct number Level stakes return. Backing everything loses more than the book margin, because equal stakes overweight the longshots.
course string Course name.

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.
upgrade_required 403 The endpoint returns computed statistics and your plan does not include them. The body names every plan that does reach it, so you never have to look it up.
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

The standard statistics block for an owner, split any of sixteen ways.

Owner statistics are a proxy for money. An operation that buys well and places its horses carefully will show it, and the A/E says whether the market has noticed.

Sample size is the constraint here more than anywhere else. Most owners have a handful of horses and a few dozen runs across nine years, which is not enough for any breakdown to reach significance. Only the largest operations support this endpoint properly, and low_sample will be true for most of the rest.

Common uses

Studying a major operation

The few owners with thousands of runners are the ones where this endpoint earns its place.

Reading a debut

A first-time runner has no record, but its owner and trainer do. by=trainer on the owner shows how that pairing has gone.

Notes

by=owner is rejected with invalid_param here rather than silently ignored.

Related in Jockeys & owners