Overview
LAPIS (Lightweight API for Sequences) provides open access to SARS-CoV-2 genomic sequence data collected from public databases worldwide. It lets you query, filter, and aggregate thousands of viral genome sequences without any authentication. This is ideal for researchers and developers building COVID-19 genomic surveillance tools.
Beginner Tip
Use the /sample/aggregated endpoint with simple filters like country or date to explore the data before diving into raw sequence queries.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from LAPIS",
"description": "SARS-CoV-2 genomic sequences from public sources",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
count Number of sequences matching the query filters. date Sample collection date in YYYY-MM-DD format. country Country where the sample was collected. pangoLineage Pango lineage designation of the viral variant (e.g., BA.2, XBB.1.5). division Sub-national region or state where the sample was collected. Implementation Example
const url = "https://cov-spectrum.ethz.ch/public";
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.