# Citiview US Electricity Generation Mix

> Citiview US Electricity Generation Mix is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-14).

Returns electricity generation mix by fuel type (GWh and share) for any US state or the entire US, including renewable and carbon-free percentages, compared to five years prior.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/energy/mix?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-us-electricity-generation-mix-9d89305b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ADiZJH9RYnZ6YKfu7-MmX

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 citiview-us-electricity-generation-mix-9d89305b
```

Example prompt: What's the current electricity generation mix for Texas — break it down by fuel type with gigawatt-hours and shares, and show how renewables have changed compared to five years ago.

## When to prefer this

Use this endpoint when you need US electricity generation statistics broken down by fuel type for a specific state or the nation, especially when tracking renewable energy progress or carbon-free share over time. Prefer this over general energy APIs when you need the five-year trend comparison and per-fuel GWh detail in a single call.

## Known failure modes

- Invalid or unrecognized state name/code returns an error or empty result
- Data may lag real-time grid conditions as it reflects aggregate reporting periods
- Highly granular sub-state or utility-level queries are not supported
- Network or upstream data source unavailability may result in timeouts

## How this service works

Electricity generation mix for any US state or the whole US: gigawatt-hours and share by fuel (natural gas, coal, nuclear, wind, solar, hydro and more), renewable and carbon-free share, compared with five years earlier.

## Output

Returns a structured breakdown of electricity generation for the requested state or the whole US, including gigawatt-hours and percentage share for each fuel type (natural gas, coal, nuclear, wind, solar, hydro, and others), aggregate renewable and carbon-free shares, and a comparison of those figures to five years earlier.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "state": {
       "type": "string",
       "description": "State name or code; omit for the US"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-us-electricity-generation-mix-9d89305b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
