DocsAPI ReferenceMCPSDKs
AltSportsData
Leagues
Route Guide

Compare Leagues

Compare two leagues side-by-side across key metrics, valuation, readiness, and commercial factors.

Route Reference

Method, path, and environment

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

First league identifier (e.g., "formula-1")

Optional
other_idstringrequired

Second league identifier (e.g., "nascar")

Optional

Responses

200

OK

Response body

{
  "data": {
    "league_a": {
      "id": "formula-1",
      "name": "Formula 1 World Championship",
      "tier": "T1",
      "tier_score": 945,
      "readiness_score": 932,
      "valuation_acv": 250000,
      "events_per_season": 23,
      "global_reach": "worldwide",
      "avg_viewership": 87000000
    },
    "league_b": {
      "id": "nascar",
      "name": "NASCAR Cup Series",
      "tier": "T1",
      "tier_score": 887,
      "readiness_score": 895,
      "valuation_acv": 180000,
      "events_per_season": 36,
      "global_reach": "primarily_north_america",
      "avg_viewership": 4200000
    },
    "comparison": {
      "tier_difference": 0,
      "score_difference": 58,
      "acv_difference": 70000,
      "common_sport_bucket": "motorsport",
      "similarity_score": 0.78,
      "key_differences": [
        "Formula 1 has significantly higher global viewership",
        "NASCAR has more events per season",
        "Formula 1 commands higher commercial value",
        "Both are T1 elite motorsport properties"
      ],
      "common_strengths": [
        "Excellent data infrastructure",
        "Strong commercial viability",
        "High fan engagement",
        "Established betting markets"
      ]
    },
    "recommendation": "Both leagues represent premium motorsport properties with strong commercial appeal. Formula 1 offers higher global reach and valuation, while NASCAR provides more frequent event opportunities."
  },
  "meta": {
    "total": 1,
    "page": 1,
    "limit": 1,
    "has_more": false,
    "api_version": "v1",
    "timestamp": "2026-03-07T06:38: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.