# Maxwell x402 — GovData Germany Open Data Search

> Maxwell x402 — GovData Germany Open Data Search is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Search Germany's GovData open data portal by keyword or fetch a single dataset by ID, returning title, organization, last modified date, resource count, and total match count.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/gov/de/open-data?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-x402-govdata-germany-open-data-search-a9ce68d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wUA_yPT5QUFaAClt2IH5z

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 maxwell-x402-govdata-germany-open-data-search-a9ce68d7
```

Example prompt: Search Germany's GovData open data portal for datasets about Umwelt (environment) and show me the top results with their publishing organization and how recently they were updated.

## When to prefer this

Use this endpoint when you need to discover or retrieve metadata about publicly available German government datasets from GovData (govdata.de). It is specifically suited for searching Germany's national open data catalog as opposed to EU-wide, Austrian, UK, or Czech portals available on the same provider. Prefer this over direct CKAN API calls when you want a simple, paid-per-call interface without managing authentication or API keys.

## Known failure modes

- No datasets found for keyword — returns empty items array with totalCount 0
- Invalid dataset ID — may return 404 or empty result
- GovData CKAN upstream unavailable — may return error or timeout
- Missing required query parameters — returns validation error
- Rate limiting or payment failure — HTTP 402 response requiring payment

## How this service works

Search Germany's open data portal GovData by keyword, or fetch one dataset by id: title, publishing organization, last modified date, resource count and total match count.

## Output

Returns a JSON object with ok status, cache indicator (search-hit or miss), the query string, total match count, fetch timestamp, data source (govdata-ckan), and an array of matched dataset items each containing id, name, title, last modified datetime, packageId, publishing organization name, and resource count.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "cache": "search-hit",
  "count": 5,
  "items": [
   {
    "id": "umwelt-daten",
    "name": "umwelt-daten",
    "title": "Umwelt-Daten",
    "modified": "2026-04-16T00:27:51.420592",
    "packageId": "6e4ee741-d38a-4fe8-95c3-410fb7720691",
    "organization": "Open Data Baden-Wurttemberg",
    "resourceCount": 2
   }
  ],
  "query": "umwelt",
  "source": "govdata-ckan",
  "fetchedAt": "2026-09-29T12:38:10.224Z",
  "totalCount": 25963
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-x402-govdata-germany-open-data-search-a9ce68d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
