Documentation
Official API reference for OddsStacker.
Getting Started
Welcome to the OddsStacker API. Follow these steps to begin receiving real-time market data and arbitrage opportunities.
1
Sign up and subscribe to Pro or Institutional plan.
2
Generate your API key from the Dashboard → API Settings.
3
Start making authenticated requests.
Authentication
All requests must include your API key in the header:
Authorization: Bearer sk-your-api-key-here-1234567890
REST API
Base URL: https://api.oddsstacker.com/v1
WebSocket API
For real-time updates, connect to:
wss://api.oddsstacker.com/v1/ws
Send your API key after connection for authentication.
Endpoints
GET
/markets
Returns all active markets with latest prices and liquidity.
GET
/opportunities
Get current arbitrage and mispricing opportunities.
GET
/alerts
Retrieve your recent and active alerts.
Rate Limits
Pro Plan
300 requests/min
60 WebSocket messages per second
Institutional Plan
Unlimited
Priority routing + dedicated endpoints
Code Examples
const response = await fetch('https://api.oddsstacker.com/v1/opportunities', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data);
Support & Contact
Need help integrating or have questions about the API?