With this endpoint, you can retrieve the history of a specific region affected by the coronavirus


Request

uri: "<https://coronavirus.app/get-history?id=placeID>"
method: "GET",
headers: {
	'authorization': 'Bearer apiKey' ,
	'content-type': 'application/json',	
}

<aside> 💡 You can get an API key here.

</aside>

<aside> 💡 Use the /get-places endpoint to retrieve a list of all available placeID

</aside>


Example response

{"data":
	{
		"id":"qpAxVz0garcS0gNZxtOw",
		"country":"BE",
		"name":"Belgium",
		"latitude":"50.503887",
		"longitude":"4.469936",		
		"lastUpdated":"2020-03-03T08:50:59.223Z",
		"pop": "16250000",
		"history":[
				{"day":"20200303","infected":"8","dead":"0","recovered":"1","sick":"7", "vaccinated": "2"},
				{"day":"20200302","infected":"8","dead":"0","recovered":"1","sick":"7", "vaccinated": "1"},
				{"day":"20200301","infected":"2","dead":"0","recovered":"1","sick":"1", "vaccinated": "0"},
				...
				{"day":"20200126","infected":"1","dead":"0","recovered":"0","sick":"1", "vaccinated": "0"}
		]
	}
}

Learn more

About the place object