CIA World Factbook Country Profiles Scraper avatar

CIA World Factbook Country Profiles Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
CIA World Factbook Country Profiles Scraper

CIA World Factbook Country Profiles Scraper

Extract structured country profiles from the CIA World Factbook. Capital, government, population, GDP, languages, religions, currency, military, internet stats and more across ~260 countries.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Compute Edge

Compute Edge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

Extract clean structured country profile data from the CIA World Factbook — the U.S. Government's authoritative open-source reference on every country and dependency on Earth. This Actor reads the community-maintained JSON mirror of the Factbook and produces one record per country with the most-used fields already extracted as named columns.

The World Factbook is consulted by analysts, journalists, educators, NGOs, market-entry teams, and AI researchers building country-aware applications. Instead of parsing 260 HTML pages or wrangling deeply nested JSON, you get a flat row-per-country dataset ready for spreadsheets, dashboards, or RAG pipelines.

Key Features

  • All ~260 countries and dependencies — Africa, Asia, Europe, Americas, Oceania, plus the global "World" aggregate
  • Pre-extracted key fields — Capital, government type, population, GDP (PPP), GDP per capita, languages, religions, currency, military expenditures, internet users, and more
  • Region filter — Pull only African states, Middle East, EU, etc.
  • Country code filter — Specify exact 2-letter codes (e.g., us,uk,fr,de,jp)
  • No authentication required — Public data; no keys, cookies, or auth
  • Direct Factbook URLs — Each record links back to the canonical CIA Factbook country page

Output Data Fields

FieldDescription
countryCode2-letter Factbook country code
countryNameConventional short-form name
officialNameConventional long-form name
regionFactbook region (e.g., Europe, Middle East)
capitalCapital city
governmentTypeForm of government
independenceIndependence date and history
areaTotal land + water area
climateClimate description
naturalResourcesListed natural resources
populationTotal population (latest Factbook estimate)
languagesLanguages spoken with percentages
religionsReligious composition
lifeExpectancyLife expectancy at birth (total)
medianAgeMedian age (total)
gdpPppReal GDP at purchasing power parity
gdpPerCapitaGDP per capita
gdpGrowthReal GDP growth rate
inflationConsumer price inflation rate
unemploymentRateUnemployment rate
exportsTotal exports
importsTotal imports
currencyNational currency
internetUsersInternet user count
militaryExpendituresMilitary spending
factbookUrlLink to the canonical CIA Factbook page

How to Scrape Country Profiles

  1. Open the CIA Factbook Scraper on Apify Store
  2. (Optional) Pick a region from the dropdown to narrow the run
  3. (Optional) Enter comma-separated country codes for a custom list
  4. Click Start — clean JSON, one row per country, lands in the default dataset

Pricing

This Actor uses pay-per-result pricing. A full all-countries extract runs in a few minutes since the underlying data lives in static JSON files on a CDN.

Use Cases

  • Market entry research — Pre-screen countries by population, GDP per capita, language
  • AI / RAG country-aware assistants — Embed up-to-date country facts in a knowledge base
  • Risk analysis — Cross-reference government type and military expenditures
  • Education & journalism — Bulk-export comparable country statistics
  • Trade & supply chain — Combine with industry registries for sourcing decisions

The CIA World Factbook is a publication of the U.S. Government and the underlying data is in the public domain in the United States. This Actor reads a public, community-maintained JSON mirror of that data hosted on GitHub. No authentication is bypassed. Users are responsible for compliance with any third-party hosting terms. Data is provided "as is" without warranty.