Countries Data Scraper avatar

Countries Data Scraper

Try for free

1 hour trial then $19.99/month - No credit card required now

Go to Store
Countries Data Scraper

Countries Data Scraper

easyapi/countries-data-scraper
Try for free

1 hour trial then $19.99/month - No credit card required now

A powerful scraper that extracts comprehensive country information including native names, flags, codes, geographical data, economic indicators, and more. Perfect for building country databases or geographic applications.

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • No reviews yet

  • No bookmarks yet

  • >99% runs succeeded

  • Created in Nov 2024

  • Modified 4 months ago

Countries Data Scraper 🌍

This actor scrapes detailed information about countries, providing comprehensive data about nations worldwide. Perfect for developers, researchers, and businesses needing accurate country information.

Features ✨

  • 🔍 Search functionality to filter specific countries
  • 🏳️ Multiple flag formats (vector, flat, embossed)
  • 📊 Detailed country information including:
    • Official and native names
    • Country codes (Alpha-2, Alpha-3, Numeric)
    • Capital cities
    • Administrative subdivisions
    • Geographical data (regions, coordinates)
    • Economic indicators (GDP, population)
    • Currency information
    • Time zones
    • Border countries
    • Languages
    • Internet TLDs
    • Calling codes

Usage 💡

Simply provide a search query (optional) to filter specific countries, or leave it empty to fetch data for all countries.

Use Cases 🎯

  • Building country databases
  • Geographic information systems
  • International business applications
  • Educational resources
  • Travel applications
  • Data analysis and research

Input Parameters 🎛️

ParameterTypeDescription
searchQueryStringOptional search term to filter countries (e.g., "america")

Support 🤝

If you have any questions or need help, please reach out through Apify's support channels.

Input Example

A full explanation of an input example in JSON.

1{
2    "searchQuery": "america"
3}

Output sample

The results will be wrapped into a dataset which you can always find in the Storage tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

1[
2	{
3		"countryName": "American Samoa",
4		"nativeName": "American Samoa",
5		"flag": {
6			"vector": "https://cnx-images.s3-eu-west-1.amazonaws.com/countries/svg/asm.svg",
7			"flat": "https://cnx-images.s3-eu-west-1.amazonaws.com/countries/flat/as.svg",
8			"embossed": "https://cnx-images.s3-eu-west-1.amazonaws.com/countries/png/as.png"
9		},
10		"alpha2Code": "AS",
11		"alpha3Code": "ASM",
12		"numericCode": "016",
13		"capital": "Pago Pago",
14		"subdivisions": "AS, Amerika Sāmoa, Amelika Sāmoa, Sāmoa Amelika",
15		"region": "Oceania",
16		"subRegion": "<small>Polynesia</small>",
17		"coordinates": {
18			"lat": -14.333,
19			"lon": -170
20		},
21		"currency": {
22			"symbol": "$",
23			"code": "USD",
24			"name": "United State Dollar"
25		},
26		"area": {
27			"value": 199
28		},
29		"population": {
30			"value": 57100
31		},
32		"gdp": {
33			"value": null
34		},
35		"timezone": {
36			"value": "UTC-11:00"
37		},
38		"borders": {
39			"list": []
40		},
41		"callingCode": {
42			"value": "1684"
43		},
44		"internetTLD": "",
45		"language": {
46			"list": [
47				"ASA"
48			]
49		}
50	},
51    ...
52]