REST Countries Info Scraper
Pricing
from $12.00 / 1,000 result items
REST Countries Info Scraper
Export 250+ countries with population, capital, area, currencies, languages, borders, demonyms, flags, region, subregion, and timezones. Query all, by name, region, language, currency, or independence status. Open dataset, no auth.
Pricing
from $12.00 / 1,000 result items
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share

π REST Countries Info Scraper
π Export the global country reference dataset in seconds. Pull 250+ countries with population, capital, currencies, languages, borders, flags, and demonyms. No API key, no registration, no manual CSV wrangling.
π Last updated: 2026-05-22 Β· π 29 fields per record Β· π 250+ countries Β· π£οΈ 184 languages Β· π± 174 currencies
The REST Countries Info Scraper exports the community-maintained country reference catalog and returns 29 fields per record, including ISO 3166 codes, official and common names, population, capital cities, currencies, spoken languages, neighboring borders, demonyms, flags, calling codes, and continent assignments. The underlying source is one of the most widely cited open country datasets on the web.
The catalog covers every UN-recognized state, observer entities, and dependent territories, across all continents and 184 spoken languages. This Actor turns that reference into a downloadable dataset as CSV, Excel, JSON, or XML in under five minutes. Six query modes let you pull the whole world, search by name, or filter by region, language, currency, or independence status.
| π― Target Audience | π‘ Primary Use Cases |
|---|---|
| Trip-planning platforms, edtech publishers, fintech onboarding, BI dashboards, news desks, NGOs, GIS engineers | Country pickers, geo dropdowns, currency-aware checkouts, language fallback logic, demographic dashboards, classroom worksheets |
π What the REST Countries Scraper does
Six query workflows in a single run:
- π Worldwide export. Every country, territory, and dependency in one pull.
- π Search by name. Pass a full or partial country name and get matching records.
- πΊοΈ Filter by region. Africa, Americas, Asia, Europe, Oceania, or Antarctic.
- π£οΈ Filter by language. Restrict to countries that speak Spanish, French, Arabic, and 180+ more.
- π± Filter by currency. Filter by any ISO 4217 currency code, like USD, EUR, or JPY.
- ποΈ Independent countries only. Skip observer entities and dependent territories.
Each record bundles identifiers (ISO 2, ISO 3, numeric), geography (capital, region, subregion, continents, lat/lng), demographics (population, area), culture (languages, demonyms, translations), economics (currencies, calling codes), and reference links to Google Maps and OpenStreetMap.
π‘ Why it matters: every product with a country dropdown, a currency formatter, or a language selector needs this data, and most teams hand-roll it from CSVs that go stale within a year. This Actor keeps your country reference fresh on every run.
π¬ Full Demo
π§ Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded dataset.
βοΈ Input
| Input | Type | Default | Behavior |
|---|---|---|---|
maxItems | integer | 10 | Records to return. Free plan caps at 10, paid plan at 1,000,000. |
mode | enum | "all" | Query mode: all, name, region, lang, currency, or independent. |
nameQuery | string | "" | Full or partial country name. Used when mode is name. |
region | enum | "" | Africa, Americas, Asia, Europe, Oceania, or Antarctic. Used when mode is region. |
language | string | "" | Language name like spanish. Used when mode is lang. |
currencyCode | string | "" | ISO 4217 code like EUR. Used when mode is currency. |
fields | array | [] | Optional projection of the 35 source fields. Empty returns the full record. |
Example: every country in Europe.
{"maxItems": 60,"mode": "region","region": "europe"}
Example: countries that use the Euro.
{"maxItems": 30,"mode": "currency","currencyCode": "EUR"}
β οΈ Good to Know: population, area, and currency lists reflect the upstream community dataset and are not real-time economic figures. For high-stakes financial workflows, cross-check against a primary statistical source. Demonyms and translations are crowd-sourced and may vary in regional spelling.
π Output
Each country record contains 29 fields. Download the dataset as CSV, Excel, JSON, or XML.
π§Ύ Schema
| Field | Type | Example |
|---|---|---|
π³οΈ flagUrl | string | "https://flagcdn.com/w320/de.png" |
π¨ commonName | string | "Germany" |
ποΈ officialName | string | "Federal Republic of Germany" |
π cca2 | string | "DE" |
π cca3 | string | "DEU" |
π’ ccn3 | string | "276" |
ποΈ independent | boolean | true |
πΊπ³ unMember | boolean | true |
ποΈ capital | array | ["Berlin"] |
π region | string | "Europe" |
πΊοΈ subregion | string | "Western Europe" |
π continents | array | ["Europe"] |
π₯ population | number | 83240525 |
π area | number | 357114 |
π£οΈ languages | object | {"deu": "German"} |
π± currencies | object | {"EUR": {"name": "Euro", "symbol": "β¬"}} |
π€ demonyms | object | {"eng": {"f": "German", "m": "German"}} |
π€ borders | array | ["AUT","BEL","CZE","DNK","FRA","LUX","NLD","POL","CHE"] |
π timezones | array | ["UTC+01:00"] |
π latlng | array | [51, 9] |
π tld | array | [".de"] |
βοΈ callingCodes | array | ["+49"] |
π drivingSide | string | "right" |
π
startOfWeek | string | "monday" |
πΊοΈ mapsGoogle | string | "https://goo.gl/maps/..." |
πΊοΈ mapsOpenStreetMaps | string | "https://www.openstreetmap.org/..." |
π translations | object | {"fra": {"official": "RΓ©publique fΓ©dΓ©rale d'Allemagne", "common": "Allemagne"}} |
π scrapedAt | ISO 8601 | "2026-05-22T00:00:00.000Z" |
β οΈ error | string | null | null |
π¦ Sample records
β¨ Why choose this Actor
| Capability | |
|---|---|
| π | Global coverage. 250+ countries, territories, and dependencies across all six populated continents. |
| π― | Six query modes. All, by name, by region, by language, by currency, or independence-only. |
| π | Canonical codes. ISO 3166 alpha-2, alpha-3, and numeric codes for clean joins with billing, shipping, and analytics pipelines. |
| π± | Currency-ready. Native currency objects with code, symbol, and name make checkout and pricing logic trivial. |
| π£οΈ | Multilingual. Common-name translations into French, German, Spanish, Portuguese, Italian, Japanese, and more. |
| π | Always fresh. Every run pulls the latest reference data so flags, capitals, and population figures stay current. |
| π« | No authentication. Public dataset. No login, no token, no rate-limit games. |
π Accurate country reference data underpins every signup form, currency converter, shipping calculator, and dashboard in modern software.
π How it compares to alternatives
| Approach | Cost | Coverage | Refresh | Filters | Setup |
|---|---|---|---|---|---|
| β REST Countries Scraper (this Actor) | $5 free credit, then pay-per-use | 250+ worldwide | Live per run | name, region, language, currency, independent | β‘ 2 min |
| Statistical office bulk downloads | Free | One country at a time | Annual | None | π’ Days |
| Commercial geo data feeds | $200+/month | Global | Daily | Many | β³ Hours |
| Hand-built CSVs from Wikipedia | Free | Whatever you typed | Never | None | π Painful |
Pick this Actor when you want broad global coverage, fast filtering, and a reference dataset you don't have to maintain.
π How to use
- π Sign up. Create a free account with $5 credit (takes 2 minutes).
- π Open the Actor. Go to the REST Countries Info Scraper page on the Apify Store.
- π― Set input. Pick a query mode, fill in the matching field, and set
maxItems. - π Run it. Click Start and let the Actor collect your dataset.
- π₯ Download. Grab results in the Dataset tab as CSV, Excel, JSON, or XML.
β±οΈ Total time from signup to downloaded dataset: 3-5 minutes. No coding required.
πΌ Business use cases
π Automating REST Countries Scraper
Control the scraper programmatically for scheduled runs and pipeline integrations:
- π’ Node.js. Install the
apify-clientNPM package. - π Python. Use the
apify-clientPyPI package. - π See the Apify API documentation for full details.
The Apify Schedules feature lets you trigger this Actor on any cron interval. Hourly, daily, or weekly refreshes keep downstream databases in sync automatically.
π Beyond business use cases
Country reference data powers far more than commercial workflows. The same records support research, education, civic projects, and personal initiatives.
π€ Ask an AI assistant about this scraper
Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:
- π¬ ChatGPT
- π§ Claude
- π Perplexity
- π Copilot
β Frequently Asked Questions
π§© How does it work?
Pick a query mode, fill in the matching field, click Start, and the Actor pulls structured records straight from the public country reference catalog. No browser automation, no captchas, no setup.
π How accurate is the data?
Country codes, capitals, and continents are stable and well-vetted. Population and area reflect the upstream community catalog and lag behind official statistical office figures by months or quarters. For high-stakes economic work, cross-check against a primary statistical source.
π How often is the dataset refreshed?
The community catalog is updated continuously. Every run of this Actor fetches the latest data so your dataset reflects current records as of run time.
π£οΈ How many languages and currencies does it cover?
The catalog tracks 184 spoken languages and 174 currencies across 250+ countries, territories, and dependencies.
π€ Does it include borders and neighbors?
Yes. Every country record includes a borders array of neighboring countries by ISO 3 code. Useful for routing, logistics, and trade-flow analysis.
βοΈ Is this data legal to use?
The underlying catalog is published under a permissive open-data license. Review the downstream terms of your specific use case, but raw country reference data is generally public.
πΌ Can I use this data commercially?
Yes. The catalog is published under an open license that permits commercial use. You are responsible for complying with the license and with any downstream regulatory requirements in your own product.
π³ Do I need a paid Apify plan to use this Actor?
No. The free Apify plan is enough for testing and small pulls (10 records per run). A paid plan lifts the limit and gives you access to scheduling, higher concurrency, and larger datasets.
π What happens if a run fails or gets interrupted?
Apify automatically retries transient errors. If a run still fails, inspect the log in the Runs tab, fix the input, and re-run. Partial datasets from failed runs are preserved so you never lose progress.
π³οΈ Does it include flags and map links?
Yes. Every record includes a hosted flag image URL plus Google Maps and OpenStreetMap deep links for the country.
π What if I need help?
Our support team is here to help. Contact us through the Apify platform or use the Tally form linked below.
π Integrate with any app
REST Countries Info Scraper connects to any cloud service via Apify integrations:
- Make - Automate multi-step workflows
- Zapier - Connect with 5,000+ apps
- Slack - Get run notifications in your channels
- Airbyte - Pipe country data into your warehouse
- GitHub - Trigger runs from commits and releases
- Google Drive - Export datasets straight to Sheets
You can also use webhooks to trigger downstream actions when a run finishes. Refresh country dropdowns in your product backend, or push updates into a CRM.
π Recommended Actors
- βοΈ OurAirports Scraper - 85,000+ airports, heliports, and airfields worldwide
- πΊοΈ Nominatim OSM Scraper - Geocode addresses via OpenStreetMap
- π Indexmundi Scraper - Global demographic and economic indicators
- π GBIF Biodiversity Scraper - Global biodiversity occurrence records
- π OpenSky Flights Scraper - Live air-traffic positions worldwide
π‘ Pro Tip: browse the complete ParseForge collection for more reference-data scrapers.
π Need Help? Open our contact form to request a new scraper, propose a custom data project, or report an issue.
β οΈ Disclaimer: this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by REST Countries or any of its contributors. All trademarks mentioned are the property of their respective owners. Only publicly available open country reference data is collected.