Odds360 API
Odds360 provides access to real-time and historical odds data, including league and class categorization. This API is ideal for bookmakers and data analysts who want deep insights into betting markets across various sports.
Base URL
https://odds360.sportdevs.com/
Available REST API Endpoints
1. Get Odds for a Sport
Retrieve the current odds data for a specific sport.
Endpoint:
https://odds360.sportdevs.com/<sport>
Example:
https://odds360.sportdevs.com/football
2. Get Historical Odds
Fetch historical odds results for a specific sport.
Endpoint:
https://odds360.sportdevs.com/<sport>-history
Example:
https://odds360.sportdevs.com/football-history
3. Get Odds Classes and Counts
Retrieve class information (e.g., match categories) and their counts for a specific sport.
Endpoint:
https://odds360.sportdevs.com/<sport>-classes
Example:
https://odds360.sportdevs.com/football-classes
4. Get Leagues and Counts
Fetch league metadata and their event counts for a specific sport.
Endpoint:
https://odds360.sportdevs.com/<sport>-leagues
Example:
https://odds360.sportdevs.com/football-leagues
Real-Time Odds Updates via WebSockets or Server-Sent Events
Odds360 supports real-time data delivery using either WebSockets or Server-Sent Events (SSE) for odds overrides and live updates.
5. Odds Overrides (Live)
Subscribe to override changes for a specific match and bookmaker.
WebSocket Endpoint:
wss://odds360.sportdevs.com/live/<bookmaker_id>/<sport>/<match_id>/overrides
Example:
wss://odds360.sportdevs.com/live/a94db65e-50da-4148-99df-3ca4752514dd/football/2450840/overrides
6. Odds Updates (Live)
Receive live updates to odds data for a specific match and bookmaker.
WebSocket Endpoint:
wss://odds360.sportdevs.com/live/<bookmaker_id>/<sport>/<match_id>/updates
Example:
wss://odds360.sportdevs.com/live/a94db65e-50da-4148-99df-3ca4752514dd/football/2450840/updates
Using Odds360 Real-Time Endpoints
WebSocket Example
const ws = new WebSocket('wss://odds360.sportdevs.com/live/<bookmaker_id>/<sport>/<match_id>/updates');
ws.addEventListener('message', ev => console.log(JSON.parse(ev.data)));
Server-Sent Events (SSE) Example
const es = new EventSource('https://odds360.sportdevs.com/live/<bookmaker_id>/<sport>/<match_id>/updates');
es.addEventListener('message', ev => console.log(JSON.parse(ev.data)));
Notes
- Replace
<sport>
,<bookmaker_id>
, and<match_id>
with the appropriate values. - Ensure your account has the necessary access rights or tokens as required by your subscription plan.