Endpoint
REST Countries — by alpha-2
ISO alpha-2 path segment.
Single country by code
GeographyNo API keyDefault GET
HTTP console
Example URL
https://restcountries.com/v3.1/alpha/deRequest
Use HTTPS GET unless the provider documents POST. Example: GET /v3.1/alpha/{code}
GET /v3.1/alpha/{code}Response
{ name, cca2, capital[], population, … }
{"name":{"common":"Germany"},"cca2":"DE"}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.