All integrationsBooks & Encyclopedias

REST Countries

Look up any of 250+ countries and territories by code or name, then search and list them by region, group, currency or language, with names, capitals, codes, currencies, calling codes and flags.

actions
13

Actions

Steps a workflow can run in REST Countries.

  • Get country by codeLook up one country by its ISO 3166-1 code: two letters (CA), three letters (CAN) or three digits (124). Returns everything REST Countries has on it: names, capital, region, population, currencies, languages, calling codes, time zones, flag and more.
  • Find country by nameFind the one country a name means, such as a country typed into a form, and get its codes and details. Matches the common name (Germany), the official name (Federal Republic of Germany), its name in its own language (Deutschland) or another name it goes by (Holland), ignoring case and accents, and then its name in other languages (Allemagne). A name that could mean several countries, like Korea, fails with the list of them instead of guessing.
  • Search countriesFind every country with the text anywhere in it, ignoring case: in any field, or only in names, codes, capitals, demonyms, languages, currencies, flag descriptions or government types. Results come alphabetically, a page at a time.
  • List countriesList countries alphabetically, a page at a time: all of them, or only those in a region or subregion, or those in groups like the EU, NATO or the G20, or landlocked ones. Each page says how many matched in all and which offset gets the next page.
  • Find countries by propertyFind every country with an exact value in one field, ignoring case: the countries that use a currency (EUR), speak a language (Spanish), share a calling code (44), border a country (FRA), use an internet domain (.de), drive on the left, or are territories of another country (GB).
  • Get flag imageGet a link to a country's flag on REST Countries' free flag CDN, as PNG, JPG, GIF or SVG, from 160 to 2560 pixels wide, and cropped square or to 4:3 if you like. Ready for an email, a message or a web page, and it uses none of the month's requests.
  • Get faviconGet a link to a website's icon (its favicon) on REST Countries' free favicon CDN, from its domain, a web address or an email address, and whether the site has an icon of its own or the link shows the CDN's plain globe instead. Ready for an email, a message or a web page, and it uses none of the month's requests.
  • Look up IP addressFind where an IPv4 or IPv6 address is (continent, country, region, city, postal code and coordinates), which network runs it, whether it is a Tor exit node, a proxy, a VPN or a data center, and its local time zone.
  • Parse user agentIdentify the browser, rendering engine, operating system and device behind a user-agent string, and whether it is a bot, a search or AI crawler, or an AI assistant fetching a page for someone, along with the company it acts for.
  • Analyze email addressLearn about an email address without sending it anything: its parts, who handles its mail, its MX, SPF and DMARC records, when its domain was registered, whether it is a free, disposable, forwarding or role address, whether it has a Gravatar, and a fix for a mistyped domain like gmial.com. It cannot tell whether the mailbox exists.
  • Convert currencyConvert an amount from one currency into up to five others at once, crypto like BTC included, at the latest rate. Rates are refreshed daily on the free plan and hourly on paid plans, and each result says when its rate is from.
  • Get exchange ratesGet what one unit of a currency buys in every other currency REST Countries supports, or only in the ones you name, with when the rates are from.
  • List currenciesList every currency REST Countries converts, fiat and crypto, with its code, name and symbol.

Automate REST Countries with Lodol.

Connect REST Countries and ask your AI for your first workflow.

Free plan, no credit card