Rest Countries Data avatar

Rest Countries Data

Under maintenance

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Rest Countries Data

Rest Countries Data

Under maintenance

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Donny

Donny

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Categories

Share

REST Countries Data Lookup

What does REST Countries Data Lookup do?

This Apify actor retrieves detailed information about countries worldwide using the REST Countries API. It provides comprehensive data including population figures, official languages, currencies, geographic area, capital cities, regional classification, timezones, border countries, and national flag images for any country or all 250+ countries and territories.

Why use this country data tool?

Country data is fundamental for international business research, educational projects, travel applications, market analysis, and demographic studies. This actor eliminates the need to manually collect country information from multiple sources, delivering all essential data points in a single, clean, structured dataset. Whether you need data for one country or all countries globally, this tool handles it efficiently.

How to use the REST Countries Data Lookup

  1. Enter a Country Name to search for a specific country (e.g., "united states", "japan", "brazil")
  2. Or enable List All Countries to get data for every country in the world
  3. Set Max Results to limit the number of countries returned
  4. Click Start to run the actor
  5. Download your country data in JSON, CSV, or Excel format

Works with zero configuration, defaulting to searching for "united states".

Input Parameters

ParameterTypeDescriptionDefault
querystringCountry name to search forunited states
listAllbooleanList all countries in the worldfalse
maxResultsintegerMaximum countries to return50

Output Data

Each country record contains:

  • name - Common country name
  • officialName - Official country name
  • capital - Capital city
  • region - Geographic region (e.g., Americas, Europe, Asia)
  • subregion - Geographic subregion (e.g., Northern America, Western Europe)
  • population - Total population
  • area - Land area in square kilometers
  • languages - Official languages
  • currencies - Official currencies with codes
  • timezones - List of timezones
  • flagUrl - URL to national flag image
  • borders - Country codes of bordering nations

Cost of Usage

This actor is extremely efficient and uses minimal compute resources.

  • Per result: $0.01
  • Per 1,000 results: $10
  • Actor start cost: $0.005

Fetching all countries completes in under 15 seconds.

Tips and Advanced Usage

  • Use partial names for broader search results (e.g., "united" returns United States, United Kingdom, UAE, etc.)
  • Enable listAll mode and set maxResults to 300 to get every country and territory
  • Population and area data are useful for calculating population density
  • Border data helps build geographic relationship maps between countries
  • Currency data is valuable for international pricing and financial analysis
  • Schedule regular runs to track population changes over time

Check out our other data collection tools: