Classic theme

<iframe src="https://covid-19.dataflowkit.com/assets/widget/covid-19.html" 
	frameborder="0" scrolling="no"
	width="250" height="250">
</iframe>

Light theme

<iframe src="https://covid-19.dataflowkit.com/assets/widget/c19-widget-light.html" 
	frameborder="0" scrolling="no"
	width="400" height="250">
</iframe>

Dark theme

<iframe src="https://covid-19.dataflowkit.com/assets/widget/c19-widget-dark.html" 
frameborder="0" scrolling="no"
width="400" height="250">
</iframe>
<iframe src="https://covid-19.dataflowkit.com/assets/widget/c19-top-widget.html"
width="800" height="540" frameborder="0"></iframe>
<iframe src="https://covid-19.dataflowkit.com/assets/widget/c19-top-widget-light.html"
width="800" height="540" frameborder="0"></iframe>
<iframe src="https://covid-19.dataflowkit.com/assets/widget/c19-top-widget-dark.html"
width="800" height="540" frameborder="0"></iframe>

Copy the code of the desired widget and paste it to your web site.

Adjust the width and height of the iFrame provided to fit within your site.

After placing a widget on a website, it shows live statistics local to a visitor depending on one's location automatically.

A free API for data on the Coronavirus (COVID-19)

Access live statistics data through the DFK COVID-19 API for free.

Build widgets, mobile apps, or integrate into other applications.

API Endpoints

GET /v1 - List ALL COVID-19 cases per country.

  • If no {country} parameter specified the full dataset will be returned.

GET /v1/{contry} - Return COVID-19 cases for specified country.

  • Specify {contry} parameter to extract results for this country only.
  • To extract summary results for the whole world put "world" value as {country} parameter.

Response

[
	{
	   "Active Cases_text":"1,567,323",
	   "Country_text":"World",
	   "Last Update":"2020-04-18 21:18",
	   "New Cases_text":"+73,499",
	   "New Deaths_text":"+5,523",
	   "Total Cases_text":"2,322,362",
	   "Total Deaths_text":"159,668",
	   "Total Recovered_text":"595,371"
	},
	{
	   "Active Cases_text":"658,930",
	   "Country_text":"Europe",
	   "New Cases_text":"+27,607",
	   "New Deaths_text":"+2,964",
	   "Total Cases_text":"1,056,821",
	   "Total Deaths_text":"99,192",
	   "Total Recovered_text":"298,699"
	},
	{
	   "Active Cases_text":"664,104",
	   "Country_text":"North America",
	   "New Cases_text":"+27,586",
	   "New Deaths_text":"+1,876",
	   "Total Cases_text":"787,341",
	   "Total Deaths_text":"41,298",
	   "Total Recovered_text":"81,939"
	},
	"...",
	{
	   "Last Update":"2020-04-18 21:18"
	}
 ]

Response

{
	"Active Cases_text":"1,568,631",
	"Country_text":"World",
	"Last Update":"2020-04-18 22:18",
	"New Cases_text":"+74,896",
	"New Deaths_text":"+5,602",
	"Total Cases_text":"2,323,759",
	"Total Deaths_text":"159,747",
	"Total Recovered_text":"595,381"
 }

Examples

Data source

Worldometers