# Vextorium Spain Power CO2 Emissions

> Vextorium Spain Power CO2 Emissions is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-21).

Returns daily CO2 emissions and emission intensity (tCO2/MWh) from Spain's electricity grid, broken down by generation technology, sourced from Red Eléctrica de España (REE).

## Facts

- Endpoint: POST https://api.vextorium.com/v1/spain-power-co2?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-spain-power-co2-emissions-3e94ce1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uFtV1F-aq5Rn2BySU5byx

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 vextorium-spain-power-co2-emissions-3e94ce1b -d '<json body>'
```

Example prompt: What were Spain's daily electricity grid CO2 emissions and carbon intensity over the last 30 days, broken down by generation technology?

## When to prefer this

Use this endpoint when you need official, government-sourced daily CO2 emission data for Spain's electricity grid, especially when you need technology-level breakdowns (coal, gas, renewables, etc.) or want to compute carbon intensity trends. Prefer this over generic energy APIs when Spain-specific REE data and tCO2/MWh granularity are required.

## Known failure modes

- days parameter out of range (must be 1–90): API may return an error or clamp to limits
- REE upstream data unavailable or delayed: partial or empty series returned
- Invalid request body (non-integer days): validation error
- Payment failure via x402: 402 response, no data returned

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

Returns a JSON object with the queried date range (since/until), an array of daily entries each containing the date, total CO2 in tonnes (tco2), and emission intensity (tco2_per_mwh), plus aggregate totals and a breakdown of CO2 by generation technology (Coal, Gas turbine, Combined cycle, Cogeneration, Steam turbine, Diesel engines, Non-renewable waste). Sourced from Red Eléctrica de España (REE).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "integer",
   "description": "1-90 (default 7)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Emission factor over total generation. Source: Red Electrica de Espana (REE).",
  "since": "2026-09-29",
  "until": "2026-10-01",
  "series": [
   {
    "day": "2026-09-29",
    "tco2": 92090,
    "tco2_per_mwh": 0.1378
   },
   {
    "day": "2026-09-30",
    "tco2": 110326.1,
    "tco2_per_mwh": 0.1321
   }
  ],
  "total_tco2": 308514.5,
  "by_technology_tco2": {
   "Coal": 6403,
   "Gas turbine": 10062.7,
   "Cogeneration": 40350,
   "Steam turbine": 29038.5,
   "Combined cycle": 202429.4,
   "Diesel engines": 18263.4,
   "Non-renewable waste": 1967.6
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-spain-power-co2-emissions-3e94ce1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
