77trust / 100

Claim Statement

by rechen.halowerk.com in Markets & finance

x402 APIPassing, checked 3 h ago

Statement of a German money claim as of a date: principal, statutory default interest per half-year, costs, payments credited per § 367 BGB (or § 497(3) for consumer loans), open balance.

POST
https://rechen.halowerk.com/v1/claim-statement
Price
$0.002
per call in USDC
Uptime
95.8%
last 30 days
Response time
120 ms
145 ms slowest 5%
Last check
Passed
3 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://rechen.halowerk.com/v1/claim-statement

Each call costs $0.002 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/claim-statement
content-type: application/json

{
  "as_of": "2026-03-31",
  "claims": [
    {
      "amount": 1000,
      "id": "RE-1",
      "interest_from": "2026-01-01"
    }
  ],
  "costs": [
    {
      "amount": 10,
      "description": "reminder fee"
    }
  ],
  "payments": [
    {
      "amount": 500,
      "date": "2026-02-01"
    }
  ]
}

Parameters

ParameterTypeRequiredDescription
allocationstringNo One of: bgb_367, consumer_credit_497. Default: "bgb_367".
as_ofstring (date)Yes
claimsarray of objectYes
costsarray of objectNo
day_countstringNo One of: act_365, act_act, act_360, 30e_360. Default: "act_365".
paymentsarray of objectNo
rate_typestringNo One of: consumer, business, real_estate_consumer_loan. Default: "consumer".

Example response

The provider's example. We can't check it without paying.

Example response, 122 lines
{
  "limitations": [
    "Information computed by formula from the stated data and conventions; not legal,…",
    "Results depend on the inputs supplied (dates of default, amounts, agreements); t…",
    "Assumes all claims are in default from interest_from; § 366(2) criteria other th…"
  ],
  "result": {
    "allocation": "bgb_367",
    "allocation_order": "costs → interest → principal (§ 367(1) BGB)",
    "as_of": "2026-03-31",
    "base_rate_source": {
      "as_of": "2026-10-30",
      "covers": "2002-01-01 to 2026-12-31",
      "publisher": "Deutsche Bundesbank",
      "retrieved": "2026-11-01",
      "series": "BBIN1.M.DE.BBK.BBKBAS2.EUR.ME (SU0115), base rate under § 247 BGB",
      "url": "https://api.statistiken.bundesbank.de/rest/data/BBIN1/M.DE.BBK.BBKBAS2.EUR.ME?fo…"
    },
    "claims": [
      {
        "id": "RE-1",
        "interest_accrued": 10.55,
        "interest_open": 5.22,
        "interest_paid": 5.33,
        "interest_until": "2026-03-31",
        "principal_open": 515.33,
        "principal_original": 1000,
        "rate_norm": "§ 288(1) BGB: 5 percentage points above the base rate"
      }
    ],
    "conventions": [
      "Interest accrues from interest_from on the open principal; a payment reduces the…",
      "Accrued interest is rounded to cents at each payment and at the statement date.",
      "No interest on interest or costs (§ 289 BGB)."
    ],
    "costs": {
      "open": 0,
      "original": 10
    },
    "day_count": "act_365",
    "day_count_text": "actual days / 365 (also in leap years)",
    "ledger": [
      {
        "amount": 5.33,
        "claim_id": "RE-1",
        "date": "2026-01-31",
        "from": "2026-01-01",
        "on_principal": 1000,
        "periods": [
          {
            "base_rate": 1.27,
            "day_basis": 365,
            "days": 31,
            "from": "2026-01-01",
            "interest": 5.33,
            "interest_exact": 5.325205,
            "points": 5,
            "rate": 6.27,
            "to": "2026-01-31"
          }
        ],
        "to": "2026-01-31",
        "type": "interest"
      },
      {
        "allocated": [
          {
            "amount": 10,
            "cost": "reminder fee",
            "to": "costs"
          },
          {
            "amount": 5.33,
            "claim_id": "RE-1",
            "to": "interest"
          },
          {
            "amount": 484.67,
            "claim_id": "RE-1",
            "to": "principal"
          }
        ],
        "amount": 500,
        "date": "2026-02-01",
        "type": "payment",
        "unapplied": 0
      },
      {
        "amount": 5.22,
        "claim_id": "RE-1",
        "date": "2026-03-31",
        "from": "2026-02-01",
        "on_principal": 515.33,
        "periods": [
          {
            "base_rate": 1.27,
            "day_basis": 365,
            "days": 59,
            "from": "2026-02-01",
            "interest": 5.22,
            "interest_exact": 5.222905,
            "points": 5,
            "rate": 6.27,
            "to": "2026-03-31"
          }
        ],
        "to": "2026-03-31",
        "type": "interest"
      }
    ],
    "payments_total": 500,
    "totals": {
      "costs_open": 0,
      "interest_open": 5.22,
      "principal_open": 515.33,
      "total_open": 520.55,
      "unapplied_payments": 0
    }
  },
  "service": "claim-statement",
  "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.002.

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/claim-statement' \
  -H 'content-type: application/json' \
  --data-raw '{"as_of":"2026-03-31","claims":[{"amount":1000,"id":"RE-1","interest_from":"2026-01-01"}],"costs":[{"amount":10,"description":"reminder fee"}],"payments":[{"amount":500,"date":"2026-02-01"}]}'

# 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/claim-statement' \
  -H 'content-type: application/json' \
  --data-raw '{"as_of":"2026-03-31","claims":[{"amount":1000,"id":"RE-1","interest_from":"2026-01-01"}],"costs":[{"amount":10,"description":"reminder fee"}],"payments":[{"amount":500,"date":"2026-02-01"}]}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: 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.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
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.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frechen.halowerk.com%2Fv1%2Fclaim-statement&method=POST
const res = await pay("https://rechen.halowerk.com/v1/claim-statement", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "as_of": "2026-03-31",
    "claims": [
      {
        "amount": 1000,
        "id": "RE-1",
        "interest_from": "2026-01-01"
      }
    ],
    "costs": [
      {
        "amount": 10,
        "description": "reminder fee"
      }
    ],
    "payments": [
      {
        "amount": 500,
        "date": "2026-02-01"
      }
    ]
  }),
});
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.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
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/claim-statement",
        json={
            "as_of": "2026-03-31",
            "claims": [
                {
                    "amount": 1000,
                    "id": "RE-1",
                    "interest_from": "2026-01-01",
                },
            ],
            "costs": [
                {
                    "amount": 10,
                    "description": "reminder fee",
                },
            ],
            "payments": [
                {
                    "amount": 500,
                    "date": "2026-02-01",
                },
            ],
        },
    )
    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

WhenResultHTTPTimePrice
3 h agoPassed402140 ms$0.002
13 h agoPassed40240 ms$0.002
27 h agoPassed402134 ms$0.002
3 days agoTimed out---
4 days agoPassed40252 ms$0.002
Show 10 older checks
5 days agoPassed402145 ms$0.002
5 days agoPassed402127 ms$0.002
6 days agoPassed40246 ms$0.002
6 days agoPassed402123 ms$0.002
6 days agoPassed402131 ms$0.002
7 days agoPassed40243 ms$0.002
7 days agoPassed402126 ms$0.002
7 days agoPassed402126 ms$0.002
8 days agoPassed40241 ms$0.002
8 days agoPassed402144 ms$0.002