Skip to main content

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 the X-Api-Key header:

Storing the key securely

Always use environment variables. Never hardcode your key in source code.
Never expose your API key in client-side JavaScript. Any key in browser code can be extracted and abused. Always call the API from your server and proxy results to your frontend. Never commit keys to git — use environment variables or a secrets manager.

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 missing
  • 403 = “I know who you are, but you can’t access this” — check the specific code for the fix

Rate limit headers

Every response includes:
When X-RateLimit-Remaining drops below 20, slow down:

Plan limits

Upgrade at oddsstream.io/pricing.