Coverage Docs Blog Pricing Get API key

sportdb.io documentation

A fast, multi-sport data & odds REST API: fixtures, live & final scores, standings, lineups and stats, plus odds from 20+ domestic bookmakers and the betting exchanges, with value / arbitrage / dropping-odds signals.

Introduction

Every response is JSON. Timestamps are ISO-8601 UTC and, where relevant, epoch milliseconds (kickoff_ms); every odds price is stamped with its age (age_seconds) so you always know how fresh it is.

The API is sport-first: every sport-scoped resource lives under /v1/{sport}/…, where sport is one of football, basketball, tennis, hockey. This keeps each sport a clean, separately-billable surface.

Base URL

https://sportdb.io/v1

Versioned

Version is in the path (/v1). Breaking changes ship under a new version.

Additive-safe

New fields and endpoints can appear in /v1. Treat unknown JSON fields as optional.

HTTPS only

TLS required. Plain-HTTP requests are redirected to HTTPS.

CORS

Reads are CORS-enabled, but never ship a secret key in browser code. Proxy through your backend.

Authentication

All endpoints except /v1/health require an API key. Create an account and generate a key in your dashboard (or register first). Keys look like sdb_live_… and are shown once - store them securely. You can create, rotate and revoke keys at any time in the dashboard.

Send the key in any of these ways (header is recommended):

# Header (recommended)
curl https://sportdb.io/v1/football/fixtures \
  -H "X-API-Key: sdb_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# Bearer token
curl https://sportdb.io/v1/football/fixtures \
  -H "Authorization: Bearer sdb_live_xxxx"

# Query string (handy for quick tests)
curl "https://sportdb.io/v1/football/fixtures?apikey=sdb_live_xxxx"
Treat your key like a password. Never embed it in client-side code or public repos. If a key leaks, revoke it in the dashboard.

Quickstart

Fetch the best price per outcome across every book for upcoming football matches, in your language:

curl https://sportdb.io/v1/football/odds \
  -H "X-API-Key: $SPORTDB_KEY"

Full, runnable snippets for every endpoint live in the interactive API reference and the examples repo.

Try it live

Run a real request from your browser - no key or signup needed. These calls hit live data and return the free-tier response (odds show the best price only). Your own key unlocks full book-by-book odds, live odds and signals.

Live demo, rate-limited and cached. Get your own key via register for full responses.

// Pick an endpoint and press Run

Requests & responses

List endpoints return a consistent envelope: a data array, a count, and a meta object.

{
  "data": [ /* array of results */ ],
  "count": 20,
  "meta": { "sport": "football", "generated_at": "2026-11-26T13:40:00+00:00" }
}
ParameterApplies toMeaning
limitlist endpointsPage size, 1-500 (default 100).
hoursfixtures, oddsLook-ahead window from now, in hours (default 72).
min_ev, min_profit, min_changesignalsMinimum threshold for value / arbs / drops.
windowdrops1h or 24h.
scopevalueall or validated.

Sports & coverage

Four sports today. Coverage differs per domain and is expanding - the live source of truth is GET /v1/sports and GET /v1/books. Browse the football tree (181 countries, 1,000+ competitions) at /coverage.

SportFixturesScoresOddsSignalsStandings / lineups / stats
Football ⚽yesyesyesyesyes
Basketball 🏀yessoonyesyes-
Tennis 🎾yesyesyesyes-
Ice Hockey 🏒yesyessoonsoon-

Odds markets per sport: football 1x2, double_chance, btts, totals, handicap; basketball moneyline, totals, spread; tennis winner.

Endpoints

Account & cross-sport resources live at the root; everything else is under /v1/{sport}/…. Click any endpoint to see its parameters and an example response. Full schemas and per-language samples are in the reference.

Account & meta

GET/v1/health+Service status & database reachability. Public, no key.
Response
{
  "service": "sportdb", "status": "ok", "version": "v1",
  "time": "2026-11-26T12:00:00+00:00",
  "databases": { "sportdb": true, "data": true }
}
GET/v1/me+Your plan, entitlements and usage today.
Response
{
  "plan": "pro", "channel": "direct",
  "rate_per_min": 300, "daily_quota": 70000,
  "used_today": 134, "remaining_today": 69866,
  "reset_at": "2026-11-27T00:00:00+00:00",
  "domains": ["sports","books","fixtures","scores","standings","lineups","stats","odds","signals"]
}
GET/v1/sports+Supported sports with their domains and odds markets.
Response
{ "data": [
  { "key": "football", "title": "Football",
    "domains": ["fixtures","scores","odds","signals","standings","lineups","stats"],
    "odds_markets": ["1x2","double_chance","btts","totals","handicap"] }
], "count": 4 }
GET/v1/books+Covered bookmakers and exchanges, each with a live flag.
Response
{ "data": [
  { "key": "mozzart", "name": "Mozzart", "country": "RS", "type": "book", "live": true },
  { "key": "betfair", "name": "Betfair Exchange", "type": "exchange",
    "liquidity": "betfair", "live": true }
], "count": 23, "meta": { "generated_at": "2026-11-26T12:00:00+00:00" } }

