Base URLs
Access our multi-sport API through dedicated sport-specific endpoints. The V2 Enhanced API is available for all 25+ sports:Football API (V2)
Basketball API (V2)
Any Sport (V2)
Legacy V1 endpoints remain available for backward compatibility. See the V1 Legacy (Deprecated) section for V1 documentation.
Quick Links
Football V2
147+ endpoints — Premier League, La Liga, Champions League & 1000+ leagues
Basketball V2
115 endpoints: NBA, EuroLeague, WNBA & 50+ leagues
Tennis V2
88 endpoints: ATP, WTA rankings, draws & point-by-point
Cricket V2
IPL, Test cricket, T20 leagues & live ball-by-ball
Ice Hockey V2
NHL, KHL, SHL & 30+ leagues worldwide
Browse All 25 Sports ↓
Team, racquet, combat, motorsport & more
Authentication
All endpoints require authentication via thex-api-key header. The same API key works across all 25+ sports APIs:
Auto-Resolved Parameters
The API automatically determines the user’s language, timezone, and country based on request context. You do not need to specify default values for these parameters—they are resolved automatically.
| Parameter | Auto-Resolved | Description |
|---|---|---|
appTypeId | Yes | Application type identifier (default: 5) |
langId | Yes | Language ID (1 = English) |
timezoneName | Yes | Timezone for date/time values (see below) |
userCountryId | Yes | User’s country for localization |
Timezone Handling
Timezone is automatically resolved based on the user’s country. You can also override it by passing the
timezoneName query parameter.How Auto-Resolution Works
The V2 API uses a country-based mechanism to determine the user’s timezone:- Country detection — Cloudflare identifies the user’s country from their IP address (via the
CF-IPCountryheader). - Country → Timezone mapping — The backend maps the detected country code (e.g.,
DE→Europe/Berlin,US→America/New_York) to the primary IANA timezone for that country. - Applied to responses — All date/time fields in the response use the resolved timezone offset.
Timezone source Field
API responses include a source field in the timezone metadata indicating how the timezone was resolved:
| Source | Meaning |
|---|---|
"auto" | Timezone was auto-resolved from the user’s detected country |
"manual" | Timezone was explicitly set via the timezoneName parameter |
"default" | Fallback to UTC (country could not be detected) |
Manual Override
You can override auto-resolution by passing thetimezoneName query parameter with any valid IANA timezone identifier:
Code Examples
Use these examples to integrate timezone handling into your application. The API auto-resolves timezone from your IP, or you can override it manually.V1 Legacy: Parsing ISO 8601 Responses
V2 uses Unix timestamps (
startTimestamp) — see the next section. This ISO 8601 parsing guide applies only to V1 endpoints which return date strings with timezone offsets.2026-01-07T15:00:00-05:00). Here’s how to parse them correctly:
Date/Time Format in Responses
The V2 API returns timestamps as Unix epoch integers (startTimestamp). Convert to your desired display format:
timezoneName query parameter to control how schedule endpoints group matches by date.
Example: Same Match in Different Timezones
The same match returns the samestartTimestamp regardless of timezone. The timezoneName parameter affects date-based grouping, not the timestamp value:
startTimestamp to display times in any timezone:
| Timezone | Display Time |
|---|---|
| UTC | 2026-01-07 20:00:00 |
| America/New_York | 2026-01-07 15:00:00 |
| America/Los_Angeles | 2026-01-07 12:00:00 |
| Europe/Berlin | 2026-01-07 21:00:00 |
| Asia/Tokyo | 2026-01-08 05:00:00 |
Common Timezone Examples
| Region | timezoneName Value |
|---|---|
| UTC/GMT | UTC or Etc/GMT |
| US Eastern | America/New_York |
| US Pacific | America/Los_Angeles |
| UK | Europe/London |
| Central Europe | Europe/Berlin |
| Japan | Asia/Tokyo |
| Australia Sydney | Australia/Sydney |
| India | Asia/Kolkata |
Best Practice: For server-to-server integrations, explicitly specify
timezoneName to ensure consistent behavior regardless of server location. For client-facing applications, rely on auto-resolution for the best user experience.V1 Legacy Note: V1 endpoints also support the
timezoneName parameter for manual override, but auto-resolution may behave differently. For the most reliable timezone handling, use the V2 API.Response Structure
V2 API Response Format
The V2 API returns data in a clean envelope with anevents array:
V1 Legacy Response Format
V1 endpoints use a different envelope withgames, sports, and competitions arrays:
Common Response Fields
| Field | Version | Type | Description |
|---|---|---|---|
success | V2 | boolean | Whether the request succeeded |
count | V2 | number | Number of items returned |
events | V2 | array | Array of event/match objects |
lastUpdateId | V1 | number | Internal versioning ID for incremental updates |
ttl | V1 | number | Time To Live in seconds — recommended cache duration |
Each endpoint has its own built-in cache with a defined TTL. No manual caching or client-side caching is required. The TTL value indicates the recommended cache duration.
Browse by Sport
Explore all 25 V2 sports organized by category. Each sport has its own dedicated subdomain and full endpoint documentation.Popular Sports
Football
147+ endpoints — 1000+ leagues, shotmaps, AI insights, WebSocket
Basketball
115 endpoints: NBA, EuroLeague, box scores, playoff brackets
Tennis
88 endpoints: ATP/WTA rankings, draws, point-by-point
Cricket
IPL, Test, T20 — ball-by-ball, scorecards, player stats
Ice Hockey
NHL, KHL, SHL — period scoring, penalty stats, playoffs
Team Sports
Baseball
MLB, NPB, KBO — innings, pitch stats, box scores
American Football
NFL, NCAA — quarter scoring, drive charts, player stats
Rugby
Six Nations, Rugby Championship, Super Rugby
Handball
Champions League, World Championship, Olympic handball
Volleyball
FIVB, Champions League — set-based scoring
Futsal
FIFA Futsal World Cup, continental leagues
Water Polo
Olympic water polo, European championships
Racquet & Precision Sports
Table Tennis
ITTF World Tour, Olympic table tennis
Badminton
BWF World Tour, All England, Olympic badminton
Snooker
World Championship, UK Championship, The Masters
Darts
PDC World Championship, Premier League Darts
Beach Volleyball
FIVB Beach Pro Tour, Olympic beach volleyball
Specialty Sports
MMA
UFC, Bellator, PFL
Motorsport
F1, MotoGP, NASCAR
Cycling
Tour de France, Giro, Vuelta
Esports
CS2, LoL, Dota 2, Valorant
Aussie Rules
AFL, state leagues
Floorball
IFF World Championship
Bandy
World Championship, Elitserien
Minifootball
WMF competitions
Rate Limiting
Rate limits are shared across all 25+ sports APIs. Your daily quota applies to your total usage across Football, Basketball, Tennis, and every other sport.
| Header | Description |
|---|---|
X-RateLimit-Limit | Your daily request limit |
X-RateLimit-Remaining | Remaining requests today |
X-RateLimit-Reset | Unix timestamp when limit resets |
Sport IDs Reference
Use these IDs with thesports parameter to filter by sport type:
| ID | Sport | API Status |
|---|---|---|
| 1 | Football (Soccer) | ✅ Available |
| 2 | Basketball | ✅ Available |
| 3 | Tennis | ✅ Available |
| 4 | Ice Hockey | ✅ Available |
| 5 | Handball | ✅ Available |
| 6 | American Football | ✅ Available |
| 7 | Baseball | ✅ Available |
| 8 | Volleyball | ✅ Available |
| 10 | Cycling | ✅ Available |
| 11 | Motorsport | ✅ Available |
| 12 | Rugby | ✅ Available |
| 15 | Table Tennis | ✅ Available |
| 19 | Snooker | ✅ Available |
| 22 | Darts | ✅ Available |
| 26 | Water Polo | ✅ Available |
| 29 | Futsal | ✅ Available |
| 31 | Badminton | ✅ Available |
| 32 | Bandy | ✅ Available |
| 34 | Beach Volleyball | ✅ Available |
| 62 | Cricket | ✅ Available |
| 64 | Minifootball | ✅ Available |
| 71 | Aussie Rules | ✅ Available |
| 72 | Esports | ✅ Available |
| 74 | Floorball | ✅ Available |
| 117 | MMA | ✅ Available |
Next Steps
Quickstart Guide
Get up and running in minutes
Football V2 API
Most popular — 147+ endpoints
Basketball V2 API
NBA, EuroLeague & 50+ leagues
Tennis V2 API
Rankings, draws & point-by-point
Cricket V2 API
IPL, Test & T20 coverage
Ice Hockey V2 API
NHL, KHL & 30+ leagues