Covid-19 API (V1)
This API is now deprecated and is no longer updated nor maintained, use this API at your own risk of it breaking.
If you are wanting to have a COVID-19 data page, this API will certainly help. To start off, you need to add this PHP code.
Now to get the chosen bit of data you can use any of these bits of code:
Covid-19 World Data Stats
If you are wanting to get the COVID-19 data from around the world, you can do it the same as the UK Data, just with other tags:
Covid-19 Information Stats
Instead of the scary numbers, you can get advice on how to stay safe:
Covid-19 Testing Stats
If you would like to get information, such as how many people are tested, you can do this code:
API Credit
This is optional, but we want to give this API to everyone, so we would really like it if you used this bit of code, as it tells users where the data came from:
Last updated