REST Countries API

Get information about countries via a REST API. Access country data including names, codes, capitals, populations, currencies, languages, flags, and more.

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.

Base URL: https://restcountries.com/v3/
Auth: unknown
Endpoints: 12
Reachable: yes
CORS: unknown
Last checked: 2026-03-14 16:09:23.623710

Links

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

100.0%

Uptime (7d)

377ms

Avg latency (7d)

44

Probes (7d)

Latency (7d)

Success Rate (7d)

Topics

GEOLOCATION, KNOWLEDGE

Endpoints

Method Path Summary Auth Last Status Latency
GET /all Get all countries none 200 413ms
GET /alpha Get multiple countries by codes none 200 322ms
GET /alpha/{code} Get country by code none 200 316ms
GET /capital/{capital} Search countries by capital city none 200 342ms
GET /currency/{currency} Search countries by currency none 200 424ms
GET /demonym/{demonym} Search countries by demonym none 200 319ms
GET /independent Filter by independence status none 200 419ms
GET /lang/{language} Search countries by language none 200 393ms
GET /name/{name} Search countries by name none 200 326ms
GET /region/{region} Search countries by region none 200 394ms
GET /subregion/{subregion} Search countries by subregion none 200 526ms
GET /translation/{translation} Search countries by translation none 200 332ms