REST Countries API

REST API that provides country data including demographics, currencies, languages, flags, and geographic information, searchable by name, ISO code, region, currency, language, and other attributes.

Claim this API

Are you the operator of REST Countries API? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with REST Countries API? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Screenshot:
Screenshot of REST Countries API homepage
Slug: restcountries
Key: restcountries.com:rest-countries-api
Base URL: https://restcountries.com
Auth: none
Endpoints: 12
Reachable: yes
CORS: unknown
Tier: verified
Last checked: 2026-03-14 16:09:23.623710

Links

Homepage: https://restcountries.com
API Base: https://restcountries.com

Topics

GEOLOCATION, KNOWLEDGE

Endpoints (12)

Path Summary Response Auth
all Get all countries application/json none
alpha Get multiple countries by codes application/json none
alpha/{code} Get country by country code application/json none
capital/{capital} Search countries by capital city application/json none
currency/{currency} Search countries by currency application/json none
demonym/{demonym} Search countries by demonym application/json none
independent Filter countries by independence status application/json none
lang/{language} Search countries by language application/json none
name/{name} Search countries by name application/json none
region/{region} Search countries by region application/json none
subregion/{subregion} Search countries by subregion application/json none
translation/{translation} Search countries by translation application/json none