# DataNexusAI Energy Indicator Availability by Country

> DataNexusAI Energy Indicator Availability by Country 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-23).

Returns available Eurostat energy indicators (e.g. energy intensity) for a specified EU/EEA country by ISO2 code

## Facts

- Endpoint: GET https://api.datanexusai.org/api/v1/energy/indicator/%7Bgeo%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-energy-indicator-availability-by-country-e6a42efa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wAB0DIKpRK4W787VxtwGn

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-energy-indicator-availability-by-country-e6a42efa
```

Example prompt: What energy indicators does DataNexusAI have available for Bulgaria — specifically can I get energy intensity data for BG?

## When to prefer this

Use this endpoint when you need to programmatically discover which Eurostat energy indicators are queryable for a specific EU/EEA country before making data requests, or when building dashboards that need to know data availability by country. Prefer this over general Eurostat APIs when you want micropayment-gated, structured JSON responses with x402 USDC payment support on Base, Polygon, or Arbitrum.

## Known failure modes

- Invalid or non-EU ISO2 country code returns an error or empty indicators object
- Country has no Eurostat energy data coverage, returning available:false
- Payment not completed via x402 results in 402 Payment Required response
- Malformed geo path parameter causes 400 Bad Request
- Network timeout or upstream Eurostat source unavailable causes 5xx error

## 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 with the country's ISO2 code, the endpoint name ('energy_indicator'), a top-level availability flag, and a nested 'indicators' object listing each available energy metric (e.g. energy_intensity) with its own availability boolean. Costs $0.01 USDC per call via x402 micropayment.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "geo"
     ],
     "properties": {
      "geo": {
       "type": "string",
       "example": "BG",
       "description": "ISO2 country code"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "geo": "BG",
  "endpoint": "energy_indicator",
  "available": true,
  "indicators": {
   "energy_intensity": {
    "available": true
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-energy-indicator-availability-by-country-e6a42efa/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)
