Zum Inhalt
HALOWERK

Klimawerk

fuel co2

Calculates TTW and WTW fuel emissions from separately published factors. 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/fuel-co2

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
quantitynumberJa
unitstringJa
ttw_factornumberJa
wtw_factornumberJa
sourceobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "quantity",
    "unit",
    "ttw_factor",
    "wtw_factor",
    "source"
  ],
  "additionalProperties": false,
  "properties": {
    "quantity": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000,
      "description": ""
    },
    "unit": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "description": ""
    },
    "ttw_factor": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000,
      "description": ""
    },
    "wtw_factor": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000,
      "description": ""
    },
    "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

{
  "quantity": 100,
  "unit": "litre",
  "ttw_factor": 2,
  "wtw_factor": 2.5,
  "source": {
    "url": "https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2026",
    "published_at": "2026-06-10T00:00:00Z",
    "title": "UK 2026 conversion factors"
  }
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://klima.halowerk.com/v1/fuel-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 →