/v1/regional
All 18 GB regions
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/carbonintensity-api/v1/regional" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/carbonintensity-api/v1/regional", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/carbonintensity-api/v1/regional");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/carbonintensity-api/v1/regional",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"to": "2026-06-01T00:00Z",
"from": "2026-05-31T23:30Z",
"count": 18,
"regions": [
{
"dno": "Scottish Hydro Electric Power Distribution",
"name": "North Scotland",
"index": "very low",
"forecast": 0,
"region_id": 1,
"generation_mix": [
{
"fuel": "biomass",
"percent": 0
},
{
"fuel": "coal",
"percent": 0
},
{
"fuel": "imports",
"percent": 0
},
{
"fuel": "gas",
"percent": 0
},
{
"fuel": "nuclear",
"percent": 0
},
{
"fuel": "other",
"percent": 0
},
{
"fuel": "hydro",
"percent": 0
},
{
"fuel": "solar",
"percent": 0
},
{
"fuel": "wind",
"percent": 100
}
]
},
{
"dno": "SP Distribution",
"name": "South Scotland",
"index": "very low",
"forecast": 0,
"region_id": 2,
"generation_mix": [
{
"fuel": "biomass",
"percent": 0
},
{
"fuel": "coal",
"percent": 0
},
{
"fuel": "imports",
"percent": 0
},
{
"fuel": "gas",
"percent": 0
},
{
"fuel": "nuclear",
"percent": 21.3
},
{
"fuel": "other",
"percent": 0
},
{
"fuel": "hydro",
"percent": 0
},
{
"fuel": "solar",
"percent": 0
},
{
"fuel": "wind",
"percent": 78.7
}
]
},
{
"dno": "Electricity North West",
"name"
…