Every country and region, with its paper trail.
Look up countries and their divisions by code, with official identifiers wherever a national source exists.
{
"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
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.
| Source | Used for | Licence |
|---|---|---|
| GeoNames | Countries | CC BY 4.0 |
| Wikidata | Names and links | CC0 |
| National statistics offices | Divisions | Stated 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"More from atlasref
The other datasets use the same identifiers and the same rules about sources.