Demographic Data API
Fertility, births, population, projections and migration — by country, region, state and city — in one consistent JSON API. Every value carries its source, licence and coverage, and gaps stay gaps.
Built for teams that need to trust the number
- One schema for every source. World Bank, UN, Eurostat, the US Census and more, normalised to the same geography ids, units and years.
- Provenance on every response. Source, licence and the attribution line you must show — per value, not per dataset.
- Honest coverage. Each series lists the years it is missing. We never interpolate or fill gaps, and forecasts are marked as projections.
- Licence-safe by default. Values whose licence forbids resale are withheld and counted, so you see the gap instead of inheriting a legal problem.
- Bulk files and time series. Pull one country's history or every value of an indicator as CSV.
Built for market sizing, actuarial and pension models, school and maternity-care planning, academic research and newsroom data desks.
curl "https://birthrate.io/api/v1/data?indicator=fertility-rate&id=JPN,KOR&from=2015" \ -H "X-API-Key: $BIRTHRATE_KEY"
{
"data": [{
"geography": { "level": "country", "id": "JPN", "name": "Japan" },
"coverage": { "from": 2015, "to": …, "observations": …, "missingYears": [] },
"observations": [{ "year": 2015, "value": …, "kind": "estimate", "source": "WORLD_BANK" }, …]
}, …],
"meta": {
"indicator": { "slug": "fertility-rate", "unit": "births per woman", … },
"availability": { "geographies": 2, "values": …, "withheld": [] },
"sources": [{ "code": "WORLD_BANK", "license": "CC BY 4.0", "attribution": "World Bank, …" }],
"apiVersion": "2026-10-24", "citation": "birthrate.io (2026), compiled from the sources listed."
}
}What's in it
The full, live list with coverage is at /api/v1/indicators.
Pricing
The website stays free. Plans are for programmatic and bulk access.
Free
$0
No key, no sign-up
- 200 requests a day per IP
- Up to 1,000 values per request
- Every endpoint except bulk
- For trying it out and light personal use
Pro
$100/month
14-day free trial, cancel any time
- 100,000 requests a month
- Up to 50,000 values per request
- Bulk CSV/JSON downloads
- Commercial use with attribution
- Email support
Enterprise
Custom
Invoiced annually
- Higher or unmetered quotas
- Several keys and team billing
- Uptime commitment and named support
- Help licensing withheld sources directly
Prices in US dollars; tax is added at checkout where it applies. Charts, maps and downloads on birthrate.io itself stay free.
Licences and what we withhold
You can use what the API returns commercially, provided you show the attribution in meta.sources. We only serve values whose source licence allows redistribution: Eurostat, Gapminder Foundation, birthrate.io demographic model, Our World in Data, United Nations, U.S. Bureau of Justice Statistics / FBI, U.S. Census Bureau, World Bank, Irregular migrant stock estimates.
Some data on the website comes from sources that forbid resale (for example the Human Fertility Database, which is non-commercial) or whose terms we have not yet cleared for it (some national offices, OECD, UNHCR). The API withholds those values and reports how many in meta.availability.withheld, so you know exactly what is missing and where to get it. The full table is at /api/v1/sources.
Terms in brief
- Show the attribution from each response wherever you publish the data.
- Values are reproduced as published by each source; many international series are themselves modelled estimates. We correct ingestion errors when found but give no warranty of fitness for a purpose.
- Don't resell the raw API output as a competing data feed; building products and analysis on it is fine.
- One key per organisation on Pro; keep it secret (rotate it from the docs if it leaks).
- Questions: birthrateio@proton.me.