Skip to content

NPR API

NPR (npr.org) has 3 public methods: list headlines, read article and search news. Each costs 1 credit per completed run (1¢ with pay as you go); failed runs are free.

Unofficial. Not affiliated with or endorsed by NPR.

Methods

3
  • Lists the headlines on an NPR section page in page order, with summaries, publication times, authors, images and article links.

    Returns headline, summary, published_at, authors, section, image_url, article_url

    Readnpr.org/list_headlines
  • Reads an NPR article by its link or headline and returns its text and publication details. For live blogs, returns the displayed updates.

    Returns headline, summary, authors, dates, section, tags, image, paragraphs

    Readnpr.org/read_article
  • Searches NPR-published articles by keyword, newest first or by best match, with optional publication dates, and returns each article's date, authors, section and summary.

    Returns headline, summary, published time, authors, section, article link

    Readnpr.org/search_news