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
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded 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
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
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
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
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
⭐ Beginner's PickThe Covid-19 API by M-Media Group provides daily case counts, deaths, and recoveries for every country in the world.
Infermedica
Infermedica is an AI-powered health API that analyzes symptom descriptions in plain text and suggests possible conditions or next steps.