REST Countries

Provides detailed information about world countries including names, ISO codes, capitals, currencies, languages, demographics, and geographic regions. Supports lookups by name, code, currency, language, capital city, region, and other criteria with no authentication required.

Claim this API

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

Report an Issue

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

Slug: rest-countries
Key: restcountries.com:rest-countries
Base URL: https://restcountries.com/v3.1
Auth: none
Endpoints: 12
Reachable: unknown
CORS: unknown
Tier: verified

Links

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

Topics

GEOGRAPHY, TRAVEL

Endpoints (12)

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