GET /{vintage}/{dataset}.json

census.gov:us-census-bureau-api

Summary: Query dataset data
Operation ID: getDatasetData
Auth: api_key
Description

Retrieve data from a specific Census dataset. The 'get' parameter specifies variables to retrieve, and 'for' specifies the geography.

Parameters (6)

dataset (string, path, required)

Dataset name (e.g., acs/acs5, dec/pl, cbp)

for (string, query, required)

Geography specification (e.g., 'state:*' for all states, 'state:06' for California)

get (string, query, required)

Comma-separated list of variables to retrieve. Use 'NAME' for geography names.

in (string, query, optional)

Geography containment (e.g., 'state:06' when requesting counties)

key (string, query, optional)

API key (optional but recommended for higher rate limits)

vintage (string, path, required)

Year/vintage of the dataset (e.g., 2020, 2019, 2010)

No probe data for this endpoint yet.