Get Race Participants By Id
GET
/api/horse-racing/races/participants/{raceId}The declared runners for a race — the horses competing — for the race id returned by Get Races.
Path Params
raceIdstringrequiredRace ID of race for which you want to retrive data
Try Get Race Participants By Id with live data
Run this request in the Sportbex trial panel and see the real response.
curl -X GET 'http://xx.xx.xx.xx/api/horse-racing/races/participants/{raceId}'Example response
The real API responds in this shape — but the values below are a fixed example and may be stale. This is here to show what the output looks like, not to reflect current data.
[
{
"runnerNumber": 1,
"horse": "Horse One",
"jockey": "Jockey One",
"trainer": "Trainer One",
"weight": "9-2",
"odds": 3.5
},
{
"runnerNumber": 2,
"horse": "Horse Two",
"jockey": "Jockey Two",
"trainer": "Trainer Two",
"weight": "9-0",
"odds": 5
}
]