Co2 Cost Split
by rechen.halowerk.com in Markets & finance
Split of CO2 costs for heating between landlord and tenant under the German CO2KostAufG: ten-step model by kg CO2 per m² and year, non-residential 50/50, reductions for listed buildings and the certificate price.
https://rechen.halowerk.com/v1/co2-cost-split- Price
- $0.003
- per call in USDC
- Uptime
- 95.8%
- last 30 days
- Response time
- 113 ms
- 161 ms slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://rechen.halowerk.com/v1/co2-cost-split
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://rechen.halowerk.com/v1/co2-cost-split
content-type: application/json
{
"area_m2": 1000,
"building_type": "residential",
"co2_cost_eur": 1620,
"co2_emissions_kg": 30000
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
area_m2 | number | Yes | |
billing_period_days | integer | No | Default: 365. |
building_type | string | Yes | One of: residential, non_residential. |
co2_cost_eur | number | No | |
co2_emissions_kg | number | Yes | |
delivery_year | integer | No | |
restrictions | string | No | One of: none, building_or_supply, both. Default: "none". |
tenant_cost_share_percent | number | No | |
vat_percent | number | No | Default: 19. |
Example response
The provider's example. We can't check it without paying.
Example response, 30 lines
{
"limitations": [
"Information computed by formula from the statutory rules and the stated data as of 2026-11-01; not legal or tax advice.",
"Results depend on the inputs supplied; contracts, local rules and individual circumstances are not verified.",
"From 2028 heating systems under § 43(1) of the Gebäudemodernisierungsgesetz follow the 50/50 rule of §§ 5a-5d CO2KostAufG (not modelled); certificate prices from 2027 depend on auctions and must be supplied.",
"Tenants who supply themselves claim the landlord share within twelve months (§ 6(2)); the 3 % reduction right of § 7(4) is not applied automatically."
],
"result": {
"building_type": "residential",
"co2_cost": 1620,
"co2_price": null,
"landlord_amount": 648,
"landlord_percent": 40,
"source": {
"law": "CO2KostAufG §§ 4, 5, 8, 9 and Anlage",
"retrieved": "2026-11-01",
"status": "amended by Art. 5 Act of 23 Jul 2026 (BGBl. 2026 I No. 226); step table unchanged since BGBl. I 2022, 2159",
"url": "https://www.gesetze-im-internet.de/co2kostaufg/anlage.html"
},
"specific_emissions_kg_m2_a": 30,
"step": 5,
"steps": [
"30000 kg / 1000 m² = 30.0 kg CO2/m²/a (rounded to one decimal, § 5(1) sentence 3) → step 5: landlord 40 % (Anlage to §§ 5-7)."
],
"tenant_amount": 972,
"tenant_percent": 60
},
"service": "co2-cost-split",
"status": "success"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://rechen.halowerk.com/v1/co2-cost-split' \
-H 'content-type: application/json' \
--data-raw '{"area_m2":1000,"building_type":"residential","co2_cost_eur":1620,"co2_emissions_kg":30000}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://rechen.halowerk.com/v1/co2-cost-split' \
-H 'content-type: application/json' \
--data-raw '{"area_m2":1000,"building_type":"residential","co2_cost_eur":1620,"co2_emissions_kg":30000}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frechen.halowerk.com%2Fv1%2Fco2-cost-split&method=POST
const res = await pay("https://rechen.halowerk.com/v1/co2-cost-split", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"area_m2": 1000,
"building_type": "residential",
"co2_cost_eur": 1620,
"co2_emissions_kg": 30000
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://rechen.halowerk.com/v1/co2-cost-split",
json={
"area_m2": 1000,
"building_type": "residential",
"co2_cost_eur": 1620,
"co2_emissions_kg": 30000,
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 40 ms | $0.003 |
| 14 h ago | Passed | 402 | 38 ms | $0.003 |
| 28 h ago | Passed | 402 | 133 ms | $0.003 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 161 ms | $0.003 |
Show 10 older checks
| 5 days ago | Passed | 402 | 93 ms | $0.003 |
| 5 days ago | Passed | 402 | 118 ms | $0.003 |
| 6 days ago | Passed | 402 | 40 ms | $0.003 |
| 6 days ago | Passed | 402 | 120 ms | $0.003 |
| 6 days ago | Passed | 402 | 158 ms | $0.003 |
| 7 days ago | Passed | 402 | 90 ms | $0.003 |
| 7 days ago | Passed | 402 | 182 ms | $0.003 |
| 7 days ago | Passed | 402 | 125 ms | $0.003 |
| 8 days ago | Passed | 402 | 43 ms | $0.003 |
| 8 days ago | Passed | 402 | 149 ms | $0.003 |