# RTE eCO2mix France Real-Time Power Mix

> RTE eCO2mix France Real-Time Power Mix is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the latest 15-minute records of France's national electricity mix, including consumption, production by source, grid CO2 intensity, and cross-border exchanges from RTE's eCO2mix dataset.

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/fr/power-mix
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rte-eco2mix-france-real-time-power-mix-6062c155
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QG9g5OVMUW0GB0bZr1JZ5

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 rte-eco2mix-france-real-time-power-mix-6062c155
```

Example prompt: What does France's electricity mix look like right now — give me the last hour of data including CO2 intensity and the breakdown by source like nuclear, wind, and solar.

## When to prefer this

Use this endpoint when you need near-real-time French national electricity generation data, specifically the RTE eCO2mix dataset with per-source production breakdown and grid CO2 intensity. Prefer this over generic energy APIs when France-specific data, official RTE sourcing, or grid carbon intensity (g/kWh) is required. Also useful for monitoring renewable vs. dispatchable generation balance or cross-border exchange flows in real time.

## Known failure modes

- rows parameter out of range (not 1-12): likely returns validation error or default value
- Upstream ODRE/RTE data feed delay: stale or missing records
- Payment not processed (x402): 402 Payment Required response
- Service unavailable on Railway hosting: 502/503 error

## How this service works

Latest observed 15-min records from RTE's eCO2mix national real-time dataset (ODRE portal, Licence Ouverte 2.0). Per record: UTC timestamp, consumption vs D/D-1 forecasts (MW), production by source (nuclear, wind, solar, hydro, gas, coal, bioenergy, storage), grid CO2 intensity (g/kWh) and commercial exchanges per border. Query: ?rows=1-12 (default 4 = last hour). 15-min cache.

## Output

Returns up to 12 rows of 15-minute interval records from the RTE eCO2mix national dataset. Each record includes: UTC timestamp, observed consumption and D/D-1 forecasts in MW, production per source (nuclear, wind, solar, hydro, gas, coal, bioenergy, storage) in MW, grid CO2 intensity in g/kWh, and commercial electricity exchanges per border. Default is 4 rows (last hour). Data is cached for 15 minutes.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "rows": {
       "type": "integer",
       "default": 4,
       "description": "Number of latest 15-min records, 1-12"
      }
     }
    }
   },
   "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/rte-eco2mix-france-real-time-power-mix-6062c155/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
