All integrationsBooks & Encyclopedias
countries.dev
Look up country data (ISO, numeric and IOC codes, capitals, currencies, languages, time zones, calling codes, neighbours and flags), search cities and places, resolve postal codes, measure distances and geolocate IP addresses with countries.dev's keyless public API.
- actions
- 34
Actions
Steps a workflow can run in countries.dev.
- Get country by codeLook up a single country by its ISO 3166 alpha-2 or alpha-3 code (for example, US or USA).
- Get country by numeric codeLook up a single country by its ISO 3166-1 numeric code (for example, 840 for the United States). Leading zeros are optional.
- Get country by IOC codeLook up a single country by its International Olympic Committee code (for example, GER for Germany), as used in sports results.
- Get random countryGet one randomly chosen country. A different country comes back on every run.
- Search countries by nameSearch for countries whose name contains the given text.
- Search countries by capitalFind the countries whose capital city name contains the given text, e.g. 'paris' or 'wash'.
- List countriesList every country, with optional field selection, sorting and paging to keep the payload small.
- Filter countries by regionList the countries in a region, e.g. Africa, Americas, Asia, Europe or Oceania.
- Filter countries by subregionList the countries in a subregion, e.g. Northern Europe, Caribbean or South-Eastern Asia. Use List subregions for the exact names.
- Filter countries by currencyList the countries that use a currency, given its ISO 4217 code.
- Filter countries by languageList the countries that speak a language, given its ISO 639 code.
- Filter countries by calling codeList the countries reachable under an international calling code, e.g. 1 or 44.
- Filter countries by time zoneList the countries that observe a UTC offset, e.g. UTC+02:00 or UTC-05:00. Use List time zones for the offsets in use.
- Filter countries by top-level domainList the countries that own an internet top-level domain, e.g. .uk or .de. The leading dot is optional.
- Filter countries by demonymList the countries whose people are called by a demonym, e.g. French or Australian (exact match, case-insensitive).
- Filter countries by populationList the countries whose population falls within a range. Give a minimum, a maximum or both (inclusive).
- Filter countries by areaList the countries whose area in square kilometres falls within a range. Give a minimum, a maximum or both (inclusive).
- Filter countries by independenceList the independent states, or the dependent territories (such as Puerto Rico or Greenland), by UN independence status.
- Get neighbouring countriesList the countries that share a land border with a country, given its name or ISO code. An island nation returns an empty list.
- List regionsList every region name (Africa, Americas, Asia, Europe, Oceania, ...), alphabetically.
- List subregionsList every subregion name (Caribbean, Northern Europe, South-Eastern Asia, ...), alphabetically.
- List currenciesList every currency in circulation, with its ISO 4217 code, name and symbol.
- List languagesList every language spoken across all countries, with its ISO 639 codes and native name.
- List time zonesList every UTC offset observed somewhere in the world, from UTC-12:00 to UTC+14:00, with how many countries observe each.
- Geolocate an IP addressResolve the country an IPv4 or IPv6 address is located in, with the full country record.
- Geolocate IP addresses in bulkResolve the countries of up to 100 IPv4 or IPv6 addresses in one call. Every address must be valid, or the whole call fails.
- Search citiesSearch the world's cities (populated places over 15,000 people, plus capitals) by name and/or country, largest first.
- Get cityGet one city by its GeoNames id, as returned by Search cities.
- Find nearest citiesList the cities closest to a latitude and longitude, nearest first, each with its distance in kilometres.
- Search placesSearch the full GeoNames gazetteer of some 12 million features worldwide (cities, towns, mountains, rivers, parks, airports, ...) by name, country and kind, largest first.
- Get placeGet one GeoNames feature by its id, as returned by Search places.
- Find nearest placesList the GeoNames features of any kind closest to a latitude and longitude, nearest first, each with its distance in kilometres.
- Get distance between two pointsGreat-circle distance between two cities (by GeoNames id) or two coordinates, in kilometres and miles. Give both city ids, or all four coordinates.
- Look up postal codeResolve a postal or ZIP code in a country to its town, state/region and approximate coordinates. Covers about 100 countries. A code with no match fails with HTTP 404.
No actions match that.
Automate countries.dev with Lodol.
Connect countries.dev and ask your AI for your first workflow.
Free plan, no credit card