REST Countries

APIs

Every app eventually needs to know something about the world outside it: where a visitor is, what they're browsing on, whether an email address is worth trusting, what a price is worth somewhere else. That kind of data is tedious to assemble and it never stops changing. These five APIs keep it current, so the work on your side is asking a question and reading the answer.

Countries API

Countries API

Normalized data for 250+ countries and dependencies: names and translations, ISO codes, currencies, languages, capitals, borders, flags, calling codes, timezones, leaders, memberships and demographics. 90+ fields per record, reconciled from 35+ sources and refreshed every 4 hours.

User Agent API

User Agent API

User-agent parsing. Hand it any string and get back the client, engine, operating system and device, plus bot, AI crawler and AI assistant flags. Pass nothing and it parses the agent the request came from. Detection spans 100+ browser families, 70+ operating systems and 50,000+ device models, so the long tail your logs actually carry comes back named rather than unknown.

IP API

IP API

IP geolocation for IPv4 and IPv6. Resolves an address to continent, country, subdivision, city, coordinates and postal code, plus its network (ASN, organization, domain), Tor/proxy/VPN/datacenter signals and local timezone. Pass no address and it geolocates the caller.

Currencies API

Currencies API

Currency conversion and exchange rates across three endpoints: convert an amount into up to five targets at once, pull a rate table for any base, or list the supported catalog. Both fiat and crypto codes are supported, with an as_of timestamp on every rate.

What they share

Every API above is read-only and accessed over GET. There are no write endpoints. Successful payloads sit under a top-level data key with records in data.objects; failures come back under errors as an array of objects carrying a message. Responses always ship the full shape, so a value that isn't known comes back null rather than disappearing from the payload. Append pretty to any request to pretty-print the JSON while you're exploring.

Authentication is a single bearer token issued from your account: the same token works across all five APIs, and one plan covers your combined usage rather than metering each API separately. Request limits, rate limiting, account states and version handling behave identically everywhere, so what you learn wiring up one API carries straight over to the rest.

One key, five APIs.

Free tier covers most prototypes. Sign up once and every API above is available to you.

Get an API key View the docs