Npr 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 Npr (npr.org) there are 3 public extractors: NPR - article, NPR - section page and NPR - home page. Together they return fields such as url, headline, description, section, datePublished, dateModified, authors, authorUrls and 8 more fields. Call one with your API key and a pinned extractor_id, from the REST API, the Batch API or an AI agent over MCP.

Npr scrapers on ExtractHub

  • npr.org · @extracthub1/npr-article@1 (v1.0.0)

    An NPR story (www.npr.org/2026/11/26/...): headline, section label, published and modified time, authors with profile links, lead image, subheadings, paragraphs, the full text and the whole body as Markdown (subheadings in place, ads, caption toggles and share buttons removed). Plain fetch.

    Fields: url , headline , description , section , datePublished , dateModified , authors , authorUrls , image , subheadings and 3 more

    NPR - article scraper: fields, versions and examples →
  • npr.org · @extracthub1/npr-section@1 (v1.0.0)

    Stories of an NPR section page (www.npr.org/sections/news/, /sections/business/, /sections/world/, ...): headline, link, label, teaser, date and image in page order, plus the page title and link and the navigation sections with their subsections. NPR home and section pages use different card layouts; each field reads both with a selector list (combineStrategy first). Plain fetch. Pairs with @extracthub1/npr-article.

    Fields: pageTitle , url , sections , stories

    NPR - section page scraper: fields, versions and examples →
  • npr.org · @extracthub1/npr-home@1 (v1.0.0)

    Stories of the NPR home page (www.npr.org): headline, link, label, teaser, date and image in page order, plus the page title and link and the navigation sections with their subsections (News: National, World, Politics, Business, Health, Science, Climate, Race; Culture; Music; Podcasts & Shows). Plain fetch. Pairs with @extracthub1/npr-section and @extracthub1/npr-article.

    Fields: pageTitle , url , sections , stories

    NPR - home page scraper: fields, versions and examples →

How to call the Npr scraper API

Every call needs your API key (X-API-Key) and a pinned extractor_id. This example uses @extracthub1/npr-article@1 (NPR - article); 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/npr-article@1",
    "target": { "url": "https://npr.org/..." }
  }'
MCP: ask your agent (server https://api.extracthub.io/mcp), which calls the extract tool
Use ExtractHub to extract https://npr.org/... with @extracthub1/npr-article@1
{
  "tool": "extract",
  "arguments": {
    "extractor_id": "@extracthub1/npr-article@1",
    "url": "https://npr.org/..."
  }
}

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

Need another Npr page type?

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

Npr scraper: frequently asked questions

Is there a ready-made Npr scraper?

Yes. ExtractHub lists 3 public extractors for npr.org. 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 Npr?

NPR - article returns url, headline, description, section, datePublished, dateModified and 7 more. NPR - section page returns pageTitle, url, sections and stories. NPR - home page returns pageTitle, url, sections and stories. Every field is listed on the extractor's page with a sample response.

How do I call the Npr 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/npr-article@1 and the URL of a npr.org 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 Npr scraper?

Yes. Build an extractor for any Npr 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.