disease.sh Global Health Stats Scraper
parseforge/disease-sh-health-stats-scraper
BusinessDeveloper toolsAutomation
Scrapes disease.sh for COVID-19 and vaccine statistics by country, US state, continent, or global totals. Returns each region as a flat row with cases, deaths, recoveries, tests, and vaccine coverage.
- Total users
- 2
- Monthly active
- 0
- Total runs
- 111
- Bookmarked
- 0
- Rating
- Not rated yet
- Last modified
- 12 days ago
Overview
disease.sh Global Health Stats Scraper
Scrape global health statistics from disease.sh for any country, US state, continent, or worldwide totals. Each record includes cases, deaths, recoveries, tests, and vaccine coverage data. Export to CSV, JSON, Excel, or XML.
disease.sh provides open, real-time health data but querying it manually for multiple regions or time comparisons is slow. This Actor reads the public API endpoints directly, letting you pull structured COVID-19 and vaccine statistics by country, US state, continent, or global aggregate. You get a clean, flat dataset without writing a single request.
| Who uses it | What they scrape disease.sh for |
|---|---|
| Health researchers | Compare COVID-19 case trajectories across countries for academic papers. |
| Data journalists | Pull the latest state-level US data for a daily outbreak dashboard. |
| Public health analysts | Monitor vaccine coverage rates by country to identify gaps. |
| App developers | Feed a health-tracking app with fresh global totals every hour. |
What it does
This Actor collects global health statistics from disease.sh and returns each region's cases, deaths, recoveries, tests, and vaccine coverage as a flat row.
- 🌍 By country: all countries with cases, deaths, recoveries, tests, and population.
- 🇺🇸 By US state: state-level breakdowns for domestic tracking.
- 🗺️ By continent: aggregated figures for each continent.
- 📊 Global totals: worldwide confirmed cases, deaths, and recoveries in one row.
- 💉 Vaccine coverage: country-level vaccination doses, people vaccinated, and population share.
Results export to CSV, JSON, Excel, or XML, or straight from the API.
What you can do with disease.sh data
📈 Track outbreak trends.
A health researcher pulls daily country-level cases sorted by active infections to spot emerging hotspots for a weekly report.
🗞️ Power a newsroom dashboard.
A data journalist scrapes US state data every morning to update a public-facing map of COVID-19 deaths and test positivity.
💉 Audit vaccine rollouts.
A public health analyst collects vaccine coverage by country to compare doses administered against population and flag slow campaigns.
🌐 Feed a global health app.
An app developer schedules a daily run for worldwide totals and caches the result to serve a home-screen counter of confirmed cases.
Why choose this scraper
| What you get | |
|---|---|
| No API key required | Reads the open disease.sh endpoints directly with no registration. |
| Fixed flat schema | Every record follows the same structure so you can merge runs without cleaning. |
| Sort and limit | Order by cases, deaths, or country name and set a hard cap on rows per run. |
| Multiple scopes | One Actor covers countries, US states, continents, global totals, and vaccines. |
How it compares
No other Store actor targets disease.sh the same way, so the honest comparison is with the alternatives teams actually weigh.
| disease.sh Global Health Stats Scraper | Build it in-house | By hand | |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When disease.sh changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |
Configure the run
Drive the Actor by selecting a scope (countries, states, continents, global totals, or vaccine coverage), then optionally sort the results by cases, deaths, today's figures, active cases, tests, recovered, or country name, and cap the records returned. The Input tab lists every parameter.
A first run with the defaults:
{
"scope": "countries",
"maxItems": 10
}
A larger pull:
{
"scope": "countries",
"maxItems": 200
}
Pricing
Pay-per-result: $0.0403 per result collected. You pay only for the results written to your dataset.
| Results collected | Approximate cost |
|---|---|
| 100 results | $4.03 |
| 1,000 results | $40.30 |
| 10,000 results | $403.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 to collect up to 1,000,000 results per run.
Run it
- Create a free Apify account with $5 in credit.
- Open the disease.sh Global Health Stats Scraper.
- Set your inputs and any filters, then click Start.
- Export the results as CSV, Excel, JSON, or XML from the Dataset tab.
Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.
Use with AI agents (MCP)
Give an AI agent live access to disease.sh through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/disease-sh-health-stats-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 you have set a maxItems value greater than zero. Also confirm that the disease.sh API is reachable from your network; a temporary outage on their side can return an empty response.
The sort order is not what I expected.
The sort field applies only to the 'By country' and 'By US state' scopes. For other scopes, the order is fixed by the API. Make sure you selected a scope that supports sorting.
My run failed with a timeout.
The disease.sh API usually responds quickly, but network issues can cause timeouts. Increase the Actor's timeout in the run settings or retry the run after a few minutes.
Vaccine data shows zero for some countries.
Not all countries report vaccine data to the upstream sources. A zero value means either no doses have been administered or the data is unavailable for that country.
FAQ
| Question | Answer |
|---|---|
| What data source does this Actor use? | It reads the public disease.sh API, which aggregates data from Worldometer, Johns Hopkins University, and other official health sources. No API key or registration is needed. |
| Can I get historical data or only current snapshots? | The disease.sh endpoints return the latest available figures. This Actor captures the current snapshot on each run. For time series, you would need to run it on a schedule and store the results yourself. |
| How do I get data for a single country instead of all countries? | Set the scope to 'By country' and use the sort and maxItems fields to narrow the output. The Actor does not filter by a single country name directly, but you can sort alphabetically and limit records to isolate a specific nation. |
| Does this Actor include vaccine data? | Yes. Select the 'Vaccine coverage by country' scope to get doses administered, people fully vaccinated, and the percentage of the population covered for each country. |
| What format does the output come in? | The dataset is stored in the Apify key-value store and you can export it to CSV, JSON, Excel, or XML from the run console. |
| Is there a rate limit on the disease.sh API? | The disease.sh API is open and does not enforce strict rate limits for reasonable use. This Actor makes a single request per run, so you are unlikely to hit any throttling. |
| Can I scrape US state-level data? | Yes. Choose the 'By US state' scope to get COVID-19 statistics for each US state, including cases, deaths, and tests. |
| How often is the data updated on disease.sh? | disease.sh refreshes its data roughly every 10 minutes from its upstream sources. Each run of this Actor pulls the latest available snapshot at that moment. |
| Can I get continent-level aggregates? | Yes. The 'By continent' scope returns cases, deaths, recoveries, and other metrics aggregated for each continent. |
| What does the 'Global totals' scope return? | It returns a single row with the worldwide sum of confirmed cases, deaths, recoveries, active cases, and tests. |
Related actors
Browse the full ParseForge collection 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 disease.sh. 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.
Input
| Field | Type | What it does | Default |
|---|---|---|---|
| scope | string (5 options) | Which slice of disease.sh data to scrape | countries |
| sort | string (8 options) | Sort countries / states by this field | cases |
| maxItems | integer | How many records to collect per run. | 10 |
Pricing
from $30.23 per 1,000 results
| Charged for | What it is | Price each |
|---|---|---|
| result | Single result in the default dataset. | $0.03023 to $0.0403 |
Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.
API
One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.
curl -X POST "https://api.apify.com/v2/acts/parseforge~disease-sh-health-stats-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"helloWorld": 123
}' Examples
Input that runs as-is.
{
"helloWorld": 123
} Reviews
No reviews yet. Be the first.
Issues
We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.
Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.
Related scrapers
Run disease.sh Global Health Stats Scraper on Apify All scrapers
