Espn scraper

ExtractHub extractors are versioned web scrapers: each one is a saved scraper for one kind of page that returns structured JSON through an API. For Espn (espn.com) there are 2 public extractors: ESPN - NBA standings and ESPN - scoreboard. Together they return fields such as pageTitle, pageUrl, league, leagueName, season, seasonType, groups and games. Call one with your API key and a pinned extractor_id, from the REST API, the Batch API or an AI agent over MCP.

Espn scrapers on ExtractHub

  • espn.com · @extracthub1/espn-standings@1 (v1.0.0)

    ESPN NBA standings pages (espn.com/nba/standings and past seasons at /_/season/<year>; conference view): every team per conference with rank, wins, losses, win %, games behind, home / away / division / conference records, points per game, point differential, streak and last-10 record.

    Fields: pageTitle , pageUrl , league , leagueName , season , seasonType , groups

    ESPN - NBA standings scraper: fields, versions and examples →
  • espn.com · @extracthub1/espn-scoreboard@1 (v1.0.0)

    ESPN scoreboard pages (espn.com/nba/scoreboard, optionally /_/date/YYYYMMDD; also NFL, MLB, NHL, WNBA and college scoreboards): every game of the day with id, start time, status, both teams (name, abbreviation, score, record, home / away, winner), quarter scores, venue, TV broadcasts, betting line and the game link.

    Fields: pageTitle , pageUrl , league , leagueName , seasonType , games

    ESPN - scoreboard scraper: fields, versions and examples →

How to call the Espn scraper API

Every call needs your API key (X-API-Key) and a pinned extractor_id. This example uses @extracthub1/espn-standings@1 (ESPN - NBA standings); open an extractor's page for its batch, Python and Node examples.

REST: realtime extract
curl -X POST "https://api.extracthub.io/api/extractor/extract" \
  -H "X-API-Key: $EXTRACTHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "extractor_id": "@extracthub1/espn-standings@1",
    "target": { "url": "https://espn.com/..." }
  }'
MCP: ask your agent (server https://api.extracthub.io/mcp), which calls the extract tool
Use ExtractHub to extract https://espn.com/... with @extracthub1/espn-standings@1
{
  "tool": "extract",
  "arguments": {
    "extractor_id": "@extracthub1/espn-standings@1",
    "url": "https://espn.com/..."
  }
}

See the web scraping API reference and the web scraping MCP server setup.

Need another Espn page type?

Build your own Espn scraper with an AI agent and the extractor builder skill, or in ExtractHub Studio. It stays private until you release it.

Espn scraper: frequently asked questions

Is there a ready-made Espn scraper?

Yes. ExtractHub lists 2 public extractors for espn.com. An extractor is a versioned web scraper for one kind of page: its owner released it as an immutable version with an output schema, and you call that version with your own API key.

What data can I scrape from Espn?

ESPN - NBA standings returns pageTitle, pageUrl, league, leagueName, season, seasonType and 1 more. ESPN - scoreboard returns pageTitle, pageUrl, league, leagueName, seasonType and games. Every field is listed on the extractor's page with a sample response.

How do I call the Espn scraper API?

Send GET or POST https://api.extracthub.io/api/extractor/extract with your API key in the X-API-Key header, extractor_id=@extracthub1/espn-standings@1 and the URL of a espn.com page as the target. For many URLs use POST https://api.extracthub.io/api/extractor/batch. AI agents call the same extractor through the extract tool of the ExtractHub MCP server at https://api.extracthub.io/mcp.

Can I build my own Espn scraper?

Yes. Build an extractor for any Espn page type in ExtractHub Studio, or let an AI agent such as Claude Code build, test and release it with the open-source extractor builder skill. New extractors are private until you release them.