Get Countries Info By Code Scraper

by dev_bodex

This scraper is designed to retrieve detailed information about countries by their respective ISO country codes (e.g., "US" for the United States) or ...

396 runs
4 users
Try This Actor

Opens on Apify.com

About Get Countries Info By Code Scraper

This scraper is designed to retrieve detailed information about countries by their respective ISO country codes (e.g., "US" for the United States) or by their currency codes (e.g., "USD" for US Dollar).

What does this actor do?

Get Countries Info By Code Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Get Countries Info By Code Scraper This Apify actor is designed to retrieve detailed country information based on either ISO country codes (alpha-2 or alpha-3) or ISO currency codes. The scraper collects essential data about each country, such as country name, capital, population, area, official languages, currency information, and much more. # Features - Input Types: Accepts ISO country codes (e.g., US, GB, USA) or currency codes (e.g., USD, EUR). - Batch Processing: Supports processing multiple country or currency codes in one run. - Comprehensive Data: Retrieves extensive information about countries, including: Country name, Capital city, Official languages, Continent, International olympic committee, Federal information processing standards, Domain, Currency name, code, and symbol, Country calling code, Latitude and longitude, Fraction unit, Numeric currency code, Country flag (URL to the image), - Output Formats: Results are available in JSON. # How It Works This actor scrapes or pulls data from reliable sources to gather accurate country information based on the input codes provided. It can also fall back on APIs if necessary to ensure complete and up-to-date data. # Input The input is a JSON object containing the following fields: javascript { "codes": ["US"], } codes: An array of ISO country or currency codes (either alpha-2, alpha-3 for country codes, or currency codes). # Output The output is an array of country objects in the selected format. For example: javascript [ { "codes": [ "US", ], "info": [ { "flag": "//upload.wikimedia.org/wikipedia/en/thumb/a/a4/Flag_of_the_United_States.svg/23px-Flag_of_the_United_States.svg.png", "country": "United States", "capital": "Washington D.C.", "continent": "America", "language": "English", "alpha2Code": "US", "alpha3Code": "USA", "dialingCode": "+1", "currencyName": "United States Dollar", "currencyCode": "USD", "currencySymbol": "$", "latitude": "37.09024", "longitude": "-95.712891", "ioc": "USA", "domain": ".us", "fips": "US", "fractionalUnit": "Cent[A]", "numericCurrencyCode": "840" } ] } ] # Example Use Cases ** E-commerce platforms : Ensure valid country or currency codes for international transactions. ** Currency Exchange Systems : Validate country and currency codes. ** Travel Agencies : Display country-specific information such as capital, population, and time zones. ** Data Analysts : Use the data for demographic or geopolitical analysis. # Output Formats The output can be exported in the JSON formats: # Usage On the Apify Platform Go to the Get Countries Info By Code Scraper actor on Apify. Provide your input (country or currency codes). Run the actor and wait for it to complete. Locally via Apify CLI Install Apify CLI. Run the actor locally using the following command: bash Copy code apify run your-username/get-countries-info-by-code-scraper --input='{"codes": ["US", "GB", "EUR"]}' Input Example javascript { "codes": ["US", "GB", "EUR"] } This input will fetch the country information for the United States, United Kingdom And all countries with EUR currencies. For any issues, suggestions, or feature requests, please open an issue or contact us via Apify's support.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Get Countries Info By Code Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
dev_bodex
Pricing
Paid
Total Runs
396
Active Users
4
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support