{id}: Get a specific dataset

API: pewresearch.org:pew-research-center-api
Endpoint: /wp/v2/dataset/{id}
Response format: application/json
Auth: unknown
Method: GET
Last Status: 200
Latency: 748ms

Description

Returns detailed information about a Pew Research Center dataset including title, description, download statistics, and associated research team. Use this to programmatically access dataset metadata and track download metrics.

From spec: Retrieve a single dataset by its ID, including download links and metadata.

Usage Tips

- Dataset IDs can be discovered via the /wp/v2/dataset endpoint - Returns 404 if the dataset does not exist - The _download_attachment_id field references the downloadable file - Includes DataCite DOI metadata when available

Parameters (1)

id (integer, path, required)

The dataset ID

Examples (1)

Retrieve Spring 2025 Survey Dataset probe-gate

Demonstrates fetching a specific research dataset with its metadata and download information

curl 'https://www.pewresearch.org/wp-json/wp/v2/dataset/296006'
import requests

resp = requests.get("https://www.pewresearch.org/wp-json/wp/v2/dataset/296006")
data = resp.json()
import zingu_apis

api = zingu_apis.api("pewresearch")
result = api.fetch("wp/v2/dataset/{id}")

for item in result:
    print(item)
const resp = await fetch("https://www.pewresearch.org/wp-json/wp/v2/dataset/296006");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 16:41:44.818577 200 748ms
2026-04-16 02:07:40.124013 200 861ms
2026-04-15 03:40:31.271341 200 940ms
2026-04-14 00:02:16.989698 200 986ms
2026-04-12 14:10:06.400610 200 587ms
2026-04-10 00:06:17.328471 200 666ms
2026-04-09 00:19:38.199353 200 875ms