# DataNexusAI Energy Dependency Analytics

> DataNexusAI Energy Dependency Analytics 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-01).

Returns energy dependency analytics data for a given country or region code

## Facts

- Endpoint: GET https://api.datanexusai.org/api/analytics/energy-dependency/%7Bcode%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-energy-dependency-analytics-273ab1d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q0lC7TP7BH_ap6secq1Wj

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-dependency-analytics-273ab1d3
```

Example prompt: What are the energy dependency analytics for Germany — can you pull the current metrics showing how reliant the country is on energy imports?

## When to prefer this

Choose this endpoint when you need quantitative energy dependency analytics for a specific country or region, particularly for trade analytics, policy research, or energy security assessments. It is especially useful when you need structured machine-readable data payable via USDC micropayments rather than scraping reports or using subscription-based data providers.

## Known failure modes

- Invalid or unsupported country/region code returns 404 or empty result
- Missing or expired USDC micropayment via x402 returns 402 Payment Required
- Rate limiting or quota exhaustion returns 429
- Network timeout for slow upstream data sources
- Code parameter not URL-encoded correctly may cause routing errors

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

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 energy dependency analytics for the specified country or region code, likely including metrics such as import dependency ratios, energy trade balances, self-sufficiency rates, and related market analytics indicators. Response is scoped to the country identified by the path parameter code.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-energy-dependency-analytics-273ab1d3/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)
