Quickstart
Copy a curl, project fields, and paginate five countries at a time.
Endpoints
Full route table with response shapes and pagination modes.
OpenAPI
Download the machine-readable contract at /openapi.json.
Flag CDN
Serve flags at /flags/.svg|png; optional opaque hashed URLs.
For agents
Start at /llms.txt. Full contract lives at /openapi.json.
What you get
- Country records with names, ISO codes, currencies, languages, region, Wikidata enrichment (economics, development, government, and more), and computed metrics.
flags.svgandflags.pngURLs on every full record.- REST Countries–style filters: alpha, name, capital, region, language, currency, independence.
- Capped list pages (max 5) instead of a bulk
/alldump. GET /v1/countries/currentreturns one country object for the caller’s IP when edge geo is available.
Free public serviceCommercial use is allowed under the Terms of Service. We may throttle or block abusive traffic.