Rest Countries Data
Pricing
from $10.00 / 1,000 results
Rest Countries Data
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
- Enter a Country Name to search for a specific country (e.g., "united states", "japan", "brazil")
- Or enable List All Countries to get data for every country in the world
- Set Max Results to limit the number of countries returned
- Click Start to run the actor
- Download your country data in JSON, CSV, or Excel format
Works with zero configuration, defaulting to searching for "united states".
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
| query | string | Country name to search for | united states |
| listAll | boolean | List all countries in the world | false |
| maxResults | integer | Maximum countries to return | 50 |
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:
- World Bank Indicator Data for economic indicators
- Open-Meteo Weather Forecast for weather data
- Library of Congress Search for catalog data