Core data

GET/v1/{sport}/fixtures+Upcoming schedule: kickoff, league, teams.
Parameters
  • hours - look-ahead window (default 72)
  • limit - page size, 1-500 (default 100)
Response
{ "data": [
  { "fixture_id": 12934501, "sport": "football", "league": "Premier League",
    "home": "Arsenal", "away": "Chelsea",
    "kickoff": "2026-11-28T17:30:00+00:00", "kickoff_ms": 1796060200000 }
], "count": 1, "meta": { "sport": "football", "generated_at": "2026-11-26T12:00:00+00:00" } }
GET/v1/{sport}/scores+Live & finished results with match state.

Score rows are keyed by event_id and tournament. Football/hockey carry score; tennis carries sets.

Response
{ "data": [
  { "event_id": 11902233, "tournament": "Premier League", "country": "England",
    "home": "Arsenal", "away": "Chelsea",
    "score": { "home": 2, "away": 1 }, "halftime": { "home": 1, "away": 0 },
    "status": "inprogress", "status_detail": "2nd half",
    "updated_at": "2026-11-26T18:12:03+00:00" }
], "count": 1, "meta": { "sport": "football" } }
GET/v1/{sport}/scores/live+In-progress events only (alias: /v1/{sport}/live).

Same shape as /scores, filtered to in-progress events. Tennis rows use sets instead of score.

Response (tennis)
{ "data": [
  { "event_id": 11977001, "tournament": "ATP Finals",
    "home": "Sinner", "away": "Alcaraz",
    "sets": { "home": 1, "away": 1 },
    "status": "inprogress", "status_detail": "set 3" }
], "count": 1, "meta": { "sport": "tennis", "live": true } }

Odds

GET/v1/{sport}/odds+Pre-match prices from every book, plus the best per outcome. (football, basketball, tennis)
Parameters
  • hours - window (default 72) · limit - 1-500 (default 100)
FieldNotes
bestPer outcome { odd, book } - the top price and which book has it.
booksEvery book's prices { book, home, draw, away } (paid plans).
age_secondsHow old the price is. Lower is fresher.
Response
{ "data": [
  { "fixture_id": 12934501, "sport": "football", "league": "Premier League",
    "home": "Arsenal", "away": "Chelsea", "market": "1x2",
    "kickoff": "2026-11-28T17:30:00+00:00", "kickoff_ms": 1796060200000,
    "best": {
      "home": { "odd": 1.95, "book": "meridian" },
      "draw": { "odd": 3.70, "book": "mozzart" },
      "away": { "odd": 4.20, "book": "maxbet" } },
    "books": [
      { "book": "mozzart", "home": 1.90, "draw": 3.70, "away": 4.10 },
      { "book": "maxbet",  "home": 1.92, "draw": 3.60, "away": 4.20 } ],
    "age_seconds": 42, "updated_at": "2026-11-26T12:00:00+00:00" }
], "count": 1, "meta": { "sport": "football", "window_hours": 72 } }

Try this live in the Try it console.

Signals premium

GET/v1/{sport}/value++EV candidates vs the fair market price.
Parameters
  • min_ev - minimum edge % · scope - all|validated · limit
Response
{ "data": [
  { "home": "Arsenal", "away": "Chelsea", "league": "Premier League",
    "market": "1x2", "outcome": "home", "book": "maxbet",
    "odd": 2.05, "fair_odd": 1.92, "ev_pct": 6.8,
    "kelly_quarter": 0.9, "low_confidence": false }
], "count": 1 }
GET/v1/{sport}/arbs+Cross-book arbitrage (surebets).
Parameters
  • min_profit - minimum profit % · limit
Response
{ "data": [
  { "profit_pct": 1.8, "kind": "surebet", "market": "1x2",
    "home": "Arsenal", "away": "Chelsea", "league": "Premier League",
    "legs": [
      { "book": "mozzart", "outcome": "home", "odd": 2.10 },
      { "book": "meridian", "outcome": "away", "odd": 2.05 } ] }
], "count": 1 }
GET/v1/{sport}/drops+Dropping odds (short-window price falls).
Parameters
  • window - 1h|24h · min_change · limit
