Covid-19 Government Response API
Overview
The Covid-19 Government Response API tracks policy measures taken by governments worldwide during the pandemic, such as lockdowns, travel restrictions, and vaccination campaigns. Data is sourced from Oxford University's Blavatnik School of Government and is updated regularly. It is a great free resource for researchers, students, and developers building public health dashboards.
Beginner Tip
This dataset uses a CSV/spreadsheet format rather than a typical JSON REST API, so you may need to parse or convert the data before using it in your app.
Available Data
Example Response
{
"name": "Bohemian Rhapsody",
"artist": "Queen",
"album": "A Night at the Opera",
"duration_ms": 354000,
"popularity": 92,
"preview_url": "https://p.scdn.co/mp3-preview/..."
} Field Reference
CountryName Full name of the country for the data row. CountryCode ISO 3166-1 alpha-3 country code (e.g., USA, GBR). Date Date of the observation in YYYYMMDD format. StringencyIndex Composite index (0-100) of overall policy stringency across all tracked measures. C1_School closing Ordinal value indicating school closure policy level (0 = no measures, 3 = require closing all levels). Implementation Example
const url = "https://covidtracker.bsg.ox.ac.uk/";
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.
Coronavirus in the UK
The Coronavirus in the UK API provides official UK Government data on Covid-19 cases, deaths, and vaccinations broken down by region and nation.
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.