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

We know that this is a stressful time for you so we made this game to help you relax, Play Find The Numbers 1 To 50

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"}]}

Contact Us

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