Real-time, normalized betting lines from 30+ sportsbooks. Built for developers and data teams that demand precision, uptime, and scale.
Sportsbooks tracked
30+
β Expanding quarterly
Avg. response latency
<500ms
P95 SLA measured
Platform uptime (30d)
99.9%
Pro tier SLA
Markets available
6
h2h Β· spreads Β· totals + more
Quick start
Request an API key, add one header, and you're pulling live odds from every major sportsbook in a single call.
Request an API key
Send us a quick message and we'll get your key to you directly. Request yours β
Authenticate via header
Every request needs the
x-api-key
header. Works with any HTTP client or language.
Parse normalized JSON
Every response follows the same schema across all bookmakers. No custom parsing per book required.
Base URL
https://api.theoddsapi.com
# Fetch live NBA odds curl -X GET "https://api.theoddsapi.com/odds?sport_key=basketball_nba" \ -H "x-api-key: YOUR_API_KEY"
With optional query parameters
# NBA moneylines + spreads, American format curl -X GET \ "https://api.theoddsapi.com/odds?sport_key=basketball_nba&markets=h2h,spreads&oddsFormat=american®ions=us" \ -H "x-api-key: YOUR_API_KEY" # MLB moneylines curl -X GET \ "https://api.theoddsapi.com/odds?sport_key=baseball_mlb&markets=h2h" \ -H "x-api-key: YOUR_API_KEY"
[ { "id": "a1b2c3d4", "sport_key": "basketball_nba", "home_team": "Los Angeles Lakers", "away_team": "Boston Celtics", "commence_time": "2026-03-28T01:00:00Z", "bookmakers": [ { "key": "draftkings", "title": "DraftKings", "last_update": "2026-03-27T14:38:01Z", "markets": [ { "key": "h2h", "outcomes": [ { "name": "Lakers", "price": -110 }, { "name": "Celtics", "price": -110 } ] } ] } ] } ]
Platform capabilities
Engineered for teams that treat data quality as a competitive moat β not an afterthought.
Lines reflect current sportsbook prices within seconds. Intelligent caching preserves quota without sacrificing freshness.
LIVE DATAIdentical schema regardless of source. Compare DraftKings and Pinnacle in the same loop β no translation layer needed.
DATA QUALITYPass your key via the x-api-key header. Per-environment keys with instant revocation and clear rate-limit headers.
Access prior odds snapshots for backtesting quantitative models and tracking line movement over time.
ANALYTICSFull Swagger UI at api.theoddsapi.com/docs. Generate typed clients in any language from the spec.
Async Python FastAPI with an intelligent caching layer. Consistent, predictable performance under high request volume.
PERFORMANCETechnical specification
Every response is schema-validated and structured identically regardless of source book. Your integration stays stable even when bookmakers update their own formats.
[ { "id": "a1b2c3d4e5f6", "sport_key": "basketball_nba", "home_team": "Los Angeles Lakers", "away_team": "Boston Celtics", "commence_time": "2026-03-28T01:00:00Z", "bookmakers": [ { "key": "draftkings", "title": "DraftKings", "last_update": "2026-03-27T14:38:01Z", "markets": [ { "key": "h2h", "outcomes": [ { "name": "Lakers", "price": -110 }, { "name": "Celtics", "price": -110 } ] } ] } ] } ]
Trusted by developers building the next generation of sports data products
"The normalization layer alone saved us three weeks of engineering time. The data is clean, the latency is low, and it just works."
Alex R.
CTO Β· SharpPick Analytics
"Exceptional uptime. We're pulling 50,000 requests a month across NBA and MLB with zero incidents in six months of production use."
Jordan M.
Lead Engineer Β· LineTracker
"Comparing DraftKings, FanDuel, and BetMGM in a single response object is exactly what we needed for our arbitrage detection pipeline."
Sam K.
Founder Β· ArbitrageHQ
Subscription tiers
Designed to grow with your product. All plans are provisioned directly β reach out and we'll get you set up. Volume and annual pricing available on request.
Starter
$0/mo
Evaluate the platform. Get in touch and we'll set you up with a key to explore the API.
Get Started β FreeProfessional
$29/mo
For developers and independent analysts. Get in touch to get access and discuss your setup.
Request AccessBusiness
$149/mo
For platforms, media properties, and data teams. Let's talk about what you're building.
Contact SalesAnnual billing available at a discount Β· Custom volume pricing on request Β· Talk to us β
Get started
Join the developers and data teams building smarter sports products on TheOddsAPI. Send us a message and we'll get you set up with access.