Get track barrier bias
get_track_biasGet barrier/box bias statistics for a track (Pro tier).
Returns win rates by barrier position with advantage scores (win-rate points
above/below expected, 0-1 scale; expected = 1 / average field size). For
greyhounds, barrier numbers represent box positions (1-8); for harness the
barrier is the starting position. `totalRaces` counts races with a recorded
winner. `strongestBarrier`, `weakestBarrier` and `biasStrength` consider only
barriers with at least 30 starts, so thin barriers (still listed in
`barrierStats`) cannot drive them. `biasStrength` is "none" unless the
barriers differ by more than chance, so "none" can also mean too little
data to tell; treat a single barrier's advantage on few starts as noise. `conditionStats` is track-level (races and field size by
going) and is not scoped by `distance`.
By default the response also carries `distanceStats`: the same barrier
breakdown per distance band at that track (gallops: Sprint <1400m / Mile /
Middle / Classic / Staying ≤3200m / Marathon (jumps); harness: Mile/Middle/Staying/Long;
greyhounds: Sprint/Medium/Distance), shortest band first. Barrier bias is
usually distance-specific, so prefer the band — or a `distance` scope — over
the whole-track figures when advising on a particular race.
Args:
track: Track/venue name (e.g. 'flemington', 'randwick').
race_code: Race type — 'gallops' (default), 'harness', or 'greyhounds'.
country: Country code — 'au' (default), 'nz', 'hk', 'gb'.
window: Optional rolling window in days (14-365) for recent stats.
condition: Optional track condition filter (e.g. 'Good', 'Soft', 'Heavy'). Only applies with window.
distance: Optional metres scope — one distance ('1200') or an inclusive range
('1200-1600'). Scopes the top-level report and recentStats to those races;
`distanceFilter` echoes it and `distanceStats` holds one 'Custom' entry for
the slice (its minDistance/maxDistance are the distances actually found).
Must be within 200-5000 m; barriers with under 5 starts in the slice are
omitted. Returns 404 when the track has no data and 422 for a bad value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | Yes | ||
| window | No | ||
| country | No | au | |
| distance | No | ||
| condition | No | ||
| race_code | No | gallops |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |