Country Data API — Get Detailed Information About 195 Countries
Get detailed information about 195 countries including capital, currency, languages, population, area, calling codes, and ISO codes. Search by name or code. Free API.
What is the Country Data API?
The Country Data API provides comprehensive information about all 195 UN-recognized countries. Each country entry includes ISO 3166-1 alpha-2 and alpha-3 codes, numeric code, capital city, currency code and name, official languages, population, area (km²), calling code, top-level domain, region, subregion, latitude/longitude, and neighboring countries. Search by full name, ISO code, or partial match.
How to Use It
Call GET /api/v1/countries to list all. Call GET /api/v1/countries?code=NO for Norway. Returns { code: string, name: string, capital: string, currency: string, languages: string[], population: number, area: number, calling_code: string, tld: string, region: string, neighbors: string[] }.