Our site needs your support to continue it's operation and API

PayPal

Coronavirus Data API

How to use

We currently have 5 options for our free to use Coronavirus Tracker API global stats, all country stats, country stats, full timeline, country timeline You can use AJAX to call the Free thevirustracker.com API and will receive data in return. If you are using jQuery, you can use the $.ajax() function in the code and either code snippet below to get started.

Global Statistics API

You can use AJAX to call the thevirustracker.com API and will receive all of the current globally accumulated stats from Coronavirus Tracker.

$.ajax({
  url: 'https://api.thevirustracker.com/free-api?global=stats',
  dataType: 'json',
  success: function(data) {
    console.log(data);
  }
});

Global Statistics API Results (snippet)

The application will provide you with a JSON object that you can parse and apply to your application.

[{"date":"1/22/20","data":[{"countrycode":"US","countrylabel":"USA","showcountrylabelcases":"no","labelpositioncases":"","showcountrylabeldeaths":"","labelpositiondeaths":"","showcountrylabelrecovered":"no","labelpositionrecovered":"","casesoverride":"","deathsoverride":"","recoveredoverride":"","columnsonrightshouldbeemptywhennotinuseifyouenteranumberitwillalwaysshowunlessyoudeleteit":"","emergencycasesoverride":"","emergencydeathsoverride":"","totalcases":"","totaldeaths":"","totalrecovered":""}]

All Country Statistics API

You can use AJAX to call the thevirustracker.com API and will receive all of the current accumulated stats from Coronavirus Tracker for all of our indexed Country's.

$.ajax({
  url: 'https://api.thevirustracker.com/free-api?countryTotals=ALL',
  dataType: 'json',
  success: function(data) {
    console.log(data);
  }
});

All Country Statistics API Results (snippet)

The application will provide you with a JSON object that you can parse and apply to your application.

{"sitedata":[{"info":{"source":"https://thevirustracker.com/"}}], "countryitems":[{"1":{"ourid":1, "title":"Afghanistan", "code":"AF", "source":"https://thevirustracker.com/afghanistan-coronavirus-information-af", "total_cases":94, "total_recovered":2, "total_unresolved":0, "total_deaths":4, "total_new_cases_today":0, "total_new_deaths_today":0, "total_active_cases":88, "total_serious_cases":0},"stat":"ok"}]}

Country Statistics API

You can use AJAX to call the thevirustracker.com API and will receive all of the current accumulated stats from Coronavirus Tracker for a specified Country. The full country code list is here.

$.ajax({
  url: 'https://api.thevirustracker.com/free-api?countryTotal=US',
  dataType: 'json',
  success: function(data) {
    console.log(data);
  }
});

Country Statistics API Results (snippet)

The application will provide you with a JSON object that you can parse and apply to your application.

{"countrydata":[{"info":{"ourid":167, "title":"USA", "code":"US", "source":"https://thevirustracker.com/usa-coronavirus-information-us"}, "total_cases":2340, "total_recovered":41, "total_unresolved":0, "total_deaths":50, "total_new_cases_today":93, "total_new_deaths_today":1, "total_active_cases":2249, "total_serius_cases":10}], "countrynewsitems":[{"1":{"newsid":2150, "title":"Coronavirus USA Update: Second US Death Confirmed New York Reports First Case", "image":"https://thevirustracker.com/news-images//coronavirus-usa-update-second-us-death-confirmed-new-york-reports-first-case-lvhcYw.jpg", "time":"2 March 2020 14:23", "url":"https://thevirustracker.com/story/coronavirus-usa-update-second-us-death-confirmed-new-york-reports-first-case-lvhcYw"},"stat":"ok"}]}

Full Timeline API

You can use AJAX to call the Free thevirustracker.com API and will receive all of the timeline data from the Coronavirus Tracker.

$.ajax({
  url: 'https://thevirustracker.com/timeline/map-data.json',
  dataType: 'json',
  success: function(data) {
    console.log(data);
  }
});

Country Timeline API

You can use AJAX to call the thevirustracker.com API and will receive all of the data for a specific Country from Coronavirus Tracker.

US, GB. IT, ES, IN, CH the full country code list is here.

$.ajax({
  url: 'https://api.thevirustracker.com/free-api?countryTimeline=US',
  dataType: 'json',
  success: function(data) {
    console.log(data);
  }
});

Country Stats API Results (snippet)

The application will provide you with a JSON object that you can parse and apply to your application.

{"countrytimelinedata":[{"info":{"ourid":167, "title":"USA", "code":"US", "source":"https://thevirustracker.com/usa-coronavirus-information-us"}}],"timelineitems":[{"1/23/2020":{"new_daily_cases":1,"new_daily_deaths":0,"total_cases":1,"total_recoveries":0,"total_deaths":0},"1/24/2020":{"new_daily_cases":1,"new_daily_deaths":0,"total_cases":2,"total_recoveries":0,"total_deaths":0},"1/25/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":2,"total_recoveries":0,"total_deaths":0},"1/26/2020":{"new_daily_cases":3,"new_daily_deaths":0,"total_cases":5,"total_recoveries":0,"total_deaths":0},"1/27/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":5,"total_recoveries":0,"total_deaths":0},"1/28/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":5,"total_recoveries":0,"total_deaths":0},"1/29/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":5,"total_recoveries":0,"total_deaths":0},"1/30/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":5,"total_recoveries":0,"total_deaths":0},"1/31/2020":{"new_daily_cases":2,"new_daily_deaths":0,"total_cases":7,"total_recoveries":0,"total_deaths":0},"2/1/2020":{"new_daily_cases":1,"new_daily_deaths":0,"total_cases":8,"total_recoveries":0,"total_deaths":0},"2/2/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":8,"total_recoveries":0,"total_deaths":0},"2/3/2020":{"new_daily_cases":3,"new_daily_deaths":0,"total_cases":11,"total_recoveries":0,"total_deaths":0},"2/4/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":11,"total_recoveries":0,"total_deaths":0},"2/5/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":11,"total_recoveries":0,"total_deaths":0},"2/6/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":11,"total_recoveries":0,"total_deaths":0},"2/7/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":11,"total_recoveries":0,"total_deaths":0},"2/8/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":11,"total_recoveries":0,"total_deaths":0},"2/9/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":11,"total_recoveries":3,"total_deaths":0},"2/10/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":11,"total_recoveries":3,"total_deaths":0},"2/11/2020":{"new_daily_cases":1,"new_daily_deaths":0,"total_cases":12,"total_recoveries":3,"total_deaths":0},"2/12/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":12,"total_recoveries":3,"total_deaths":0},"2/13/2020":{"new_daily_cases":1,"new_daily_deaths":0,"total_cases":13,"total_recoveries":3,"total_deaths":0},"2/14/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":13,"total_recoveries":3,"total_deaths":0},"2/15/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":13,"total_recoveries":3,"total_deaths":0},"2/16/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":13,"total_recoveries":3,"total_deaths":0},"2/17/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":13,"total_recoveries":3,"total_deaths":0},"2/18/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":13,"total_recoveries":3,"total_deaths":0},"2/19/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":13,"total_recoveries":3,"total_deaths":0},"2/20/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":13,"total_recoveries":3,"total_deaths":0},"2/21/2020":{"new_daily_cases":2,"new_daily_deaths":0,"total_cases":15,"total_recoveries":5,"total_deaths":0},"2/22/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":15,"total_recoveries":5,"total_deaths":0},"2/23/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":15,"total_recoveries":5,"total_deaths":0},"2/24/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":15,"total_recoveries":5,"total_deaths":0},"2/25/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":15,"total_recoveries":6,"total_deaths":0},"2/26/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":15,"total_recoveries":6,"total_deaths":0},"2/27/2020":{"new_daily_cases":1,"new_daily_deaths":0,"total_cases":16,"total_recoveries":6,"total_deaths":0},"2/28/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":16,"total_recoveries":7,"total_deaths":0},"2/29/2020":{"new_daily_cases":8,"new_daily_deaths":1,"total_cases":24,"total_recoveries":7,"total_deaths":1},"3/1/2020":{"new_daily_cases":6,"new_daily_deaths":0,"total_cases":30,"total_recoveries":7,"total_deaths":1},"3/2/2020":{"new_daily_cases":23,"new_daily_deaths":5,"total_cases":53,"total_recoveries":7,"total_deaths":6},"3/3/2020":{"new_daily_cases":20,"new_daily_deaths":1,"total_cases":73,"total_recoveries":7,"total_deaths":7},"3/4/2020":{"new_daily_cases":31,"new_daily_deaths":4,"total_cases":104,"total_recoveries":7,"total_deaths":11},"3/5/2020":{"new_daily_cases":68,"new_daily_deaths":1,"total_cases":172,"total_recoveries":7,"total_deaths":12},"3/6/2020":{"new_daily_cases":45,"new_daily_deaths":2,"total_cases":217,"total_recoveries":7,"total_deaths":14},"3/7/2020":{"new_daily_cases":140,"new_daily_deaths":3,"total_cases":357,"total_recoveries":7,"total_deaths":17},"3/8/2020":{"new_daily_cases":116,"new_daily_deaths":4,"total_cases":473,"total_recoveries":7,"total_deaths":21},"3/9/2020":{"new_daily_cases":65,"new_daily_deaths":1,"total_cases":538,"total_recoveries":7,"total_deaths":22},"3/10/2020":{"new_daily_cases":375,"new_daily_deaths":6,"total_cases":913,"total_recoveries":8,"total_deaths":28},"3/11/2020":{"new_daily_cases":322,"new_daily_deaths":8,"total_cases":1235,"total_recoveries":8,"total_deaths":36},"3/12/2020":{"new_daily_cases":382,"new_daily_deaths":4,"total_cases":1617,"total_recoveries":12,"total_deaths":40},"3/13/2020":{"new_daily_cases":516,"new_daily_deaths":7,"total_cases":2133,"total_recoveries":12,"total_deaths":47},"3/14/2020":{"new_daily_cases":0,"new_daily_deaths":0,"total_cases":2133,"total_recoveries":12,"total_deaths":47},"stat":"ok"}]}
Counry Title Country Statistics Code Country Timeline Code
AF Afghanistan AF StatsAF Timeline
AL Albania AL StatsAL Timeline
DZ Algeria DZ StatsDZ Timeline
AO Angola AO StatsAO Timeline
AR Argentina AR StatsAR Timeline
AM Armenia AM StatsAM Timeline
AU Australia AU StatsAU Timeline
AT Austria AT StatsAT Timeline
AZ Azerbaijan AZ StatsAZ Timeline
BS Bahamas BS StatsBS Timeline
BD Bangladesh BD StatsBD Timeline
BY Belarus BY StatsBY Timeline
BE Belgium BE StatsBE Timeline
BZ Belize BZ StatsBZ Timeline
BJ Benin BJ StatsBJ Timeline
BT Bhutan BT StatsBT Timeline
BO Bolivia BO StatsBO Timeline
BA Bosnia and Herzegovina BA StatsBA Timeline
BW Botswana BW StatsBW Timeline
BR Brazil BR StatsBR Timeline
BN Brunei Darussalam BN StatsBN Timeline
BG Bulgaria BG StatsBG Timeline
BF Burkina Faso BF StatsBF Timeline
BI Burundi BI StatsBI Timeline
KH Cambodia KH StatsKH Timeline
CM Cameroon CM StatsCM Timeline
CA Canada CA StatsCA Timeline
CI Ivory Coast CI StatsCI Timeline
CF Central African Republic CF StatsCF Timeline
TD Chad TD StatsTD Timeline
CL Chile CL StatsCL Timeline
CN China CN StatsCN Timeline
CO Colombia CO StatsCO Timeline
CG Congo CG StatsCG Timeline
CD Democratic Republic of Congo CD StatsCD Timeline
CR Costa Rica CR StatsCR Timeline
HR Croatia HR StatsHR Timeline
CU Cuba CU StatsCU Timeline
CY Cyprus CY StatsCY Timeline
CZ Czechia CZ StatsCZ Timeline
DK Denmark DK StatsDK Timeline
DP Diamond Princess DP StatsDP Timeline
DJ Djibouti DJ StatsDJ Timeline
DO Dominican Republic DO StatsDO Timeline
CD DR Congo CD StatsCD Timeline
EC Ecuador EC StatsEC Timeline
EG Egypt EG StatsEG Timeline
SV El Salvador SV StatsSV Timeline
GQ Equatorial Guinea GQ StatsGQ Timeline
ER Eritrea ER StatsER Timeline
EE Estonia EE StatsEE Timeline
ET Ethiopia ET StatsET Timeline
FK Falkland Islands FK StatsFK Timeline
FJ Fiji FJ StatsFJ Timeline
FI Finland FI StatsFI Timeline
FR France FR StatsFR Timeline
GF French Guiana GF StatsGF Timeline
TF French Southern Territories TF StatsTF Timeline
GA Gabon GA StatsGA Timeline
GM Gambia GM StatsGM Timeline
GE Georgia GE StatsGE Timeline
DE Germany DE StatsDE Timeline
GH Ghana GH StatsGH Timeline
GR Greece GR StatsGR Timeline
GL Greenland GL StatsGL Timeline
GT Guatemala GT StatsGT Timeline
GN Guinea GN StatsGN Timeline
GW Guinea-Bissau GW StatsGW Timeline
GY Guyana GY StatsGY Timeline
HT Haiti HT StatsHT Timeline
HN Honduras HN StatsHN Timeline
HK Hong Kong HK StatsHK Timeline
HU Hungary HU StatsHU Timeline
IS Iceland IS StatsIS Timeline
IN India IN StatsIN Timeline
ID Indonesia ID StatsID Timeline
IR Iran IR StatsIR Timeline
IQ Iraq IQ StatsIQ Timeline
IE Ireland IE StatsIE Timeline
IL Israel IL StatsIL Timeline
IT Italy IT StatsIT Timeline
JM Jamaica JM StatsJM Timeline
JP Japan JP StatsJP Timeline
JO Jordan JO StatsJO Timeline
KZ Kazakhstan KZ StatsKZ Timeline
KE Kenya KE StatsKE Timeline
KP Korea KP StatsKP Timeline
XK Kosovo XK StatsXK Timeline
KW Kuwait KW StatsKW Timeline
KG Kyrgyzstan KG StatsKG Timeline
LA Lao LA StatsLA Timeline
LV Latvia LV StatsLV Timeline
LB Lebanon LB StatsLB Timeline
LS Lesotho LS StatsLS Timeline
LR Liberia LR StatsLR Timeline
LY Libya LY StatsLY Timeline
LT Lithuania LT StatsLT Timeline
LU Luxembourg LU StatsLU Timeline
MK Macedonia MK StatsMK Timeline
MG Madagascar MG StatsMG Timeline
MW Malawi MW StatsMW Timeline
MY Malaysia MY StatsMY Timeline
ML Mali ML StatsML Timeline
MR Mauritania MR StatsMR Timeline
MX Mexico MX StatsMX Timeline
MD Moldova MD StatsMD Timeline
MN Mongolia MN StatsMN Timeline
ME Montenegro ME StatsME Timeline
MA Morocco MA StatsMA Timeline
MZ Mozambique MZ StatsMZ Timeline
MM Myanmar MM StatsMM Timeline
NA Namibia NA StatsNA Timeline
NP Nepal NP StatsNP Timeline
NL Netherlands NL StatsNL Timeline
NC New Caledonia NC StatsNC Timeline
NZ New Zealand NZ StatsNZ Timeline
NI Nicaragua NI StatsNI Timeline
NE Niger NE StatsNE Timeline
NG Nigeria NG StatsNG Timeline
KP North Korea KP StatsKP Timeline
NO Norway NO StatsNO Timeline
OM Oman OM StatsOM Timeline
PK Pakistan PK StatsPK Timeline
PS Palestine PS StatsPS Timeline
PA Panama PA StatsPA Timeline
PG Papua New Guinea PG StatsPG Timeline
PY Paraguay PY StatsPY Timeline
PE Peru PE StatsPE Timeline
PH Philippines PH StatsPH Timeline
PL Poland PL StatsPL Timeline
PT Portugal PT StatsPT Timeline
PR Puerto Rico PR StatsPR Timeline
QA Qatar QA StatsQA Timeline
XK Republic of Kosovo XK StatsXK Timeline
RO Romania RO StatsRO Timeline
RU Russia RU StatsRU Timeline
RW Rwanda RW StatsRW Timeline
SA Saudi Arabia SA StatsSA Timeline
SN Senegal SN StatsSN Timeline
RS Serbia RS StatsRS Timeline
SL Sierra Leone SL StatsSL Timeline
SG Singapore SG StatsSG Timeline
SK Slovakia SK StatsSK Timeline
SI Slovenia SI StatsSI Timeline
SB Solomon Islands SB StatsSB Timeline
SO Somalia SO StatsSO Timeline
ZA South Africa ZA StatsZA Timeline
KR South Korea KR StatsKR Timeline
SS South Sudan SS StatsSS Timeline
ES Spain ES StatsES Timeline
LK Sri Lanka LK StatsLK Timeline
SD Sudan SD StatsSD Timeline
SR Suriname SR StatsSR Timeline
SJ Svalbard and Jan Mayen SJ StatsSJ Timeline
SZ Swaziland SZ StatsSZ Timeline
SE Sweden SE StatsSE Timeline
CH Switzerland CH StatsCH Timeline
SY Syrian Arab Republic SY StatsSY Timeline
TW Taiwan TW StatsTW Timeline
TJ Tajikistan TJ StatsTJ Timeline
TZ Tanzania TZ StatsTZ Timeline
TH Thailand TH StatsTH Timeline
TL Timor-Leste TL StatsTL Timeline
TG Togo TG StatsTG Timeline
TT Trinidad and Tobago TT StatsTT Timeline
TN Tunisia TN StatsTN Timeline
TR Turkey TR StatsTR Timeline
TM Turkmenistan TM StatsTM Timeline
AE UAE AE StatsAE Timeline
UG Uganda UG StatsUG Timeline
GB United Kingdom GB StatsGB Timeline
UA Ukraine UA StatsUA Timeline
US USA US StatsUS Timeline
UY Uruguay UY StatsUY Timeline
UZ Uzbekistan UZ StatsUZ Timeline
VU Vanuatu VU StatsVU Timeline
VE Venezuela VE StatsVE Timeline
VN Vietnam VN StatsVN Timeline
EH Western Sahara EH StatsEH Timeline
YE Yemen YE StatsYE Timeline
ZM Zambia ZM StatsZM Timeline
ZW Zimbabwe ZW StatsZW Timeline

Contact Us

If you have any questions or issues about this API, please contact us:


Wiki - by TheVirusTracker - TheVirusTracker Facebook - Build a Tracker - Privacy Policy - Terms of Service
top