Countries
Names, official names, translations, calling codes, regions and flags.
Global Data API · v1
Countries, subdivisions, phone formats, postal code rules and address examples. Everything an international checkout form needs, in one consistent shape, with the ISO codes you already index on.
curl https://api.countrykit-api.com/v1/countries/BR \
-H "Authorization: Bearer data_live_xxxxxxxxxxxxxxxx"The datasets
Each dataset is a separate endpoint family but shares the same authentication, quota and error contract.
Names, official names, translations, calling codes, regions and flags.
Calling codes, formatted examples and validation patterns for phone inputs.
Regex patterns, display formats and valid examples per country.
States, provinces and regions with ISO 3166-2 codes and their type.
Correctly ordered address examples, ready to use as form placeholders.
Where it fits
This is not a country list. It is the reference layer that keeps forms, validation and storage consistent across every market you sell in.
// 1. Country select
const { countries } = await client.get("/v1/countries?locale=pt");
// 2. Subdivision select for the chosen country
const { subdivisions } = await client.get("/v1/subdivisions/BR?locale=pt");
// 3. Postal code mask and validation
const { postal_code } = await client.get("/v1/postal-code/BR");
const isValid = new RegExp(postal_code.pattern).test(input);
// 4. Phone placeholder and mask
const { example, calling_code } = await client.get("/v1/phone/BR");
input.placeholder = example.national;Country, subdivision and metadata responses are cacheable for up to 24 hours, which is why this product carries the highest quotas on the platform.
25,000 requests a month on the free plan, no payment method required, and responses you can cache for a day.