Research
Pew Research Center logo

Pew Research Center API

pewresearch.org

Pew Research Center - publications, topics, search, and report details.

Actions
7
Category
Research
Login
Not required
Output
JSON

Call the Pew Research Center API

Submit a task, then poll the job until it settles. This example runs act_pewresearch_publications_filtered_listing.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_pewresearch_publications_filtered_listing",
    "params": {
      "content_format": "report"
    }
  }'

7 actions on pewresearch.org

Read

  • Filtered Publications Listing

    act_pewresearch_publications_filtered_listingread2 credits / call

    Returns publications filtered by content format with card metadata and URLs.

    content_format
    string · required
  • Homepage Featured Publications

    act_pewresearch_homepage_ssrread1 credit / call

    Returns the homepage with featured story cards and navigation links.

  • Publications Archive

    act_pewresearch_publications_listingread1 credit / call

    Returns the publications archive with publication cards and filter links.

  • Region Topic Listing

    act_pewresearch_region_topic_listingread2 credits / call

    Returns publication cards for a region or country topic hub.

    region_slug
    string · required
  • Research Topic Listing

    act_pewresearch_research_topic_listingread2 credits / call

    Returns publications under a research topic hub with card metadata.

    topic_slug
    string · required
  • Research Topic Pagination

    act_pewresearch_research_topic_listing_paginationread2 credits / call

    Returns paginated publication cards from a research topic archive.

    topic_slug
    string · required
    page
    string · required
  • Site Search Results

    act_pewresearch_search_results_listingread2 credits / call

    Returns site search results by query with result counts, titles, and URLs.

    search_query
    string · required

Pew Research Center API questions

Is there an API for Pew Research Center?
Pew Research Center does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for pewresearch.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Pew Research Center data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when pewresearch.org changes its markup, Anakin updates the action.
Do I need a Pew Research Center account?
No. Every Pew Research Center action listed here runs anonymously — no account and no credentials required.
What does the Pew Research Center API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Research APIs

All Research sites