Sportbex API
Real-time odds, live scores and statistics across cricket, soccer, tennis and racing — 76 endpoints, unlimited access for whitelisted IPs.
Base URL
Every endpoint in this reference is relative to a single host.
http://xx.xx.xx.xxAccess
Access is by IP whitelisting: once your plan is active and your server’s IP is whitelisted, requests are unlimited and need no API key or token. From a whitelisted server, the call below is complete as written.
curl -X GET 'http://xx.xx.xx.xx/api/betfair/competition-list/4'See Access for how whitelisting works.
Where to start
The Odds API walks down a hierarchy: pick a sport, list its competitions, list the events in a competition, then list the markets on an event and read their odds. Each response feeds the next request.
- Get list of competitions — start with a sport ID
- Get list of events — matches inside a competition
- Market IDs — markets on an event
- Market odds — live prices
The Statistics API is independent of that flow: it is organised per sport, with its own series, fixtures, scorecards and rankings.
Want to see it end to end, with real request and response bodies? Follow the tutorial.
Sections
Odds API
Cricket
9 endpoints · sportId 4
Odds API
Soccer
6 endpoints · sportId 1
Odds API
Tennis
6 endpoints · sportId 2
Odds API
Horse Racing
8 endpoints · sportId 7
Odds API
Greyhound Racing
8 endpoints · sportId 4339
Odds API
Other Sports
6 endpoints · Basketball, Darts, Ice Hockey and more
Statistics API
Cricket
15 endpoints
Statistics API
Tennis
9 endpoints
Statistics API
Horse Racing
5 endpoints
Statistics API
Greyhound Racing
4 endpoints
Test the API with live data
Run real requests in the Sportbex trial panel and see live responses.