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.xx

Access

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.

  1. Get list of competitions — start with a sport ID
  2. Get list of events — matches inside a competition
  3. Market IDs — markets on an event
  4. 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

Test the API with live data

Run real requests in the Sportbex trial panel and see live responses.

Try it(opens in a new tab)