Zum Inhalt
HALOWERK

Klimawerk

electricity co2

Calculates location- or market-based electricity emissions from a published grid factor. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age. This is neither legal advice nor customs advice.

POST https://klima.halowerk.com/v1/electricity-co2

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
energy_kwhnumberJa
factor_kgco2e_per_kwhnumberJa
country_or_zonestringJa
accounting_methodstringJa
sourceobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "energy_kwh",
    "factor_kgco2e_per_kwh",
    "country_or_zone",
    "accounting_method",
    "source"
  ],
  "additionalProperties": false,
  "properties": {
    "energy_kwh": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000,
      "description": ""
    },
    "factor_kgco2e_per_kwh": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000,
      "description": ""
    },
    "country_or_zone": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "description": ""
    },
    "accounting_method": {
      "type": "string",
      "enum": [
        "location-based",
        "market-based"
      ]
    },
    "source": {
      "type": "object",
      "required": [
        "url",
        "published_at",
        "title"
      ],
      "additionalProperties": false,
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "published_at": {
          "type": "string",
          "format": "date-time"
        },
        "title": {
          "type": "string",
          "minLength": 3,
          "maxLength": 300,
          "description": ""
        }
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "energy_kwh": 1000,
  "factor_kgco2e_per_kwh": 0.3,
  "country_or_zone": "DE",
  "accounting_method": "location-based",
  "source": {
    "url": "https://www.eea.europa.eu/en/analysis/indicators/greenhouse-gas-emission-intensity-of-1",
    "published_at": "2026-01-01T00:00:00Z",
    "title": "EEA electricity intensity"
  }
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://klima.halowerk.com/v1/electricity-co2/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →