Μετάβαση στο περιεχόμενο
GET /v1/regional

All 18 GB regions

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/carbonintensity-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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"
…