# Klima GHG Scope Classifier

> Klima GHG Scope Classifier is a paid API for AI agents from klima.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-28).

Classifies a described activity into GHG Scope 1, 2, or 3 using caller-supplied keyword rules, returning the matched scope and category with transparent provenance.

## Facts

- Endpoint: POST https://klima.halowerk.com/v1/ghg-scope?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/klima-ghg-scope-classifier-42d3a474
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iuaHr1fEOyoc8pHj611sd

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-ghg-scope-classifier-42d3a474 -d '<json body>'
```

Example prompt: Using these keyword rules — 'natural gas combustion' → Scope 1 / Direct Energy, 'purchased electricity' → Scope 2 / Indirect Energy, 'employee commuting' → Scope 3 / Upstream Travel — classify the activity 'natural gas boiler used for on-site heating' and tell me which scope and category it falls into.

## When to prefer this

Choose this endpoint when you need rule-based, auditable GHG scope classification driven by your own keyword taxonomy rather than a black-box ML model. It is ideal for compliance workflows where transparency of matching logic and data provenance is required. Prefer it over manual categorization or general-purpose LLM classification when you need consistent, reproducible scope tagging with explicit disclosure of missing data. It complements klima.halowerk.com's emission calculation endpoints by providing the upstream scoping step.

## Known failure modes

- No keyword rule matches the activity — scope and category returned as null with unavailable_fields populated
- Activity string is empty or exceeds 512 characters — validation error
- Rules array is empty or missing required fields (keyword, scope, category) — schema validation error
- Source object missing required fields (url, title, published_at) — validation error
- Invalid scope enum value in rules (must be '1', '2', or '3') — validation error
- Source URL malformed — URI format validation error

## How this service works

Classifies an activity into a caller-selected GHG scope using explicit rule matches. 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 the matched GHG scope (1, 2, or 3) and category for the activity based on the first matching keyword rule. Null values are returned for any fields that cannot be determined, with those field names listed in unavailable_fields. Provenance metadata (source URL, title, published_at, and data age) is disclosed for source-backed values; derivation method is disclosed for computed values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "POST"
    },
    "bodyType": {
     "const": "json"
    },
    "schemaUrl": {
     "type": "string",
     "format": "uri"
    },
    "exampleUrl": {
     "type": "string",
     "format": "uri"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "schemaUrl": {
     "type": "string",
     "format": "uri"
    },
    "exampleUrl": {
     "type": "string",
     "format": "uri"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/klima-ghg-scope-classifier-42d3a474/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)
