variant selects the projection assumption set: 1 = Low, 2 = High, 3 = Constant fertility, 4 = Medium (default), 8 = No change. Default range is current_year - 5 through current_year + 50.x-api-key: ********************curl --location '/api/v1/un-population/projections?location=USA&start_year=2020&end_year=2075&variant=4' \
--header 'x-api-key: <api-key>'{
"data": {
"location_m49": 0,
"location_input": "string",
"indicator_ids": [
0
],
"start_year": 0,
"end_year": 0,
"variant_id": 0,
"rows": [
{
"locationId": 0,
"location": "string",
"iso3": "string",
"iso2": "string",
"indicatorId": 0,
"indicator": "string",
"indicatorShortName": "string",
"variantId": 0,
"variant": "string",
"sexId": 0,
"sex": "string",
"ageId": 0,
"ageLabel": "string",
"ageStart": 0,
"ageEnd": 0,
"categoryId": 0,
"category": "string",
"timeLabel": "string",
"timeId": 0,
"timeMid": 0,
"year": 0,
"value": 0,
"unit": "string"
}
],
"total": 0
},
"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",
"source": "string",
"fallback_used": true,
"fallback_chain": [
"string"
],
"cached": true
}
}