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). For greyhounds, barrier numbers represent
box positions (1-8).
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).
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 |