# Pew Research Center — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and retrieve Pew Research Center publications, reports, and expert profiles across a wide range of topics, including technology, politics, science, religion, and social trends. Access detailed report content, key findings, charts, and methodology information, and filter results by topic, format, or region to stay informed on the latest research and data.

**Category:** News & Media | **Website:** [pewresearch.org/](https://pewresearch.org/) | **Docs:** [parse.bot/marketplace/e21aa930-f35f-4f96-9fe9-53babe2e62e5/pewresearch-org-api](https://parse.bot/marketplace/e21aa930-f35f-4f96-9fe9-53babe2e62e5/pewresearch-org-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-pewresearch-org-api-e21aa930/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_latest_publications

Retrieve the most recent publications across all Pew Research Center topics. Returns paginated results ordered by recency. Optionally filterable by publication format.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `format` | string | No | Filter by publication format slug (e.g. 'report', 'fact-sheet'). |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pewresearch-org-api-e21aa930/get_latest_publications \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"format":"<string>","page":"<integer>"}'
```

### get_report_detail

Retrieve full details of a single Pew Research Center report page by its URL. Extracts title, subtitle, date, authors, content summary (up to 2000 characters), key findings, interactive charts, downloadable materials, and methodology information. Not all fields are present on every report page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the report page (e.g. 'https://www.pewresearch.org/internet/2025/04/03/how-the-us-public-and-ai-experts-view-artificial-intelligence/'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pewresearch-org-api-e21aa930/get_report_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### get_topic_publications

Retrieve publications for a specific Pew Research Center topic by its slug. Returns paginated results. The topic slug corresponds to a research area.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `topic_slug` | string | Yes | Topic slug (e.g. 'internet-technology', 'politics-policy', 'religion', 'science', 'social-trends'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pewresearch-org-api-e21aa930/get_topic_publications \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","topic_slug":"<string>"}'
```

### list_experts

List all experts and staff members at Pew Research Center. Returns names and profile URLs for every researcher listed on the experts directory page. No pagination required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pewresearch-org-api-e21aa930/list_experts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_publications

Full-text search across all Pew Research Center publications by keyword. Supports optional filters by topic, format, and region. Returns paginated results ordered by relevance. Each result includes title, URL, date, format, and excerpt. Pagination advances by integer page number.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `format` | string | No | Filter by publication format slug (e.g. 'report', 'fact-sheet', 'short-read'). |
| `page` | integer | No | Page number for pagination. |
| `query` | string | Yes | Search keyword or phrase (e.g. 'artificial intelligence', 'climate change'). |
| `region` | string | No | Filter by region/country slug (e.g. 'united-states', 'europe-russia'). |
| `topic` | string | No | Filter by topic/category slug (e.g. 'internet-technology', 'politics-policy'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pewresearch-org-api-e21aa930/search_publications \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"format":"<string>","page":"<integer>","query":"<string>","region":"<string>","topic":"<string>"}'
```
