DocsAPI ReferenceMCPSDKs
AltSportsData
Discovery
Route Guide

Find Similar Leagues

Find similar leagues using vector similarity

Route Reference

Method, path, and environment

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

League identifier

Optional

Query Parameters

limitinteger

Max results (default: 10)

10

Responses

200

OK

Response body

{"data": [{"league_id": "nba", "similarity_score": 0.85}]}
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.