REST Countries API

Editor's Pick Freemium

by —

Provided by REST Countries

Not yet rated
Platform
API
Pricing
Freemium
Account required
Yes
Ads
None
Last verified
13 hours ago
Developer
—
Official URL

Overview

REST Countries is a web API that returns structured data about the world's countries and dependencies: names, populations, leaders, currencies, languages, borders, flags, calling codes, time zones and more. Developers use it to fill country pickers, build quizzes and maps, or enrich records with country details.

The service has changed. The old open, keyless versions of the API have been retired, and calls to them now return a deprecation error. The current version requires an account and an API key sent as a bearer token.

A free tier with a modest monthly request allowance covers prototypes and small apps, and paid plans add higher volumes, more keys, an uptime SLA and faster support. The same site also offers related APIs for IP, user agent, email and currency data.

Screenshots

Features

  • Data on 250+ countries and dependencies with 90+ fields each
  • Full-text search plus lookup by ISO code
  • Filters by region, currency, leader and memberships such as the EU or G7
  • Field selection to return only the data you need
  • Pagination with limit and offset
  • JSON responses over a simple REST interface
  • Free tier with two API keys

Privacy

See the official privacy policy. An account and API key are required to use the current API.

Pros & Cons

Pros

  • Rich, normalized country data in one call
  • Free tier is enough for small projects
  • Field selection keeps responses small

Cons

  • Now requires an account and API key for every request
  • The free tier has a low monthly request limit
  • Old keyless endpoints were shut down, so older tutorials and code no longer work

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools