Open Government, Germany API

Free to Use Varies (check documentation)
85 A
Measured Score 0 50 100 Reachability 30/30 Speed 5/20 Security 15/15 Developer XP 20/20 Reliability 15/15 TESTED 2026-07-23

Overview

The Open Government Germany API (GovData) gives you free access to thousands of German government datasets including statistics, geographic data, and public records. No API key is needed — you can start querying right away using standard HTTP requests. It is a great starting point for exploring European open data and building civic or research applications.

Beginner Tip

Use the CKAN-compatible API endpoint at https://www.govdata.de/ckan/api/3/action/package_search to search datasets by keyword — for example, append ?q=umwelt to find environmental datasets. The response is standard JSON, so any HTTP library will work.

Available Data

Use case: Integrate germany government open data data into web and mobile applications
Open Government, Germany data via REST API

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Open Government, Germany",
    "description": "Germany Government Open Data",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

success Indicates whether the API call succeeded
result.count Total number of datasets matching the search query
result.results List of matching dataset objects
result.results[].id Unique identifier for the dataset
result.results[].title Human-readable title of the dataset
result.results[].resources Downloadable files or API endpoints associated with the dataset

Implementation Example

Request
const url = "https://www.govdata.de/daten/-/details/govdata-metadatenkatalog";
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

Empty results array Search query uses German umlauts that are not URL-encoded
URL-encode special characters (e.g., ü → %C3%BC) or use ASCII-equivalent search terms
404 Not Found on dataset URL Dataset has been removed or its identifier has changed
Search via package_search first and use the returned id field to construct the correct resource URL
Response is HTML instead of JSON Requesting the portal homepage URL instead of the CKAN API endpoint
Use https://www.govdata.de/ckan/api/3/action/ as the base URL for all API calls

Measured Score Breakdown

Live HTTP request to the API endpoint

Reachability 30/30
Speed 5/20
Security 15/15
Developer XP 20/20
Reliability 15/15
Endpoint Response Time 1092ms

Fully tested on Jul 23, 2026

Technical Specifications

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

Similar APIs

View All →