GET /leagues
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/manifold/leaguesCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeLeague standings for a user, season or cohort.
Requires at least one of `userId`, `season`, or `cohort` (otherwise rejected locally with HTTP 400 matching upstream validation). Example: `?userId=IPTOzEqrpkWmEzh6hwvAyY9PqFb2`, `?season=11`, or `?cohort=tenacious-enchanters`.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
userId | query | str | optional | Only leagues for this user id (one of userId, season, or cohort is required). example: IPTOzEqrpkWmEzh6hwvAyY9PqFb2 |
season | query | int | optional | League season number (one of userId, season, or cohort is required). example: 11 |
cohort | query | str | optional | Cohort name, e.g. 'tenacious-enchanters' (one of userId, season, or cohort is required). example: tenacious-enchanters |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/manifold/leagues?userId=IPTOzEqrpkWmEzh6hwvAyY9PqFb2&season=11&cohort=tenacious-enchanters"