Skip to main content

Get All Sports

Returns the 15 sports supported by V6 with their numeric IDs and slugs.
GET /api/v1/sports
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.sportsapipro.com/v6/football/sports"
{
  "success": true,
  "sports": [
    { "id": 1, "slug": "football" },
    { "id": 2, "slug": "basketball" },
    { "id": 3, "slug": "tennis" },
    { "id": 5, "slug": "cricket" },
    { "id": 6, "slug": "baseball" },
    { "id": 7, "slug": "handball" },
    { "id": 8, "slug": "ice-hockey" },
    { "id": 10, "slug": "volleyball" },
    { "id": 11, "slug": "table-tennis" },
    { "id": 14, "slug": "hockey" },
    { "id": 17, "slug": "american-football" },
    { "id": 19, "slug": "snooker" },
    { "id": 22, "slug": "water-polo" },
    { "id": 24, "slug": "badminton" },
    { "id": 100, "slug": "esports" }
  ]
}

Get Match Counts

Live + today match counts for every sport. Useful for dashboard tiles.
GET /api/v1/counts
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.sportsapipro.com/v6/football/counts"
{
  "success": true,
  "items": [
    { "sportId": 1, "sport": "football", "liveCount": 39, "todayCount": 491 },
    { "sportId": 2, "sport": "basketball", "liveCount": 6, "todayCount": 106 },
    { "sportId": 100, "sport": "esports", "liveCount": 5, "todayCount": 40 }
  ]
}
Cache TTL: 15 s
GET /api/v1/search?q={query}
Search is best-effort and may return an empty array for niche queries.
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.sportsapipro.com/v6/football/search?q=real+madrid"

Cache Stats

Internal cache diagnostics — useful for debugging stale data and observing the V6 hit rate.
GET /api/v1/cache/stats
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.sportsapipro.com/v6/football/cache/stats"
{
  "success": true,
  "size": 1284,
  "active": 1102,
  "hits": 89432,
  "misses": 6711
}
The cache auto-evicts expired entries once size exceeds 2000.

FIFA Rankings

See the dedicated Match H2H & Rankings page — both /fifa/rankings and /rankings?sport_id=1 (with 348 historical publication dates) are documented there.
Last modified on June 29, 2026