Coronavirus in the UK API
Overview
The Coronavirus in the UK API provides official UK Government data on Covid-19 cases, deaths, and vaccinations broken down by region and nation. It is free to use with no API key required, making it easy for beginners to access real government health data. Use it to build charts, monitor trends, or explore epidemiological data for England, Scotland, Wales, and Northern Ireland.
Beginner Tip
The UKHSA dashboard API supports filtering by area type (nation, region, utla, ltla) and metric — start with a broad area_type=nation query to understand the data structure before drilling down to smaller regions.
Available Data
Example Response
{
"url": "https://example.com",
"safe": true,
"threat_level": "none",
"categories": [
"clean"
],
"scan_date": "2025-01-15T10:00:00Z"
} Field Reference
count Total number of records available for the queried metric and geography. results List of data points for the requested metric, each representing a date and value. date Date of the data point in YYYY-MM-DD format. metric_value The numeric value of the metric (e.g. number of cases or deaths) for that date. geography The name of the geographic area the data applies to (e.g. England, London). Implementation Example
const url = "https://coronavirus.data.gov.uk/details/developers-guide";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Coronavirus
This Coronavirus API provides the latest global Covid-19 case counts, deaths, and recoveries aggregated from public health sources.
Covid Tracking Project
⭐ Beginner's PickThe Covid Tracking Project API provides historical US Covid-19 data including tests, hospitalizations, and deaths at the state and national level.
Covid-19
Covid-19 provides programmatic access to covid 19 spread, infection and recovery via REST API.
Covid-19
⭐ Beginner's PickThe Covid-19 API by M-Media Group provides daily case counts, deaths, and recoveries for every country in the world.
Covid-19 Datenhub
The Covid-19 Datenhub is a German ArcGIS-based platform that provides maps, datasets, and applications related to the Covid-19 pandemic.