REST Countries
API by REST Countries · rest
REST Countries is a read-only API family served as JSON over HTTPS and authenticated with a single Bearer token. It provides five APIs that share one account, one key, and one request quota: the Countries API (/countries/v5) for structured country data, the Currencies API (/currencies/v1) for currency conversion and exchange rates across fiat and crypto, the IP API (/ip/v1) for IP geolocation, the User Agent API (/user-agent/v1) for user-agent string parsing, and the Email Intelligence API (/email-intelligence/v1) for email address analysis. Each API is versioned in its path; additive changes ship inside the current version, and breaking changes get a new version. See https://restcountries.com/docs for the full reference and https://restcountries.com/docsversioning for the versioning policy.
Endpoint: https://api.restcountries.com/
Verification: observed. Source: crawl.
Capabilities (13)
- List or search countries
- Aggregate search across every code property
- Aggregate search across every name field
- Search within a single property
- Filter by property value
- Convert an amount between currencies
- Exchange-rate table for a base currency (query param)
- Exchange-rate table for a base currency (path slug)
- List supported currencies
- Analyze an email address
- Look up an IP address (query param or the caller's own)
- Look up an IP address (path slug)
- Parse a user-agent string