# DataNexusAI Eurostat Energy Series

> DataNexusAI Eurostat Energy Series is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Retrieves time-series energy statistics from Eurostat datasets for a specified EU/EEA country, with optional frequency, unit, and period filters.

## Facts

- Endpoint: GET https://api.datanexusai.org/api/v1/energy/series?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-eurostat-energy-series-51fd9e96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PjsHuAQkuNhTREibQwRe8

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 datanexusai-eurostat-energy-series-51fd9e96
```

Example prompt: Can you pull the Eurostat energy intensity dataset nrg_ind_ei for Bulgaria, annual frequency, in KGOE_TEUR units, from 2010 to 2024?

## When to prefer this

Use this endpoint when you need structured, machine-readable Eurostat energy time-series data for EU/EEA countries — particularly energy intensity, efficiency, balance, or ETS indicators — with flexible filtering by country, period, unit, and frequency. Prefer it over scraping Eurostat's web interface or bulk downloads when you need a targeted, programmatic slice of data per country or dataset.

## Known failure modes

- Invalid or unsupported dataset_id returns an error or empty result
- Unsupported ISO2 country code returns no observations
- Invalid frequency or unit filter silently returns 0 observations
- period_from/period_to out of available data range returns empty observations array
- Payment failure via x402 if USDC balance is insufficient
- limit exceeding 2000 is rejected or capped

## How this service works

Public data API for SEBRA payments, PTP road accidents, EU agri-food prices, Eurostat energy (+ ETS), and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). HTML docs at `/api/` are free and are intentionally omitted from this OpenAPI document so discovery scanners do not probe them as paid resources.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

Returns a JSON object containing the queried country code, dataset ID, total observation count, and an array of time-period/value pairs (e.g. [{"time_period": "2020", "obs_value": 180.5}]), filtered by the specified frequency, unit, and period bounds.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "dataset_id",
      "geo"
     ],
     "properties": {
      "geo": {
       "type": "string",
       "example": "BG",
       "description": "ISO2 country code"
      },
      "freq": {
       "type": "string",
       "example": "A",
       "description": "Frequency filter (A/Q/M)"
      },
      "unit": {
       "type": "string",
       "example": "KGOE_TEUR",
       "description": "Unit filter"
      },
      "limit": {
       "type": "integer",
       "example": 100,
       "description": "Max points (default 200, max 2000)."
      },
      "period_to": {
       "type": "string",
       "example": "2024",
       "description": "Inclusive period upper bound"
      },
      "dataset_id": {
       "type": "string",
       "example": "nrg_ind_ei",
       "description": "Eurostat dataset id"
      },
      "period_from": {
       "type": "string",
       "example": "2010",
       "description": "Inclusive period lower bound"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "geo": "BG",
  "count": 1,
  "endpoint": "energy_series",
  "dataset_id": "nrg_ind_ei",
  "observations": [
   {
    "obs_value": 180.5,
    "time_period": "2020"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-eurostat-energy-series-51fd9e96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
