Track statistics
/v1/tracks/{track_id}/statsAvailable on Free Live Live Plus
Descriptive statistics for a track: trap-by-trap win counts and percentages per distance, and the track record at each distance — recomputed nightly from results.
Authenticate with your key in the X-API-Key header —
see Authentication. Works with sandbox keys
inside the sandbox data window.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
track_id |
path | integer | yes | The track identifier. |
Request
curl "https://api.greyhoundapi.com/v1/tracks/14/stats" \
-H "X-API-Key: $GAPI_KEY"<?php
$ch = curl_init('https://api.greyhoundapi.com/v1/tracks/14/stats');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['X-API-Key: ' . getenv('GAPI_KEY')],
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($response['data']);const res = await fetch('https://api.greyhoundapi.com/v1/tracks/14/stats', {
headers: { 'X-API-Key': process.env.GAPI_KEY }
});
if (!res.ok) throw new Error(`GreyhoundAPI ${res.status}`);
const { meta, data } = await res.json();
console.log(meta.data_as_of, data);import { useEffect, useState } from 'react';
export default function Example() {
const [data, setData] = useState(null);
useEffect(() => {
fetch('https://api.greyhoundapi.com/v1/tracks/14/stats', {
headers: { 'X-API-Key': import.meta.env.VITE_GAPI_KEY }
})
.then((r) => r.json())
.then((body) => setData(body.data));
}, []);
if (!data) return <p>Loading…</p>;
return <pre>{JSON.stringify(data, null, 2)}</pre>;
}Browser code exposes whatever key it ships with — use a sandbox key for prototypes and proxy live keys through your own server in production.
import os
import requests
r = requests.get(
"https://api.greyhoundapi.com/v1/tracks/14/stats",
headers={"X-API-Key": os.environ["GAPI_KEY"]},
timeout=10,
)
r.raise_for_status()
body = r.json()
print(body["meta"]["data_as_of"], body["data"])Response
{
"meta": {
"request_id": "req_8f2ac1",
"data_as_of": "2026-07-08T13:05:12Z"
},
"data": {
"track_id": 14,
"name": "Romford",
"trap_stats": [
{
"distance_m": 400,
"races": 1120,
"traps": [
{
"trap": 1,
"wins": 224,
"win_pct": 20
},
{
"trap": 2,
"wins": 202,
"win_pct": 18
},
{
"trap": 3,
"wins": 179,
"win_pct": 16
},
{
"trap": 4,
"wins": 168,
"win_pct": 15
},
{
"trap": 5,
"wins": 168,
"win_pct": 15
},
{
"trap": 6,
"wins": 179,
"win_pct": 16
}
]
}
],
"records": [
{
"distance_m": 400,
"time_s": 23.6,
"dog_id": 640101,
"dog_name": "Savana Ruby",
"date_local": "2025-10-14"
}
]
}
}Run it live
A real request from your browser straight to api.greyhoundapi.com
with your own key — nothing is proxied or logged by this page.
Held in this tab only, sent only to the API host. No key yet? Create a free sandbox key — it runs every endpoint against the sandbox data window.
Notes
These are descriptive statistics derived from published results — counts and records, not ratings or advice.