Every country and region, with its paper trail.

Look up countries and their divisions by code, with official identifiers wherever a national source exists.

GET/api/v1/countries/DE200
{
  "code": "DE",
  "name": "Germany",
  "native_name": "Deutschland",
  "currency": "EUR",
  "calling_code": "+49",
  "divisions": 16
}
Source
GeoNames
Licence
CC BY 4.0
Refreshed
2026-10-09
Simplified example, not live data.

What country data gives you

Codes and names
ISO codes, localised names, currency and calling code on every country.
Official divisions
States, provinces and districts from national sources, with stable identifiers that do not change between releases.
Only what you ask for
Select the fields you need and filter by country, so responses stay small.
Source on every record
Each record names where it came from and under which licence you may use it.

Know where every record comes from

Source, licence and verification status travel with the data. This is an excerpt of the register behind the API.

SourceUsed forLicence
GeoNamesCountriesCC BY 4.0
WikidataNames and linksCC0
National statistics officesDivisionsStated per source

Start with one request

Create a key in your account and send it in the x-api-key header.

curl "https://country.atlasref.dev/api/v1/countries/DE" \
  -H "x-api-key: $ATLASREF_KEY"

Start with country data

Create a free account and make your first request in a minute.

Get your API key