# greeneris-data: France Real-Time Power Mix

> greeneris-data: France Real-Time Power Mix is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the latest 15-minute real-time electricity production, consumption, cross-border exchange, and CO2 intensity data for France from RTE eCO2mix.

## Facts

- Endpoint: GET https://data.greeneris.io/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/greeneris-data-france-real-time-power-mix-e10b4369
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EgGiLp3pbICLQLYzXIiwl

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 greeneris-data-france-real-time-power-mix-e10b4369
```

Example prompt: What does France's electricity grid look like right now — show me the last 4 fifteen-minute snapshots of production by source, total consumption, cross-border flows, and the CO2 intensity per kWh.

## When to prefer this

Use this endpoint when you need real-time or near-real-time French electricity grid data including generation mix, consumption, cross-border flows, and carbon intensity — sourced authoritatively from RTE eCO2mix via ODRE. Prefer this over scraped or estimated sources when official French grid data with proper attribution is required, e.g. for carbon accounting, energy analytics, or grid monitoring dashboards.

## Known failure modes

- HTTP 402 returned if payment not provided — must pay $0.002 USDC via x402 protocol before retrying
- rows parameter out of range (must be 1–12) may return a validation error
- Data may be temporarily unavailable if RTE/ODRE upstream source is offline
- Empty records array if RTE has not published data for the most recent interval yet

## 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

A JSON object containing an array of up to 12 most recent 15-minute records, each with: timestamped production breakdown by energy source (nuclear, gas, wind, solar, hydro, coal, bioenergy, pumped storage, batteries) in MW; total consumption in MW; day-ahead and D-1 forecasts in MW; net cross-border exchange with Italy, Spain, England, Switzerland, and Germany/Belgium in MW; and CO2 intensity in gCO2/kWh. Also includes count and data source attribution.

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "source": "RTE eCO2mix real-time via ODRE (Licence Ouverte 2.0, attribution RTE/ODRE)",
  "records": [
   {
    "exchange_mw": {
     "italy": -2500,
     "spain": -1000,
     "england": -2316,
     "switzerland": -2227,
     "physical_total": -13253,
     "germany_belgium": -5483
    },
    "forecast_d_mw": 37176,
    "production_mw": {
     "gas": 3455,
     "coal": 0,
     "wind": 3836,
     "hydro": 3998,
     "solar": 1148,
     "nuclear": 37611,
     "fuel_oil": 36,
     "bioenergy": 1018,
     "pumped_storage": -183,
     "battery_storage": -9,
     "battery_discharge": 90
    },
    "timestamp_utc": "2026-07-14T05:15:00+00:00",
    "consumption_mw": 37746,
    "forecast_d1_mw": 36700,
    "co2_intensity_g_kwh": 39
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/greeneris-data-france-real-time-power-mix-e10b4369/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
