# DexL Grid Fuel Mix

> DexL Grid Fuel Mix is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns hourly electricity generation by fuel source and carbon-free share for a specified US balancing authority

## Facts

- Endpoint: POST https://agents.dexl.io/v1/tools/grid-fuel-mix
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-grid-fuel-mix-e8697c91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ulML5mUS-QcqmJ8ZmWwU

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 dexl-grid-fuel-mix-e8697c91 -d '<json body>'
```

Example prompt: What's the current carbon-free electricity share and fuel mix for the California balancing authority (CAL)?

## When to prefer this

Use this endpoint when you need real-time or near-real-time hourly electricity generation data broken down by fuel source for US balancing authorities, especially when you need a conservative, well-defined carbon-free share metric that excludes storage and unknown sources. Prefer this over generic energy APIs when you need region-specific US grid data with a consistent methodology for clean energy accounting.

## Known failure modes

- Invalid or unsupported balancing authority code returns an error — only CAL, TEX, NYIS, PJM, MISO, ERCO, ISNE, and US48 are supported
- Payment failure via x402 protocol if USDC balance is insufficient
- Data may be delayed or unavailable if upstream grid data source (e.g. EIA) is experiencing issues
- Cached responses may be returned for recent identical queries (cached flag will be true)

## How this service works

Hourly electricity generation by fuel source for any US balancing authority, with the carbon-free share computed from wind, solar, hydro, nuclear and geothermal. Storage is excluded from both sides because discharging shifts power rather than generating it, and "other/unknown" is never counted as clean - so the share errs low. Method returned with the numbers.

## Output

A JSON object containing hourly electricity generation broken down by fuel source (wind, solar, hydro, nuclear, geothermal, fossil, etc.) for the requested US balancing authority, along with the computed carbon-free share percentage. Storage is excluded from both sides to avoid double-counting. The 'other/unknown' category is never counted as clean, so the carbon-free share is a conservative lower-bound estimate. The response also includes the calculation method used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "region": {
   "type": "string",
   "description": "Balancing-authority code: CAL, TEX, NYIS, PJM, MISO, ERCO, ISNE, or US48 for the whole Lower 48."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": 1,
  "cached": false,
  "output": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-grid-fuel-mix-e8697c91/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
