# ESPN API — live scores, fixtures, standings, teams, rosters, game summaries, odds, injuries and news for the NFL, NBA, MLB, NHL, college sports, soccer leagues and more, as JSON

> Live and final scores for a league — pass a date (YYYYMMDD) or range to get scores for any day; omit it for today/in-play games.
> ReefAPI engine `espn` · 13 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/espn/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/espn/v1/scores — 1 credit
Live and final scores for a league — pass a date (YYYYMMDD) or range to get scores for any day; omit it for today/in-play games.

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]
- `date` (string, optional) — Date filter, ESPN format YYYYMMDD (or a range 'YYYYMMDD-YYYYMMDD'). Omit for today / live.

**Returns:** events[] (scoreboard: teams, score, status, competition), count

**Example request body:**
```json
{
  "sport": "soccer",
  "league": "eng.1",
  "dates": "20260301-20260331"
}
```

### POST https://api.reefapi.com/espn/v1/fixtures — 1 credit
Upcoming fixtures and the match schedule for a league, by date or date range (same event shape as scores).

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]
- `date` (string, optional) — Date filter, ESPN format YYYYMMDD (or a range 'YYYYMMDD-YYYYMMDD'). Omit for today / live.

**Returns:** events[] (schedule by date/range), count

**Example request body:**
```json
{
  "sport": "soccer",
  "league": "eng.1",
  "dates": "20260301-20260331"
}
```

### POST https://api.reefapi.com/espn/v1/standings — 1 credit
Full league table / standings with wins, losses, points and per-team stats (soccer leagues accept a season year).

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]
- `season` (integer, optional) — Season year (soccer standings need it; default current season).

**Returns:** league, season, standings[]{rank,team,played,wins,draws,losses,points}, count

**Example request body:**
```json
{
  "sport": "basketball",
  "league": "nba"
}
```

### POST https://api.reefapi.com/espn/v1/team — 1 credit
Every team in a league, or one team's detail (record, next game, logo) when you pass a team_id.

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]
- `team_id` (string, optional) — ESPN team id — get it from the `team` action's teams[].team_id for the same sport/league (e.g. 13 = NBA Denver Nuggets).

**Returns:** teams[] for the league, OR a single team{} when team_id is given

**Example request body:**
```json
{
  "sport": "basketball",
  "league": "nba"
}
```

### POST https://api.reefapi.com/espn/v1/roster — 1 credit
A team's full roster / squad with jersey, position, age, height, weight and nationality for each player.

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]
- `team_id` (string, required) — ESPN team id — get it from the `team` action's teams[].team_id for the same sport/league (e.g. 13 = NBA Denver Nuggets).

**Returns:** roster{} — squad with player fields, player_count

**Example request body:**
```json
{
  "sport": "basketball",
  "league": "nba",
  "team_id": "13"
}
```

### POST https://api.reefapi.com/espn/v1/summary — 2 credits
Full match summary: boxscore, per-player stats, lineups, play-by-play count, head-to-head, win probability and odds.

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]
- `event_id` (string, required) — ESPN event/game id — take it from the `event_id` of any scores, fixtures or team_schedule result for the same sport/league.

**Returns:** boxscore + player stats + play-by-play + H2H + win-probability + lineups + pickcenter

**Example request body:**
```json
{
  "sport": "baseball",
  "league": "mlb",
  "event_id": "401815591"
}
```

### POST https://api.reefapi.com/espn/v1/odds — 1 credit
Betting odds (moneyline, spread, over/under) — for one game by event_id, or every scheduled game in the league that has odds.

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]
- `event_id` (string, optional) — Optional ESPN event id: returns the closing line for that one game; omit to list every scheduled game that currently has odds.
- `date` (string, optional) — Date filter, ESPN format YYYYMMDD (or a range 'YYYYMMDD-YYYYMMDD'). Omit for today / live.

**Returns:** events_with_odds[] (or odds[] for one event_id): moneyline/spread/total, count

**Example request body:**
```json
{
  "sport": "baseball",
  "league": "mlb",
  "event_id": "401815591"
}
```

### POST https://api.reefapi.com/espn/v1/news — 1 credit
Latest news headlines and articles for a league.

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]

**Returns:** league, articles[] (headlines), count

**Example request body:**
```json
{
  "sport": "basketball",
  "league": "nba"
}
```

### POST https://api.reefapi.com/espn/v1/search — 1 credit
Look up a team or player by name across all sports (returns ids, badges, league, country) — start here when you only have a name.

**Parameters:**
- `query` (string, required) — Search text for a team/player/tournament/manager/referee.
- `type` (enum, optional, default "team") — What to look up in the (thesportsdb) search. Defaults to team. [one of: team, player]

**Returns:** type, query, results[] (teams or players from thesportsdb; espn_id = ESPN team/player id when known), count

**Example request body:**
```json
{
  "query": "Arsenal",
  "type": "team"
}
```

### POST https://api.reefapi.com/espn/v1/injuries — 1 credit
Current injury report for a league, grouped by team, with each player's status and detail.

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]

**Returns:** league, teams[]{team, injuries[]{player,position,status,date,detail}}, count

**Example request body:**
```json
{
  "sport": "basketball",
  "league": "nba"
}
```

### POST https://api.reefapi.com/espn/v1/team_schedule — 1 credit
One team's full season schedule and results (every game the team plays, unlike league-wide fixtures).

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]
- `team_id` (string, required) — ESPN team id — get it from the `team` action's teams[].team_id for the same sport/league (e.g. 13 = NBA Denver Nuggets).
- `season` (integer, optional) — Season year (soccer standings need it; default current season).

**Returns:** team, season, events[] (same shape as scores/fixtures), count

**Example request body:**
```json
{
  "sport": "basketball",
  "league": "nba",
  "team_id": "13"
}
```

### POST https://api.reefapi.com/espn/v1/conferences — 1 credit
A league's conference / division structure (the directory of groups and sub-groups, e.g. college conferences).

**Parameters:**
- `sport` (enum, required) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]
- `league` (enum, required) — League key (e.g. nba, nfl, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, uefa.champions, usa.1) or a raw ESPN segment ('bra.1') / cricket series id. SofaScore actions also accept a numeric tournament id. [one of: nba, wnba, ncaam, ncaaw, nfl, ncaaf, mlb, college-baseball, nhl, atp, wta, eng.1, eng.2, esp.1, ita.1, ger.1, fra.1, ned.1, por.1, usa.1, mex.1, bra.1, uefa.champions, uefa.europa, fifa.world, ipl, bbl, sheffield-shield, county-championship, cricket-world-cup]

**Returns:** league, groups[]{name,abbreviation,is_conference,children[] (nested conferences/divisions)}, count

**Example request body:**
```json
{
  "sport": "basketball",
  "league": "ncaam"
}
```

### POST https://api.reefapi.com/espn/v1/leagues — 1 credit
Directory of every supported league/competition (key, name, sport) — call this first to discover the league keys the other actions take.

**Parameters:**
- `sport` (enum, optional) — Sport family (ESPN path). Required with a raw league segment; a known league key (e.g. 'nba') can resolve the sport on its own. [one of: baseball, basketball, cricket, football, hockey, soccer, tennis]

**Returns:** sport, leagues[]{league (key to pass to other actions), name, sport}, count

**Example request body:**
```json
{
  "sport": "soccer"
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=espn
- Human docs page: https://reefapi.com/docs/espn
- Overview page: https://reefapi.com/espn-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
