# GovData Germany Open Dataset Catalogue Search

> GovData Germany Open Dataset Catalogue Search is a paid API for AI agents from api.companyrecords-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Searches the German GovData.de open government dataset catalogue (via CKAN API) and returns metadata for matching datasets including title, publisher, licence, last modified date, resource count, and dataset link.

## Facts

- Endpoint: GET https://api.companyrecords-api.workers.dev/api/gov/govdata-germany?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/govdata-germany-open-dataset-catalogue-search-3c8f8c54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tEqRUSSQPRXjvxwSHz2ji

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability govdata-germany-open-dataset-catalogue-search-3c8f8c54
```

Example prompt: Search GovData.de for German open government datasets about 'Klimaschutz' and show me the top 5 results with their publisher, licence, and how many files each dataset has.

## When to prefer this

Choose this endpoint when you need catalogue-level metadata from the official German open government data portal (GovData.de) — titles, publishers, licences, and resource counts — rather than the actual data files themselves. Prefer this over generic web search when you specifically want structured, machine-readable metadata about German public sector datasets. It is distinct from German company registry lookups or EU-wide open data portals.

## Known failure modes

- Query string too short (under 2 characters) or too long (over 80 characters) — returns validation error
- rows parameter outside allowed range 1-10 — rejected
- No matching datasets found — returns empty datasets array with totalDatasets 0
- GovData.de CKAN API unavailable or rate-limited — upstream timeout or error response
- Non-ASCII or special characters in query may require URL encoding

## How this service works

Pay-per-call company registry, government, legal and B2B data tools for AI agents, from official registers and public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.

## Output

A JSON object containing the original query, the GovData CKAN source URL, a timestamp of when the check was performed, the total number of matching datasets in the catalogue, and an array of up to 10 dataset records each with: dataset name, title, publisher, licence, last modified date, resource count, and a direct GovData.de URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search text (German or English), 2 to 80 characters"
      },
      "rows": {
       "type": "string",
       "description": "Datasets to return, 1 to 10 (default 5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "gesundheit",
  "source": "https://ckan.govdata.de/api/3/action/package_search",
  "datasets": [
   {
    "url": "https://www.govdata.de/suche/dataset/gesundheit-krefeldeb7bb",
    "name": "gesundheit-krefeldeb7bb",
    "title": "Gesundheit Krefeld",
    "licence": "",
    "publisher": "Open.NRW",
    "lastModified": "2026-10-17",
    "resourceCount": 6
   },
   {
    "url": "https://www.govdata.de/suche/dataset/haus-der-gesundheit",
    "name": "haus-der-gesundheit",
    "title": "Haus der Gesundheit",
    "licence": "",
    "publisher": "Land Rheinland-Pfalz",
    "lastModified": "2026-10-17",
    "resourceCount": 16
   }
  ],
  "checkedAt": "2026-10-23T09:37:14.768Z",
  "totalDatasets": 2709
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/govdata-germany-open-dataset-catalogue-search-3c8f8c54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.companyrecords-api.workers.dev](https://www.zero.xyz/host/api.companyrecords-api.workers.dev/llms.txt)
