Covid-19 Datenhub API

Free to Use Varies (check documentation)

Overview

The Covid-19 Datenhub is a German ArcGIS-based platform that provides maps, datasets, and applications related to the Covid-19 pandemic. It is free to access and does not require authentication for basic data queries. You can use it to retrieve geospatial Covid-19 data for analysis, mapping projects, or research applications.

💡

Beginner Tip

This platform uses the ArcGIS REST API format — to query datasets, append /query?where=1%3D1&outFields=*&f=json to any feature layer URL to retrieve records in JSON format.

Available Data

case counts and statistics
vaccination data
geographic breakdown
historical trend data

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Covid-19 Datenhub",
    "description": "Maps, datasets, applications and more in the context of COVID-19",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

features Array of geographic features, each containing attributes and optional geometry data.
attributes Key-value pairs of data fields for each feature record.
Bundesland German federal state (Bundesland) the record belongs to.
AnzahlFall Number of confirmed Covid-19 cases for the record.
AnzahlTodesfall Number of Covid-19 deaths for the record.
Meldedatum Reporting date of the case data in ISO 8601 format.

Implementation Example

const url = "https://npgeo-corona-npgeo-de.hub.arcgis.com/";
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

Error parsing response or unexpected HTML You may have requested the base URL without proper ArcGIS REST API parameters.
Always append query parameters like ?where=1=1&f=json to feature layer URLs; the base hub URL returns an HTML page.
exceededTransferLimit in response The query returned more records than the server allows in a single response.
Use the resultOffset and resultRecordCount parameters to paginate through results in smaller batches.
Slow or timeout response Querying all fields across the full dataset without filters is resource-intensive.
Add a where clause to filter by date or region, and specify only needed fields using the outFields parameter.

Matrix Score Breakdown

🌐 Reachability 0/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 254ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Health
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →