International demography: one year, every country
Changed onMidyear population and vital rates from the Census Bureau's International Data Base (timeseries/idb/5year) for every published GENC country in one year (1950 to 2100, including projections). Default indicators are pop, tfr, cbr, cdr, gr, medage, e0 and imr. Country codes are two-letter GENC (ISO2-compatible for the 227 published). A year after 2100 is an empty answer with a reason; a year before 1950 is a 400. Early-year rates that the Bureau has not published are null, never filled in.
Request
- Base URLhttps://sugra.ai
- URLhttps://sugra.ai/api/v1/census/population/international/countries
- AuthAPI key in header x-api-key
Query parameters
Year (YYYY, 1950 to 2100; required).
Comma-separated aliases (default pop,tfr,cbr,cdr,gr,medage,e0,imr). Also nmr, dens, depnd, rni, births, deaths, e0_m, e0_f, imr_m, imr_f, mpop, fpop.
Response
One row per country, in GENC code order.
Example response
{
"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": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the non-success response with the status
- info