<vintage>/pep/charv), one estimate year (2020 to the latest published vintage), nationally or for every state (or one). groups=bands (default) is the selected age groups (under 5, 5-9, ... 85 and over); groups=single is single years of age (under 1, age 1 ... age 85). sex is all (both sexes, default), male or female. The all-ages total and the median-age AGE code are dropped. A year past the latest is an empty answer with a reason.curl --location 'https://sugra.ai/api/v1/census/population/estimates/age?year=2023&geo=state&state=CA&sex=all&groups=bands' \
--header 'x-api-key: ABCD314159'{
"data": {
"year": 0,
"vintage": 0,
"dataset": "string",
"geo": "string",
"state": "string",
"sex": "string",
"groups": "string",
"count": 0,
"data": [
{
"name": "string",
"state_fips": "string",
"age": "string",
"age_label": "string",
"sex": "string",
"pop": 0,
"month": "string",
"month_label": "string",
"property1": "string",
"property2": "string"
}
],
"source": "string",
"reason": "string",
"property1": "string",
"property2": "string"
},
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 0,
"source": "string",
"attribution": "string",
"fallback_used": true,
"fallback_chain": [
"string"
],
"cached": true,
"stale": true,
"stale_since": "string",
"period": "string",
"notes": "string"
}
}