DocsAPI ReferenceMCPSDKs
AltSportsData
Leagues
Route Guide

List Leagues

Retrieve a paginated list of sports leagues with optional filtering.

Route Reference

Method, path, and environment

GETAuthenticate with X-API-Key
Full route
https://api.altsportsdata.com/api/v1/public/leagues
Base URL
https://api.altsportsdata.com
Testing Flow

Use the right pane to validate the route

01

Choose a language and confirm the environment or base URL.

02

Paste your API key, then fill in path or query parameters.

03

Run the request and inspect the live response without leaving this page.

Query Parameters

sport_typestring

Filter by sport type

Soccer
archetypestring

Filter by league archetype

Optional
tierstring

Filter by tier classification

elite
countrystring

Filter by country code (ISO 3166-1)

Optional
limitinteger

Number of results (1-100, default: 100)

10
offsetinteger

Pagination offset (default: 0)

Optional

Responses

200

OK

Response body

{
  "data": [
    {
      "id": "league_001",
      "name": "Premier League",
      "sport": "soccer",
      "country": "GB",
      "tier": "elite",
      "archetype": "professional",
      "founded": 1992,
      "active": true
    },
    {
      "id": "league_002",
      "name": "La Liga",
      "sport": "soccer",
      "country": "ES",
      "tier": "elite",
      "archetype": "professional",
      "founded": 1929,
      "active": true
    }
  ],
  "meta": {
    "total": 156,
    "page": 1,
    "limit": 10,
    "has_more": true,
    "api_version": "v1",
    "timestamp": "2026-03-07T00:00:00Z"
  }
}
400

One of the request parameters is invalid. See the returned message for details.

401

Authentication headers are missing or invalid. Make sure you authenticate your request with a valid API key.

403

The requested resource is forbidden.

429

Too many requests. You hit the rate limit. Use the X-RateLimit headers to confirm when you can retry.

500

Internal server error. Retry later, and contact support if the issue persists.