# Worldometer Data Scraper (`parseforge/worldometer-data-scraper`) Actor

Scrapes real-time world statistics from Worldometer sections including world population, coronavirus, cars, and population by country. Returns each counter as a flat row with its name, value, and category.

- **URL**: https://apify.com/parseforge/worldometer-data-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** News, Other, AI
- **Stats:** 2 total users, 1 monthly users, 89.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $19.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### Worldometer Data Scraper

**Scrape real-time world statistics from Worldometer, from population and health to cars and COVID-19 data.** Every record returns the latest counter value, timestamp, and category in a flat, analysis-ready row. Export to CSV, JSON, Excel, or XML.

Worldometer publishes live counters for global population, government spending, health, and the environment, but the data is spread across dozens of pages and not available as a bulk download. This Actor reads the public counters directly from any section you choose and returns each one in a consistent schema, so you can track changes over time without manual copying.\n\nRun it on a schedule to build your own time-series dataset of world statistics.

| Who uses it | What they scrape Worldometer for |
|---|---|
| Data journalists | Fact-checking a live population or health statistic for a story. |
| Researchers and academics | Building a longitudinal dataset of world demographic indicators. |
| Educators | Grabbing the latest world population or CO2 emissions for a classroom dashboard. |
| NGO analysts | Monitoring public health or environmental counters for a report. |

### What it does

This Actor collects real-time counter values from Worldometer sections and returns each counter as a flat row with its name, numeric value, and category.

- 🌍 **World Population:** live world population clock, births today, deaths today, and annual growth rate.
- 🦠 **Coronavirus:** total cases, active cases, deaths, and recoveries from the COVID-19 pandemic.
- 🚗 **Cars:** cars produced this year, bicycles produced, and related automotive counters by country.
- 🗺️ **Population by country:** country-level population, yearly change, density, land area, and world share.
- 📊 **All counters:** every available counter across all sections in a single run.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Worldometer data

**📈 Build a world population time series.**

A researcher runs the World Population section daily and appends the results to a database to track the live population clock and annual growth rate over months.

**🦠 Archive COVID-19 statistics.**

A health analyst scrapes the Coronavirus section weekly to preserve the total cases, deaths, and recoveries as the pandemic counters evolve.

**🗺️ Compare country demographic indicators.**

An educator scrapes the Population by country section to get the latest population, density, and land area for every nation for a geography assignment.

**📊 Monitor multiple counters for a dashboard.**

A data journalist selects All counters and feeds the live values into a newsroom dashboard that displays world statistics in real time.

### Why choose this scraper

|  | What you get |
|---|---|
| **No API key or registration** | Reads the public Worldometer pages directly with no authentication. |
| **Scheduled time-series** | Run the Actor daily or hourly to capture changing counter values over time. |
| **Fixed flat schema** | Every counter arrives as a predictable row with a name, value, and category. |
| **Multiple export formats** | Download your dataset as CSV, JSON, Excel, or XML. |

### How it compares

This Actor covers multiple Worldometer sections with a single input selector, while the alternative focuses on population and demographic indicators.

| Feature | ParseForge | Worldometers Statistics Scraper |
|---|---|---|
| World Population section | Yes | Yes |
| Coronavirus (COVID-19) section | Yes | Not listed |
| Cars produced section | Yes | Not listed |
| Population by country section | Yes | Yes |
| All counters in one run | Yes | Not listed |
| Section selector input | Yes | Not listed |

### Configure the run

Drive the Actor by selecting a Worldometer section, and set a maximum number of records to cap the run. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "maxItems": 10
}
```

A larger pull:

```json
{
  "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.021 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $2.10 |
| 1,000 results | $21.00 |
| 10,000 results | $210.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Worldometer Data Scraper](https://apify.com/parseforge/worldometer-data-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Worldometer through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=parseforge/worldometer-data-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that the selected section has counters available. The Worldometer page structure may have changed; try running the All counters option to see which sections return data.

**The counter values look different from the website.**

Worldometer counters update continuously. A slight difference between the scraped value and the live page is expected due to the time between the HTTP request and your viewing.

**The run fails with a timeout.**

Worldometer pages can be slow to load. Increase the Actor's timeout in the run settings, or reduce the maxItems to limit the number of pages visited.

**Some counters are missing from the dataset.**

Worldometer occasionally adds or removes counters. The Actor returns whatever is present on the page at the time of the run. Try running again later.

**Can I scrape a section not listed in the dropdown?**

The Actor supports the five sections listed. If you need a different Worldometer page, contact the developer with the URL for a possible update.

### FAQ

| Question | Answer |
|---|---|
| What sections of Worldometer can I scrape? | You can scrape World Population, Coronavirus, Cars, Population by country, or all counters at once by selecting the corresponding option in the input. |
| How often is the data updated? | Worldometer counters update in real time or near-real time. Run this Actor on a schedule to capture the latest values at your desired interval. |
| Can I scrape a specific country's data? | The Population by country section returns data for all countries in one run. You can filter the resulting dataset by country name after the run completes. |
| Does this Actor require an API key? | No. It reads the public Worldometer pages directly, so no registration or API key is needed. |
| What format does the output come in? | The dataset is stored in the Apify key-value store and can be exported to CSV, JSON, Excel, or XML. |
| Can I limit how many records are collected? | Yes. Set the Maximum records field to cap the number of counters returned per run, from 1 up to 1,000,000. |
| Is historical data available? | Worldometer shows current counter values. To build historical data, run this Actor on a schedule and store each run's dataset. |
| Can I get the world population clock value? | Yes. Select the World Population section to get the current world population, births today, deaths today, and the annual growth rate. |
| Does it scrape the COVID-19 pandemic data? | Yes. The Coronavirus section returns total cases, active cases, deaths, and recoveries from the Worldometer COVID-19 page. |
| What is the maximum number of records I can collect? | You can collect up to 1,000,000 records per run, though the actual number of available counters is much smaller. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Worldometers.info. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `maxItems` (type: `integer`):

Maximum number of records to collect per run.

## `section` (type: `string`):

Worldometer section to scrape.

## Actor input object example

```json
{
  "maxItems": 10,
  "section": "all"
}
```

# Actor output Schema

## `results` (type: `string`):

Scraped Worldometer Data Scraper - World Statistics records

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/worldometer-data-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "maxItems": 10 }

# Run the Actor and wait for it to finish
run = client.actor("parseforge/worldometer-data-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxItems": 10
}' |
apify call parseforge/worldometer-data-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/worldometer-data-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/M4pIpO3THEvks1V5c/builds/pDjfnywwThcLur5Ll/openapi.json
