# Klima Electricity CO2 Emissions Calculator

> Klima Electricity CO2 Emissions Calculator is a paid API for AI agents from klima.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-16).

Calculates location-based or market-based electricity CO2 emissions using a published grid emissions factor for a given country or zone and energy quantity.

## Facts

- Endpoint: POST https://klima.halowerk.com/v1/electricity-co2?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/klima-electricity-co2-emissions-calculator-f6f205a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sUcUgTxFWZyIWv3qY0DDZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability klima-electricity-co2-emissions-calculator-f6f205a8 -d '<json body>'
```

Example prompt: Calculate the CO2 emissions for 2500 kWh of electricity consumption in Germany using location-based accounting, and disclose which published grid factor was used.

## When to prefer this

Choose this endpoint when you need to compute electricity-specific CO2 emissions with full methodological transparency, source attribution, and disclosure of unavailable data — ideal for ESG reporting, Scope 2 GHG accounting, lifecycle assessments, or CBAM compliance workflows where audit trails and published factor provenance are required. Prefer over generic carbon calculators when location-based vs market-based accounting distinction matters or when source citation is mandatory.

## Known failure modes

- Missing required fields (country_or_zone or factor_kgco2e_per_kwh) result in null values with unavailable_fields listing what is missing
- Invalid country or zone codes return null emissions factor with unavailable_fields populated
- energy_kwh exceeds maximum allowed value triggers validation error
- Malformed source URL or missing published_at in source object causes validation failure
- accounting_method not matching enum values (location-based or market-based) causes request rejection

## How this service works

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.

## Output

Returns calculated CO2 equivalent emissions in kgCO2e based on the provided energy quantity and grid factor, along with the accounting method used, method derivation disclosure, source attribution (URL, title, published date, and age), and a list of any facts that were unavailable or returned as null.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "source": {
   "type": "object",
   "required": [
    "url",
    "published_at",
    "title"
   ],
   "properties": {
    "url": {
     "type": "string",
     "format": "uri"
    },
    "title": {
     "type": "string",
     "maxLength": 300,
     "minLength": 3,
     "description": ""
    },
    "published_at": {
     "type": "string",
     "format": "date-time"
    }
   },
   "additionalProperties": false
  },
  "energy_kwh": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0,
   "description": ""
  },
  "country_or_zone": {
   "type": "string",
   "maxLength": 512,
   "minLength": 1,
   "description": ""
  },
  "accounting_method": {
   "enum": [
    "location-based",
    "market-based"
   ],
   "type": "string"
  },
  "factor_kgco2e_per_kwh": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0,
   "description": ""
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/klima-electricity-co2-emissions-calculator-f6f205a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klima.halowerk.com](https://www.zero.xyz/host/klima.halowerk.com/llms.txt)
