REST Countries Scraper - Country Data and Flags
Pricing
from $19.00 / 1,000 results
REST Countries Scraper - Country Data and Flags
Scrape country data including names, capitals, populations, currencies, languages, and flags from the REST Countries API. Export structured country records.
Pricing
from $19.00 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Share

π RestCountries Scraper - Country Data, Flags, Currencies & More
π Export the complete world country database in seconds. Get flags, capitals, populations, languages, currencies, timezones, and calling codes for all 250 countries with zero auth required.
The RestCountries Scraper pulls from the RestCountries v3.1 public API and returns 17 fields per record, including the country flag image URL, official name, capital, geographic region, population, area, languages, currencies, timezones, international calling codes, and top-level domains. The underlying data is maintained by the open-source community and covers every sovereign state and territory recognized by the United Nations.
The catalog covers all 6 geographic regions (Africa, Americas, Asia, Europe, Oceania, Antarctic), 250 countries, and includes both the common name and the full official name of each country. This Actor returns a clean, structured dataset ready for download as CSV, Excel, JSON, or XML in seconds - no scraping engineering required.
| π― Target Audience | π‘ Primary Use Cases |
|---|---|
| Developers, data scientists, GIS analysts, educators, product teams, market researchers, e-commerce teams | Country dropdowns, phone validation, currency conversion, language detection, regional analysis, form autofill, academic research |
π What the RestCountries Scraper does
Four query workflows in a single run:
- π Full export. All 250 countries in one shot - flags, capitals, populations, and more.
- πΊοΈ Region filter. Scope to Africa, Americas, Asia, Europe, Oceania, or Antarctic.
- π Name search. Find countries matching a full or partial name (e.g. "united" returns USA, UK, UAE, and more).
- π¦ Controlled batch size. Use
maxItemsto limit output for testing or tiered data products.
Each record includes the flag image URL, common and official name, capital city, region and subregion, population, area in kmΒ², official languages, currencies, timezones, international calling codes, top-level domain extensions, and a landlocked indicator.
π‘ Why it matters: country reference data underlies every global product - from phone number validators to e-commerce checkout forms to analytics dashboards. Rolling your own means hardcoding 250 rows and maintaining it manually. This Actor delivers a live, structured export in one click.
π Data fields
Each record includes: area, callingCodes, capital, currencies, imageUrl, landlocked, languages, name, officialName, population, region, scrapedAt, subregion, timezones, tld, url. All 16 field names come from a real production run, so what you see here is what lands in your dataset.
β οΈ Good to Know: when both
regionandsearchare provided, thesearchparameter takes priority. The RestCountries API performs partial name matching, so "ger" will return Germany, Algeria, and Niger. SetmaxItemsto a higher value if you expect multiple matches.
π How to use
- Create a free account w/ $5 credit on Apify (no credit card required).
- Open the RestCountries Scraper actor page and click Try for free.
- Set
region(orsearch) andmaxItemsin the input form. - Click Start and wait a few seconds.
- Download your dataset as CSV, Excel, JSON, or XML from the Results tab.
π Recommended Actors
| Actor | What it does |
|---|---|
| OurAirports Scraper | 85,000+ global airports with ICAO, IATA codes, coordinates, and elevation |
| Open-Meteo Weather Scraper | Free historical and forecast weather data for any coordinates worldwide |
| World Bank Data Scraper | Economic indicators, GDP, population data from the World Bank open API |
π‘ Pro Tip: browse the complete ParseForge collection for 50+ structured data actors covering aviation, finance, weather, government data, and more - all zero-auth, production-ready, and free to preview.
This Actor is not affiliated with or endorsed by RestCountries or flagcdn.com. It uses only publicly available, unauthenticated API endpoints. Use responsibly and in accordance with the RestCountries terms of service.
π Need Help?
If you hit a bug, have questions about setup, or need a scraper we haven't built yet, open our contact form or write to parseforge@protonmail.com. We also take on paid custom data projects.
For faster answers, join our Discord. It's the best place to get support and suggest new actors.