Response
{ "data": [
  { "home": "Liverpool", "away": "Everton", "outcome": "home",
    "from_odds": 2.40, "to_odds": 2.05, "drop_pct": 14.6, "window": "1h",
    "books_n": 8, "sources_n": 3,
    "still_high": [ { "book": "king", "odd": 2.30 } ] }
], "count": 1 }
Not financial advice. Signals are candidates computed from the market, not a guarantee of profit. Every signals response includes this disclaimer.

Reference & detail

GET/v1/{sport}/leagues+League / tournament registry.
Response
{ "data": [
  { "tournament_id": 17, "name": "Premier League", "country": "England", "season_id": 76986 }
], "count": 1, "meta": { "sport": "football" } }
GET/v1/{sport}/standings/{tournament}+League table for a tournament id.
Response
{ "data": [
  { "rank": 1, "team": "Arsenal", "played": 12, "win": 9, "draw": 2, "lose": 1,
    "gf": 28, "ga": 9, "gd": 19, "points": 29, "note": "Champions League" }
], "count": 20 }
GET/v1/{sport}/fixtures/{fixture}/lineups+Lineups & formations for a fixture.
Response
{ "data": {
  "home": { "team": "Arsenal", "formation": "4-3-3", "coach": "Arteta",
    "players": [ { "player_id": 44122, "name": "Saka", "number": 7,
                   "position": "F", "grid": "3:1", "role": "start" } ] },
  "away": { "team": "Chelsea", "formation": "4-2-3-1", "players": [ ] }
} }
GET/v1/{sport}/fixtures/{fixture}/stats+Match statistics for a fixture.
Response
{ "data": {
  "home": { "team": "Arsenal", "stats": { "possession": 58, "shots": 14, "shots_on_target": 6, "corners": 7 } },
  "away": { "team": "Chelsea", "stats": { "possession": 42, "shots": 9, "shots_on_target": 3, "corners": 4 } }
} }

Hierarchy football

Browse by country and competition - 181 countries, 1,000+ competitions, each with a real table. Also powers /coverage.

GET/v1/{sport}/countries+Countries that have competitions.
Response
{ "data": [
  { "country": "England", "slug": "england", "competitions": 12 },
  { "country": "Serbia", "slug": "serbia", "competitions": 5 }
], "count": 181, "meta": { "sport": "football" } }
GET/v1/{sport}/{country}+Competitions in a country, e.g. /v1/football/england.
Response
{ "data": {
  "country": "England", "slug": "england",
  "competitions": [
    { "name": "Premier League", "slug": "premier-league", "tournament_id": 17, "current_season": 76986 }
  ] } }
GET/v1/{sport}/{country}/{competition}+Seasons for a competition.

season here is the season id used in the standings path below.

Response
{ "data": {
  "country": "England", "competition": "Premier League", "tournament_id": 17,
  "current_season": 76986,
  "seasons": [ { "season": 76986, "standings": true, "current": true },
               { "season": 52186, "standings": true } ] } }
GET/v1/{sport}/{country}/{competition}/{season}/standings+League table for a season.
Response
{ "data": {
  "country": "England", "competition": "Premier League", "season": 76986,
  "table": [ { "rank": 1, "team": "Arsenal", "played": 12, "points": 29, "gd": 19 } ] } }

Matches

GET/v1/match/{id}+Match detail (id is the fixture_id from /fixtures).
Response
{ "data": {
  "match_id": 12934501, "league": "Premier League",
  "home": "Arsenal", "home_id": 42, "away": "Chelsea", "away_id": 49,
  "kickoff": "2026-11-28T17:30:00+00:00",
  "status": "finished", "status_short": "FT", "elapsed": 90,
  "score": { "home": 2, "away": 1 }, "venue": "Emirates Stadium", "referee": "M. Oliver" } }
GET/v1/match/{id}/lineups+Lineups per team (players, positions, formation).

Same lineup shape as /v1/{sport}/fixtures/{fixture}/lineups.

GET/v1/match/{id}/stats+Team statistics for the match.

Same stats shape as /v1/{sport}/fixtures/{fixture}/stats.

Players & clubs lite

Lite search/profile derived from lineups and matches - not full bios, season stats or transfers. Every response carries a disclaimer.

