Getting your API key
1
Create an account
Sign up at oddsstream.io/signup. A free account gives you immediate access.
2
Open the Keys page
Go to Dashboard → Keys. Your production key is listed there.
3
Copy your key
Click Copy. The key is shown once in full — after that it’s masked in the dashboard. If you lose it, rotate it to get a new one.Key format:
os_live_ followed by 32 hex characters.Using the key
Every request must include your key in theX-Api-Key header:
Storing the key securely
Always use environment variables. Never hardcode your key in source code.- bash / shell
- Node.js
- Python
- .gitignore
Key management
From Dashboard → Keys:Error responses
401 vs 403 in plain English:
401= “I don’t know who you are” — the key is wrong or missing403= “I know who you are, but you can’t access this” — check the specific code for the fix
Rate limit headers
Every response includes:X-RateLimit-Remaining drops below 20, slow down:
- JavaScript
- Python
Plan limits
Upgrade at oddsstream.io/pricing.