# ESPN API on SandBase

> ESPN data API endpoints available through one SandBase API key.

Source: https://www.sandbase.ai/apis/espn

- Endpoints: 10
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [ESPN Athlete Gamelog](https://www.sandbase.ai/apis/espn/athlete-gamelog.md): $0.06 per call
  Get game-by-game stats for an athlete with monthly breakdowns, totals, and averages. Stats labels are sport-specific. Each game includes opponent, result, score, and full stat line.
- [ESPN Athlete Overview](https://www.sandbase.ai/apis/espn/athlete-overview.md): $0.03 per call
  Get comprehensive athlete data including season/career stats, fantasy projections, recent news, awards, and expert analysis. Stats labels are sport-specific. Fantasy data may be absent for non-fantasy...
- [ESPN Athlete Profile](https://www.sandbase.ai/apis/espn/athlete-profile.md): $0.03 per call
  Get detailed athlete profile including biographical info, team, injuries, contracts, and status. Returns physical attributes, career timeline, and current team assignment.
- [ESPN News](https://www.sandbase.ai/apis/espn/news.md): $0.03 per call
  Get latest news articles and headlines for a specific league. Returns articles with full metadata including categories, images, and links.
- [ESPN Scoreboard](https://www.sandbase.ai/apis/espn/scoreboard.md): $0.03 per call
  Get live scores, final results, and upcoming fixtures for any supported league.
- [ESPN Search](https://www.sandbase.ai/apis/espn/search.md): $0.06 per call
  Search for athletes and teams across all sports. Returns matching results with IDs for use in other endpoints. When type filter is specified, only results of that type are returned.
- [ESPN Search News](https://www.sandbase.ai/apis/espn/search-news.md): $0.03 per call
  Search ESPN news articles about a topic within a league using the site's article search.
- [ESPN Standings](https://www.sandbase.ai/apis/espn/standings.md): $0.03 per call
  Get current standings/rankings for a league, organized by conference/division with full statistics. Season type '2' returns regular season division breakdown, '3' returns postseason/playoff standings....
- [ESPN Team Roster](https://www.sandbase.ai/apis/espn/team-roster.md): $0.03 per call
  Get full roster for a team including player profiles, injuries, and contract details. Each athlete includes biographical info, position, physical attributes, and current status.
- [ESPN Teams](https://www.sandbase.ai/apis/espn/teams.md): $0.03 per call
  Get all teams for a given league with IDs, names, logos, and links. Returns a complete roster of teams participating in the specified league.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
