GET /{year}/{dataset}/variables
census.gov:us-census-bureau-api
Summary: List variables for a dataset
Operation ID: listVariables
Auth: api_key
Operation ID: listVariables
Auth: api_key
Description
Returns all available variables (data fields) for the specified dataset and year.
Parameters (2)
dataset
(string, path, required)
The dataset identifier
year
(string, path, required)
The year of the dataset
Examples (1)
| Title | Type | URL | Action |
|---|---|---|---|
| List variables for a dataset | openapi-spec |
https://api.census.gov/data/2022/acs/acs5/variables |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 09:40:43.692096 | 200 | 459ms | 0.4MB |