API · /sportsdb-api

Sports Database API

healthy 4,980 Subscribers

A universal database of sports leagues, teams and players as an API, powered by TheSportsDB. Covering every major sport — soccer, basketball, American football, baseball, ice hockey, motorsport, cricket, rugby and more — this is a sports reference and metadata database, distinct from single-league live-score feeds. /v1/leagues browses the world's sports leagues (filter with sport=Soccer, Basketball, …) returning each league's id, name and sport. /v1/teams?league=English Premier League lists the teams in a league, each with its id, sport, country, home stadium and capacity, founding year, crest/badge and logo image URLs and a description. /v1/team?id=133604 returns a team's full profile by id. /v1/squad?id=133604 returns the players in a team. /v1/players?name=Lionel Messi searches players by name across all sports, returning their team, sport, position, nationality, date and place of birth, height and weight and photo (thumbnail and cutout) URLs. With official team crests and player photos, it is ideal for sports apps, fantasy and prediction tools, team and player directories, quiz and trivia games, and Discord/Slack sports bots. Data from TheSportsDB's free public tier, which returns up to about 10 results per league or squad; higher limits and advanced endpoints require TheSportsDB's paid tier. Team ids look like 133604 (Arsenal).

api.oanor.com/sportsdb-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/sportsdb-api/openapi.json
/api/sportsdb-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
117 ms
Server probes · 24h
Subscribers
4,980
active
Total calls
12
last 7 days
status Full status page → · 18 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 2,200 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 2200 calls/month
  • 2 req/sec
  • Leagues, teams, squads & players
  • No credit card
Sign in to subscribe

Starter

€6.00 /month

  • 48,000 calls / month
  • 5 requests / second
  • Hard cap (429 above quota, no overage)
  • 48k calls/month
  • 5 req/sec
  • Crests & player photos
  • Email support
Sign in to subscribe

Pro

€19.00 /month

  • 210,000 calls / month
  • 12 requests / second
  • Hard cap (429 above quota, no overage)
  • 210k calls/month
  • 12 req/sec
  • Sports apps & directories
  • Priority support
Sign in to subscribe

Mega

€52.00 /month

  • 780,000 calls / month
  • 35 requests / second
  • Hard cap (429 above quota, no overage)
  • 780k calls/month
  • 35 req/sec
  • High-volume sports platforms
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

NHL Hockey Stats API

The National Hockey League as an API, from the official NHL Web API. Get the 32 clubs, live standings (wins, losses, OT losses, points, point pct, goals for/against, current streak, last-10 record, division/conference/wildcard rank), the schedule and final scores for any date, team rosters, player profiles with current-season and full career stats (goals, assists, points, plus-minus, save pct and more), and game box scores. Resolve teams by tricode (TOR) or name (Maple Leafs), and players by name (Connor McDavid) or NHL id. Perfect for building scoreboards and standings widgets, fantasy-hockey tools, stat dashboards, Discord/Slack bots, and sports-data apps. No key for the upstream, no accounts to manage.

api.oanor.com/nhl-api

MLB Baseball Stats API

Major League Baseball as an API, from the official MLB Stats API. Get the 30 clubs, live division standings (wins, losses, win pct, games back, current streak, run differential), the full schedule and final scores for any date, team rosters, player profiles with complete season hitting and pitching stats (HR, AVG, OPS, RBI, ERA, strikeouts, W-L and more), and inning-by-inning line scores for any game. Resolve teams by abbreviation (NYY), id (147) or name (Yankees), and players by name (Aaron Judge) or MLB id. Perfect for building scoreboards and standings widgets, fantasy-baseball tools, stat dashboards, Discord/Slack bots, and sports-data apps. No key for the upstream, no accounts to manage.

api.oanor.com/mlb-api

Stadiums API

Stadiums and sports venues around the world as an API — 7,000+ stadiums from Wikidata with their seating capacity, country and city, geographic coordinates and year opened. Search and filter by name, country, minimum capacity and opening year (the results come back largest-first, so it doubles as a "biggest stadiums in the world" ranking), or find every stadium near any coordinate by great-circle distance. Ideal for sports, travel, ticketing, maps, trivia and matchday apps. Open data from Wikidata.

api.oanor.com/stadiums-api

Formula 1 API

Formula 1 reference data as an API, built on the Ergast / Jolpica F1 dataset — every driver, constructor and circuit in F1 history plus every season since 1950. Look up a driver by id or name (e.g. hamilton → Lewis Hamilton, code HAM, #44, British), a constructor/team (ferrari → Ferrari), or a circuit with its coordinates and country (monza → Autodromo Nazionale di Monza, Italy); or search across all three (e.g. "verstappen" → Jos & Max Verstappen). 879 drivers, 214 constructors, 78 circuits. Ideal for motorsport apps, fantasy F1, sports trivia and data dashboards.

api.oanor.com/f1-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Sports Database API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Sports Database API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Sports Database API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Sports Database API cost?
Sports Database API has a free tier with 100 calls / month. Paid plans start at €6.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Sports Database API GDPR-compliant?
All requests to Sports Database API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/sportsdb-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/sportsdb-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/sportsdb-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/sportsdb-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.