DocsAPI ReferenceMCPSDKs
AltSportsData
Leagues
Route Guide

Similar Leagues

Find leagues similar to a given league based on characteristics, metrics, and attributes.

Route Reference

Method, path, and environment

GETAuthenticate with X-API-Key
Full route
https://api.altsportsdata.com/api/v1/public/leagues/{league_id}/similar
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.

Path Parameters

league_idstringrequired

Unique league identifier

Optional

Query Parameters

limitinteger

Number of results to return (default: 10, max: 50)

5

Responses

200

OK

Response body

{
  "data": [
    {
      "league_id": "supermotocross",
      "league_name": "SuperMotocross World Championship",
      "similarity_score": 0.89,
      "common_attributes": ["motorsport", "individual_sport", "professional", "T2_tier"],
      "tier": "T2",
      "sport": "Supercross/Motocross"
    },
    {
      "league_id": "nll",
      "league_name": "National Lacrosse League",
      "similarity_score": 0.82,
      "common_attributes": ["professional", "T2_tier", "north_american"],
      "tier": "T2",
      "sport": "Lacrosse"
    },
    {
      "league_id": "masl",
      "league_name": "Major Arena Soccer League",
      "similarity_score": 0.78,
      "common_attributes": ["professional", "T2_tier", "team_sport"],
      "tier": "T2",
      "sport": "Indoor Soccer"
    }
  ],
  "meta": {
    "total": 3,
    "page": 1,
    "limit": 5,
    "has_more": false,
    "api_version": "v1",
    "timestamp": "2026-03-07T06:41: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.