Zum Inhalt
HALOWERK

Klimawerk

transport co2

Calculates transport CO2e by leg from published factors, distance, mass and load adjustment. 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/transport-co2

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
legsarrayJa
sourceobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "legs",
    "source"
  ],
  "additionalProperties": false,
  "properties": {
    "legs": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1000,
      "items": {
        "type": "object",
        "required": [
          "mode",
          "distance_km",
          "mass_tonnes",
          "factor_kgco2e_per_tkm",
          "load_factor"
        ],
        "additionalProperties": false,
        "properties": {
          "mode": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "description": ""
          },
          "distance_km": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": ""
          },
          "mass_tonnes": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": ""
          },
          "factor_kgco2e_per_tkm": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": ""
          },
          "load_factor": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1,
            "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

{
  "legs": [
    {
      "mode": "rail",
      "distance_km": 500,
      "mass_tonnes": 2,
      "factor_kgco2e_per_tkm": 0.02,
      "load_factor": 0.8
    }
  ],
  "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/transport-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 →