GET/v1/players/search/{term}+Search players by name.
Response
{ "data": [
  { "player_id": 44122, "name": "Bukayo Saka", "positions": ["F","M"],
    "last_team_id": 42, "appearances": 61, "last_seen": "2026-11-24" }
], "count": 1, "meta": { "term": "saka" } }
GET/v1/players/{id}+Player: positions, teams, recent matches.
Response
{ "data": {
  "player_id": 44122, "name": "Bukayo Saka", "positions": ["F","M"],
  "teams": [ 42 ],
  "recent_matches": [ { "match_id": 12934501, "date": "2026-11-28", "team_id": 42, "role": "start" } ]
}, "disclaimer": "Lite profile derived from lineups; not official." }
GET/v1/clubs/search/{term}+Search clubs by name (ranked by activity).
Response
{ "data": [
  { "club_id": 42, "name": "Arsenal", "matches": 240 }
], "count": 1, "meta": { "term": "arsenal" } }
GET/v1/clubs/{id}+Club: name and recent matches.
Response
{ "data": {
  "club_id": 42, "name": "Arsenal",
  "recent_matches": [
    { "match_id": 12934501, "date": "2026-11-28", "league": "Premier League",
      "home": "Arsenal", "away": "Chelsea", "home_away": "home",
      "opponent": "Chelsea", "score": { "home": 2, "away": 1 }, "status": "finished" } ]
}, "disclaimer": "Lite profile derived from matches; not official." }

Recipes

Common things people build with sportdb.io. Each links a full write-up and runnable code.

Odds comparison site

Rows = books, columns = outcomes, highlight best. Guide · code

Find arbitrage

Poll /arbs, place each leg before prices move. Guide

Track dropping odds

Poll /drops?window=1h for market moves. Guide

League table widget

Browse /coverage, pull /standings for any season.

MCP server (for AI agents)

sportdb.io is also a remote MCP server (Model Context Protocol) over Streamable HTTP, so Claude, Cursor and other AI agents can call the API as native tools. Endpoint: POST https://sportdb.io/v1/mcp, authenticated with your X-API-Key and metered like any API call.

Tools: live_scores, fixtures, odds, value_bets, arbitrage, dropping_odds, countries, competitions, standings.

# Add to any MCP client via the mcp-remote bridge
{ "mcpServers": { "sportdb": {
    "command": "npx",
    "args": ["mcp-remote", "https://sportdb.io/v1/mcp",
             "--header", "X-API-Key:sdb_live_xxxx"] } } }

Bookmakers & exchanges

We normalize odds from 20+ domestic Balkan bookmakers that global odds APIs don't carry (Mozzart, MaxBet, Meridian, AdmiralBet, Superbet, Soccerbet, MerkurXtip, BalkanBet, Efbet and more), so you can compare prices and find the best across all of them.

We also carry the betting exchanges - Betfair Exchange, Sharp Exchange and OrbitExchange, which all share one Betfair liquidity pool - useful as a sharp, fair-value benchmark. In /v1/books they are tagged "type":"exchange", "liquidity":"betfair".

Signals

The /value, /arbs and /drops endpoints surface opportunities computed from the live market: positive expected value against the fair price, cross-book arbitrage, and sharp dropping odds. Each row ships with its inputs (books, prices, fair odds, timestamps) so you can judge it yourself.

Not financial advice. Signals are candidates computed from the market, not a guarantee of profit. You are solely responsible for any decisions you make.

Plans & rate limits

Each plan sets a per-minute rate limit, a daily request quota, and which domains it may call. Manage your subscription in the dashboard.

PlanRate / minRequests / dayIncludes
Free30100Data (scores, fixtures, standings, lineups, stats) + a limited odds sample (best price, up to 3 events)
Starter (€19)1207,000Everything in Free + odds
Pro (€79)30070,000Everything in Starter + live odds + signals
Max (€139)600150,000Everything in Pro, higher volume & rate
Business1,2001,000,000Everything, SLA & priority

Calling a domain your plan doesn't include returns 403 plan_not_entitled. Every response carries rate-limit headers:

X-RateLimit-Limit:     70000      # daily quota
X-RateLimit-Remaining: 69866
X-RateLimit-Reset:     1795629600 # epoch seconds (next UTC midnight)

Errors

Errors use standard HTTP status codes and a consistent JSON body:

{ "error": { "code": "plan_not_entitled",
             "message": "Your plan does not include 'odds'. Upgrade to access it." } }
StatusCodeMeaning
401unauthenticatedMissing or invalid API key.
403plan_not_entitledYour plan doesn't include this domain.
404-Unknown route or unsupported {sport}.
422unsupported_sportSport not available for this endpoint (e.g. hockey odds).
429rate_limitedToo many requests this minute.
429quota_exceededDaily quota reached.

Changelog

Support

Questions, higher limits or a custom plan? Email [email protected]. See also the Terms and Privacy Policy.