# ESPN Sports Data Scraper (x402)

> ESPN Sports Data Scraper (x402) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Returns structured ESPN sports data — scores, standings, odds, rosters, schedules, and more — for major leagues, charged per successful call via x402 micropayment.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/espn?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/espn-sports-data-scraper-x402-5638d58f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LckD5MhxhJ1LB7Xmruvs_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability espn-sports-data-scraper-x402-5638d58f -d '<json body>'
```

Example prompt: Pull today's NFL scoreboard from ESPN, including box scores and injury info for each game, and limit results to 50 games.

## When to prefer this

Choose this endpoint when you need structured, machine-readable ESPN sports data — scores, standings, rosters, odds, schedules, or news — for NFL, NBA, MLB, NHL, college football, EPL, UCL, or other ESPN-covered leagues, especially in a pay-per-use agent context where you only pay for successful, non-empty results. Prefer it over generic web scrapers when you want pre-parsed JSON output with optional enrichment like box scores, injury data, or play-by-play without building your own ESPN parser.

## Known failure modes

- Invalid league key returns empty or error response (not charged)
- Date format not matching YYYYMMDD or YYYY-MM-DD results in bad request
- Date range exceeding 32 days rejected
- Empty result set (e.g. no games scheduled) returns count:0 and is not charged
- eventIds or teamIds referencing non-existent entities return empty items
- Network or ESPN availability issues may cause failed run (not charged)

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

A JSON object with a count and an items array, where each item contains game or entity data such as date, name, type, gameId, league, status, shortName, leagueName, and optionally box scores, injuries, play-by-play, and game probability depending on enrichment flags set.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "scoreboard",
    "game",
    "odds",
    "standings",
    "teams",
    "roster",
    "schedule",
    "news",
    "rankings"
   ],
   "type": "string",
   "default": "scoreboard",
   "description": "Choose scores, game details, odds, standings, teams, rosters, schedules, news, or rankings."
  },
  "dates": {
   "type": "string",
   "description": "One date in YYYYMMDD or YYYY-MM-DD format, today/yesterday/tomorrow, or a YYYYMMDD-YYYYMMDD range up to 32 days."
  },
  "groups": {
   "type": "string",
   "description": "Optional scoreboard group, such as 80 for top-division college football."
  },
  "season": {
   "type": "string",
   "description": "Optional season year for standings, schedules, and rankings."
  },
  "leagues": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "League keys such as nfl, nba, mlb, nhl, college-football, epl, or ucl."
  },
  "teamIds": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Teams, roster, or schedule mode: league/numeric ID values, such as nba/13."
  },
  "eventIds": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Game mode: league/id values, such as nfl/401872953."
  },
  "startUrls": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "ESPN game, scoreboard, standings, or team URLs to route automatically."
  },
  "maxResults": {
   "type": "integer",
   "default": 200,
   "minimum": 1,
   "description": "Stop after this many records across the run."
  },
  "seasonType": {
   "type": "string",
   "description": "Optional schedule season type: 1 preseason, 2 regular season, 3 postseason."
  },
  "enrichGameDetails": {
   "type": "boolean",
   "default": false,
   "description": "Fetch each scoreboard game summary and attach box scores, injuries, and probability when available."
  },
  "enrichTeamDetails": {
   "type": "boolean",
   "default": false,
   "description": "Open each team profile in Teams mode to include its record and next event."
  },
  "includePlayByPlay": {
   "type": "boolean",
   "default": false,
   "description": "Include the large play-by-play array in game detail records."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "date": null,
    "name": null,
    "type": null,
    "gameId": null,
    "league": null,
    "status": null,
    "shortName": null,
    "leagueName": null
   }
  ],
  "product": "espn"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/espn-sports-data-scraper-x402-5638d58f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
