<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />

Everything the API does,
one feature at a time

CountryDataAPI covers countries, states, cities and postal codes: lookups, address-form autocomplete, validation and downloadable datasets. There is no street-level or point-of-interest data.

Address forms

Fill and check the country, state, city and postcode fields of a form.

Geographic data

Look up the world hierarchy or download it.

Choosing an API

Compare options before you integrate.

Pick a feature and try it

Create an account, grab your key and call any endpoint from the docs.