OpenDota API endpoint
Returns every league ID and its source name, ticket, banner and tier. The source list is large and can include historical or excluded leagues. Filter `tier` locally; `unrated` selects source rows whose tier is blank. The response echoes tier_filter. Use a returned ID with opendota_league_matches.
/opendota/leaguesReturns OpenDota league IDs and their names, tier labels, tickets, and banners. Use a returned league ID with opendota-league-matches.
Header: Crawlora x-api-key required; no OpenDota API key is needed upstream.
Query parameters:
tier: optional exact filter. Allowed values: amateur, excluded, premium, professional, unrated. unrated selects source records whose tier is blank. Omit it to return the full directory.Notable response behavior:
tier_filter echoes the requested filter value.amateur, excluded, premium, professional, and blank. unrated is this endpoint's filter label for blank source tiers.This one-row example represents a tier=excluded response; the full result contains 7,549 rows. The array is abbreviated.
The response returned 2,484 items. Field counts and profiles examine the first 500 checked items.
| Field | Filled in, of 500 checked | Values in the sample |
|---|---|---|
| id | 500 | |
| name | 500 | “MLG T.K.O.” and 492 other values |
| tier | 500 | professional in all 500 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required | ||
| tier | string | No | Optional exact source tier filter Allowed values: amateur, excluded, premium, professional, unrated. |
curl -X GET "https://api.crawlora.net/api/v1/opendota/leagues?tier=amateur" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://api.opendota.com/api/leagues",
"fetched_at": "2026-10-27T12:00:00Z",
"tier_filter": "excluded",
"count": 7549,
"leagues": [
{
"id": 2030,
"name": "PGL Associated by \"Crash Gaming\"",
"tier": "excluded"
}
]
}
}Request schema
No body schema
Response schema
Inline response schema
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | opendota.LeaguesResponse | No | ||||
| data.count | integer | No | 10411 | |||
| data.fetched_at | string | No | 2026-10-27T10:00:00Z | |||
| data.leagues | array | No | League record, 5 fields: banner, id, name, ticket, tier. Described under OpenDota league detail API. | |||
| data.source_url | string | No | ||||
| data.tier_filter | string | No | professional | |||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/opendota/leagues?tier=amateur" \
-H "x-api-key: $CRAWLORA_API_KEY"