Wild APIs

Census & Demographics APIs

Official statistics offices form the core: Census.gov for US demographic and geographic data, ONS for UK Census 2021 figures, and national databases from Germany, Brazil, Mexico and Sweden. Data USA wraps US census data in a simpler query by state and year, without a key. A separate group predicts demographics from a first name: Genderize.io, Agify.io and Nationalize.io estimate gender, age and nationality.
11 listings of 186 in catalogue
APIPricingAuthFormatFree tierStatus
Agify.ioPredicts a likely age for a first name from statistics on roughly a billion people.
Data & Knowledge › Census & Demographics
FreemiumAPI keyJSON<100/dayDegraded
Census.govUS Census Bureau demographic, economic and geographic data (ACS, decennial census, and more) by area.
Data & Knowledge › Census & Demographics
FreeAPI keyJSONUnlimitedUntested
Data USAUS Census/government data — population, jobs, education, industry — queryable by state and year.
Data & Knowledge › Census & Demographics
FreeNoneJSONUnlimitedLive
Genderize.ioPredicts likely gender for a first name using a database of over 1 billion people.
Data & Knowledge › Census & Demographics
FreemiumAPI keyJSON<100/dayDegraded
GENESIS-OnlineGermany's official statistics database covering economy, population and society via a REST/JSON web service.
Data & Knowledge › Census & Demographics
FreeJSON—Untested
IBGEBrazil's statistics agency: geographic divisions, census counts, and aggregated economic indicators.
Data & Knowledge › Census & Demographics
NoneJSONUnlimitedLive
NameGenderPredicts gender and confidence from a first name, full name, email address, or username.
Data & Knowledge › Census & Demographics
FreemiumAPI keyJSON100–1k/dayLive
Nationalize.ioEstimates a person's likely nationality (ranked country probabilities) from their first name.
Data & Knowledge › Census & Demographics
FreemiumAPI keyJSON<100/dayDegraded
ONS API (Office for National Statistics)UK official statistics and Census 2021 data: population, households, labour market and prices by area.
Data & Knowledge › Census & Demographics
FreeNoneJSON10k+/dayLive
Open Government, MexicoMexico's national statistics API: economic, demographic and geographic indicators by state and municipality.
Data & Knowledge › Census & Demographics
FreeAPI keyJSONUnlimitedUntested
Open Government, SwedenStatistics Sweden's official statistical database API: population, economy, labour market and more.
Data & Knowledge › Census & Demographics
FreeNoneJSON—Live

Choosing a Census & Demographics API

Is there a free Census & Demographics API?

Yes. Census.gov, Data USA, GENESIS-Online, ONS API (Office for National Statistics), Open Government, Mexico and 1 other are free to use, and Genderize.io, Agify.io, NameGender and Nationalize.io have a free tier alongside paid plans.

Which Census & Demographics APIs work without an API key?

Data USA, IBGE, ONS API (Office for National Statistics) and Open Government, Sweden need no key or sign-up, so you can try them with a plain request.

Can I call a Census & Demographics API from front-end JavaScript?

Data USA, IBGE, ONS API (Office for National Statistics) and Open Government, Sweden allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.

Can I use Census & Demographics APIs in a commercial project?

Census.gov, Genderize.io, Agify.io, ONS API (Office for National Statistics) and Open Government, Sweden permit commercial use. Data USA restricts it, for example to non-commercial or attributed use, so read the terms first.

Which Census & Demographics APIs work with AI agents?

NameGender publishes an OpenAPI spec for generating clients and tools.

More in Data & Knowledge: Wikipedia & Reference APIs · Dictionaries APIs · Books APIs · Academic APIs · Open Government Data APIs · Economic Data APIs · Datasets APIs · Education APIs