# Eurostat Dataset API (x402)

> Eurostat Dataset API (x402) is a paid API for AI agents from x402-v2-mint-eurostat-dataset.vercel.app, paid per call via x402, $0.020134/call, status unknown (last checked 2026-12-03).

Retrieves Eurostat official EU statistics datasets by dataset code, optional geographic filter, and optional time period, charged per call via x402 micropayment.

## Facts

- Endpoint: POST https://x402-v2-mint-eurostat-dataset.vercel.app/v1/eurostat-dataset?utm_source=zero.xyz
- Price: $0.020134/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eurostat-dataset-api-x402-afb68015
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DigEvc8agaZl4MCzUpgzt

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 eurostat-dataset-api-x402-afb68015 -d '<json body>'
```

Example prompt: Can you pull the Eurostat dataset 'une_rt_m' for Germany (DE) for the time period 2023M01 so I can see the latest monthly unemployment figures?

## When to prefer this

Choose this endpoint when you need official, authoritative EU statistical data from Eurostat without requiring an API key. It is ideal for agents that need programmatic, pay-per-call access to EU government statistics (economics, demographics, energy, health, trade) and want to avoid managing Eurostat API credentials. Prefer it over manual Eurostat portal access or general web search when structured, machine-readable statistical data is required.

## Known failure modes

- Empty or missing dataset code returns HTTP 400 and no charge is applied
- Invalid dataset code returns an error without charge
- Unsupported geo or time format may return 400
- Dataset not available for the requested combination of geo/time returns an error
- Network or Vercel cold-start timeout may cause occasional failures

## How this service works

Eurostat dissemination statistics (keyless). POST {dataset}/{geo?}/{time?}. Empty -> 400 not charged. New EU official-stats vertical — disclose dataeuropa/oecd/worldbank adjacency.

## Output

Returns a JSON object confirming the call was charged (charged: true), a skill identifier, and a summary field. The actual Eurostat dataset statistics are delivered as structured data corresponding to the queried dataset code, geographic region, and time period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "geo": {
   "type": "string",
   "maxLength": 12
  },
  "lang": {
   "type": "string",
   "maxLength": 8
  },
  "time": {
   "type": "string",
   "maxLength": 12
  },
  "dataset": {
   "type": "string",
   "maxLength": 80
  },
  "request_id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "skill": "eurostat-dataset",
  "charged": true,
  "summary": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eurostat-dataset-api-x402-afb68015/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-v2-mint-eurostat-dataset.vercel.app](https://www.zero.xyz/host/x402-v2-mint-eurostat-dataset.vercel.app/llms.txt)
