# BRAINIAC Energy Intelligence — Generation Mix

> BRAINIAC Energy Intelligence — Generation Mix is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-16).

Returns the electricity generation mix (by source) for a given US grid region and time range

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/energy-intelligence/generation-mix?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-energy-intelligence-generation-mix-55dc6f36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lz9TmtQR6ZFiAYsLM_FQh

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 brainiac-energy-intelligence-generation-mix-55dc6f36 -d '<json body>'
```

Example prompt: What's the electricity generation mix for grid region 6 from January 1st 2024 at midnight UTC to January 7th 2024 at midnight UTC? I want to see how much came from solar, wind, and fossil fuels.

## When to prefer this

Use this endpoint when you need programmatic, structured electricity generation mix data for specific US grid regions over a defined time window, especially in agent workflows that require no account signup and support x402 micropayment settlement on Base. Prefer this over scraping EIA or grid operator websites when you need clean JSON output at $0.03 per query with no API key management.

## Known failure modes

- Invalid regionId (must be integer 1–18) returns an error
- Malformed or out-of-range datetime strings cause validation failure
- 'from' datetime after 'to' datetime may return an error or empty result
- Requesting future time ranges may return empty or partial data
- Payment failure via x402 results in 402 response with no data returned

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object containing electricity generation mix data for the specified US grid region and time window, broken down by energy source (e.g. solar, wind, natural gas, nuclear, hydro, coal), likely including generation amounts or percentages per source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "format": "date-time",
   "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
  },
  "from": {
   "type": "string",
   "format": "date-time",
   "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
  },
  "regionId": {
   "type": "integer",
   "maximum": 18,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "2026-11-01T12:00Z",
  "from": "2026-11-01T11:30Z",
  "region": null,
  "source": {
   "url": "https://api.carbonintensity.org.uk/intensity/2026-11-01T12:00:00Z/2026-11-01T12:30:00Z",
   "status": "OK",
   "retrievedAt": "2026-11-07T12:08:56.478Z"
  },
  "limitations": [
   "Generation mix data is retrieved from the official Carbon Intensity API at api.carbonintensity.org.uk.",
   "Data is provided by National Grid ESO.",
   "Fuel types include: biomass, coal, imports, gas, nuclear, other, hydro, solar, wind.",
   "Percentages represent the proportion of total electricity generation."
  ],
  "retrievedAt": "2026-11-07T12:08:56.478Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-energy-intelligence-generation-mix-55dc6f36/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
