REST Countries Data Scraper avatar

REST Countries Data Scraper

Pricing

from $10.00 / 1,000 results

Go to Apify Store
REST Countries Data Scraper

REST Countries Data Scraper

Get detailed country data: population, area, capital, languages, currencies, timezones, borders, flags. Search by name, region, currency, or language. 250 countries.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

lulz bot

lulz bot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Categories

Share

Scrape comprehensive country data from the REST Countries API. Get population, area, languages, currencies, flags, borders, timezones, and coordinates for every country in the world.

Features

  • All 250+ countries: Get data for every country and territory
  • Search by name: Find countries by common or official name
  • Filter by region: Africa, Americas, Asia, Europe, Oceania
  • Lookup by code: Use ISO alpha-2 or alpha-3 country codes
  • Rich data: Population, area, languages, currencies, flags, borders, timezones, coordinates
  • Always available: Uses free public API with no authentication required

Output Fields

FieldDescription
nameCommon country name
officialNameOfficial country name
capitalCapital city
populationTotal population
areaArea in square kilometers
regionGeographic region
subregionGeographic subregion
languagesSpoken languages
currenciesOfficial currencies
flagFlag image URL
bordersBordering country codes
timezonesTimezone list
lat / lngGeographic coordinates
scrapedAtISO timestamp

Input Options

  • Search Query: Search countries by name (e.g. "Germany", "United States")
  • Region: Filter by region (Africa, Americas, Asia, Europe, Oceania)
  • Country Code: Look up by ISO code (e.g. "US", "DEU")
  • Max Results: Limit number of results (0 = unlimited)

Use Cases

  • Geographic analysis: Population density, area comparisons, border networks
  • Localization: Languages, currencies, timezones for international apps
  • Education: Country data for quizzes, maps, and learning tools
  • Business intelligence: Regional market sizing and demographics
  • Data enrichment: Add country metadata to existing datasets

Example Output

{
"name": "Germany",
"officialName": "Federal Republic of Germany",
"capital": "Berlin",
"population": 83240525,
"area": 357114,
"region": "Europe",
"subregion": "Western Europe",
"languages": "German",
"currencies": "Euro (EUR)",
"flag": "https://flagcdn.com/w320/de.png",
"borders": ["AUT", "BEL", "CZE", "DNK", "FRA", "LUX", "NLD", "POL", "CHE"],
"timezones": ["UTC+01:00"],
"lat": 51,
"lng": 9,
"scrapedAt": "2026-04-26T12:00:00.000Z"
}

Data Source


Run on Apify

This scraper runs on the Apify platform - a full-stack web scraping and automation cloud. Sign up for a free account to get started with 30-day trial of all features.

Try Apify free ->