Population Estimates Tool
population_estimates_toolRetrieve annual population estimates by age, sex, race, and Hispanic origin for the US, states, or counties.
Instructions
Retrieve annual population estimates from the Population Estimates Program (PEP). Get current population counts by age, sex, race, and Hispanic origin. Updated annually with the most recent population estimates between decennial censuses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Vintage year for population estimates (2020-present, default: 2023) | |
| variables | No | Variables to retrieve. Common: POP (population estimate), AGE (age group), SEX (sex code), POPGROUP (race/ethnicity), HISP (Hispanic origin) | |
| geography | No | Geographic level for population estimates | state |
| state | No | State FIPS code (required for county geography) | |
| ageGroup | No | Age group code (e.g., "0" for all ages, "1" for 0-4 years) | |
| sex | No | Sex code: "0" (both sexes), "1" (male), "2" (female) | |
| hispanicOrigin | No | Hispanic origin: "0" (both), "1" (non-Hispanic), "2" (Hispanic) |