Get Country List
GET
/api/horse-racing/races/countriesThe countries available for filtering races — feed a country's code into Get Races as the countryCode parameter.
Try Get Country List 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/countries'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.
[
{
"countryCode": "GBR",
"countryName": "United Kingdom"
},
{
"countryCode": "IRE",
"countryName": "Ireland"
},
{
"countryCode": "USA",
"countryName": "United States"
}
]