Pandeco provides latest COVID-19 statistics as a JSON service. The statistics are refreshed daily and are available to use free of charge.
Data is provided in the below JSON format
{ // Country wise statistics as of given date "countries": [ Array { "rank": Integer, // Rank based on number of total cases as of given date for the country "country": String, // Name of the country // Total statistics as of given date, -1 if not present "total": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, // Past ranks for the country based on total number of cases "ranks": { "yesterday": Integer, // Past rank for the country based on total number of cases at the start of each given timeframe in current period "this": {"week": Integer, "month": Integer, "quarter": Integer, "year": Integer}, // Past rank for the country based on total number of cases at the end of each given timeframe in previous period "last": {"week": Integer, "month": Integer, "quarter": Integer, "year": Integer} }, // Increase in numbers as of given date compared to previous timeframe for the country "trends": { // Daily increase in numbers as of given date compared to yesterday for the country "daily": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "this": { // Increase in numbers as of given date compared to start of each given timeframe in current period for the country "week": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "month": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "quarter": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "year": {"cases": Integer,"deaths": Integer,"recoveries": Integer} }, "last": { // Increase in numbers as of given date compared to end of each given timeframe in previous period for the country "week": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "month": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "quarter": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "year": {"cases": Integer,"deaths": Integer,"recoveries": Integer} } }, // Average numbers as of given date for the country "average": { // Daily average between from start of this week to given date for the country "daily": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, // Average between start of each given timeframe in current period to given date for the country "this": { "week": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "month": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "quarter": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "year": {"cases": Integer,"deaths": Integer,"recoveries": Integer} }, // Average between end of each given timeframe in previous period to given date for the country "last": { "week": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "month": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "quarter": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "year": {"cases": Integer,"deaths": Integer,"recoveries": Integer} } } }, // Other countries in their rank as of given date {...}, ], // Worldwide statistics as of given date "worldwide": { // Total worldwide statistics as of given date, -1 if not present "total": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, // Increase in worldwide numbers as of given date compared to previous timeframe "trends": { // Daily increase in worldwide numbers as of given date compared to yesterday "daily": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "this": { // Increase in worldwide numbers as of given date compared to start of each given timeframe in current period "week": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "month": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "quarter": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "year": {"cases": Integer,"deaths": Integer,"recoveries": Integer} }, "last": { // Increase in worldwide numbers as of given date compared to end of each given timeframe in previous period "week": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "month": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "quarter": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "year": {"cases": Integer,"deaths": Integer,"recoveries": Integer} } }, // Average worldwide numbers as of given date "average": { // Daily worldwide average between from start of this week to given date "daily": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, // Worldwide average between start of each given timeframe in current period to given date "this": { "week": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "month": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "quarter": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "year": {"cases": Integer,"deaths": Integer,"recoveries": Integer} }, // Worldwide average between end of each given timeframe in previous period to given date "last": { "week": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "month": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "quarter": {"cases": Integer,"deaths": Integer,"recoveries": Integer}, "year": {"cases": Integer,"deaths": Integer,"recoveries": Integer} } } }, "asOfDate": Date, // UTC based ISO 8601 Date String YYYY-MM-DDTHH:mm:ss.sssZ "revision": Number // Revision as of given date to cache data }
Is service up? | Try Ping |
---|---|
Past date? | Try 2020-04-19 |
Problems? | Drop a comment |
Sometimes, there might be a small lag to get latest totals. Don't worry, once the data is crunched that won't happen again. | |
Statistics are courtesy of COVID-19 Wikipedia | |
Note Vaccinations data since 2021-07-15 is available as recoveries | |
Tip Historical data available since 2020-01-28 |