Endpoint
REST Countries
Flags, capitals, regions, currencies, languages, and more. Filter fields to shrink payloads.
Country metadata as JSON
GeographyNo API keyDefault GET
HTTP console
Request
GET by name, code, region, or use /v3.1/all with optional field filters.
GET /v3.1/name/canada
Response
Array of country objects with name, cca2, capital[], region, flags, …
[
{
"name": { "common": "Canada", "official": "Canada" },
"cca2": "CA",
"capital": ["Ottawa"],
"region": "Americas"
}
]Outbound requestProxy
Executes on the server with rate limits and host rules. Edit the URL and payload to match your scenario—responses show real upstream status and body (truncated if very large).
Upstream response
Ready. Click Send to execute the request. Status, latency, content type, and body appear here—formatted when the payload is JSON.