REST APISports

API-Sports (API-Football / API-Basketball)

API-Sports (API-Football / API-Basketball) is a rest api from API-Sports (api-sports.io) providing sports data. API-Sports is a family of REST sports-data APIs (API-Football, API-Basketball, API-Baseball, and others) served under one account/key. It exposes live scores, fixtures/schedules, in-game events, statistics, standings, and pre-match/in-play betting odds across 12+ sports. A Polymarket bot would use it to drive game-outcome and in-game markets — pulling live scores and play-by-play events to price/settle, plus bookmaker odds as a fair-value reference for soccer, NBA, NFL, MLB, tennis, and more.

At a glance

ProviderAPI-Sports (api-sports.io)
TypeREST API
CategorySports
Real-timeNo — request/response
AuthAPI key
PricingFree tier (100 req/day per API); paid from $19/mo (Pro, 7,500 req/day) — Free: 100 requests/day per API, 10 req/min, all endpoints, no credit card, Pro: $19/mo, 7,500 requests/day, 300 req/min, Ultra: $29/mo, 75,000 requests/day, 450 req/min, Mega: $39/mo, 150,000 requests/day, 900 req/min (custom plans up to 1.5M/day)

What data it provides

  • Live scores updated every ~15 seconds (livescore endpoint)
  • Fixtures / schedules with status, venue, referee
  • In-game events (goals, cards, substitutions) and play-by-play
  • Pre-match and in-play betting odds from many bookmakers
  • League standings, team and player statistics
  • Multi-sport: football/soccer, basketball (NBA), baseball (MLB), NFL/NCAA, rugby, hockey, tennis, MMA, F1 and more

Features

  • Free plan: 100 req/day per API, 10 req/min; paid tiers scale to 1.5M req/day and 1,200 req/min
  • Single API key works across all 12+ sport APIs under one account
  • Livescore refreshed every ~15s; recommended polling ~1 call/min for in-progress fixtures
  • Rate-limit headers (X-RateLimit-Limit / X-RateLimit-Remaining) for client throttling
  • Deep historical coverage of fixtures, results and odds; broad league coverage (1,100+ leagues for football)
  • Plain REST/JSON — language-agnostic, works with any HTTP client; also available via RapidAPI

Links

Use it in a bot

Other sports data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord