ESPN API endpoint
Returns league standings grouped by conference/division. The `sport` enum accepts `football`, `basketball`, `baseball`, `hockey`, and `soccer`. The `league` enum accepts `nfl`, `college-football`, `nba`, `wnba`, `mens-college-basketball`, `womens-college-basketball`, `mlb`, `nhl`, `eng.1`, `esp.1`, `ita.1`, `ger.1`, `fra.1`, `usa.1`, and `uefa.champions`; it must be valid for the chosen sport. The `seasontype` enum accepts `1` (preseason), `2` (regular season), and `3` (postseason).
/espn/standingsQuery parameters:
sport: required enum. Allowed values: football, basketball, baseball, hockey, soccer.league: required enum, must be valid for the chosen sport. Allowed values: nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, usa.1, uefa.champions.season: optional integer. Four-digit season year, e.g. 2024. Defaults to the current season.seasontype: optional enum. Allowed values: 1 (preseason), 2 (regular season), 3 (postseason).Notable response behavior:
groups, each with entries; each entry carries a flat stats map (e.g. wins, losses, winPercent).sport/league/season/seasontype values return an invalid-parameter error before upstream IO.| Field | Filled in, of 2 checked | Values in the sample |
|---|---|---|
| name | 2 | “American Football Conference” and 1 other value |
| abbreviation | 2 | “AFC” and 1 other value |
| entries | 2 | median 16 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| sport | string | Yes | Sport key Allowed values: football, basketball, baseball, hockey, soccer. | football | |
| league | string | Yes | League key (must be valid for the sport) Allowed values: nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, usa.1, uefa.champions. | nfl | |
| season | integer | No | the current season | Four-digit season year; defaults to the current season | 2024 |
| seasontype | integer | No | Season type Allowed values: 1, 2, 3. | 2 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/espn/standings?sport=football&league=nfl&seasontype=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"sport": "football",
"league": "nfl",
"league_name": "National Football League",
"season": {
"year": 2024
},
"source_url": "https://site.api.espn.com/apis/v2/sports/football/nfl/standings?season=2024",
"fetched_at": "2026-07-06T00:00:00Z",
"groups": [
{
"name": "American Football Conference",
"abbreviation": "AFC",
"entries": [
{
"team": {
"id": "12",
"display_name": "Kansas City Chiefs"
},
"stats": {
"wins": "15",
"losses": "2"
}
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/espn.standingsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | espn.StandingsResponse | No | ||||
| data.fetched_at | string | No | ||||
| data.groups | array | No | ||||
| data.groups[].abbreviation | string | No | ||||
| data.groups[].entries | array | No | ||||
| data.groups[].entries[].note | string | No | ||||
| data.groups[].entries[].stats | object | No | ||||
| data.groups[].entries[].team | espn.TeamRef | No | TeamRef record, 10 fields: abbreviation, alternate_color, color, display_name, id, location, logo, name, short_display_name, uid. Described under ESPN team list API. | |||
| data.groups[].name | string | No | ||||
| data.league | string | No | ||||
| data.league_name | string | No | ||||
| data.season | espn.Season | No | ||||
| data.season.name | string | No | Season type name as ESPN shows it. | |||
| data.season.type | integer | No | 2 | Season type code: 1 preseason, 2 regular season, 3 postseason, 4 offseason. | ||
| data.season.year | integer | No | 2024 | Season year, for example `2024`. | ||
| data.source_url | string | No | ||||
| data.sport | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/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/espn/standings?sport=football&league=nfl&seasontype=1" \
-H "x-api-key: $CRAWLORA_API_KEY"