Default Interest
by rechen.halowerk.com in Markets & finance
Statutory German default interest (§ 288 BGB) split exactly at every half-yearly base-rate change, with day-count convention, per-period breakdown and total.
https://rechen.halowerk.com/v1/default-interest- Price
- $0.002
- per call in USDC
- Uptime
- 95.8%
- last 30 days
- Response time
- 119 ms
- 204 ms slowest 5%
- Last check
- Passed
- 4 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/default-interest
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/default-interest
content-type: application/json
{
"end_date": "2024-12-31",
"principal": 1000,
"rate_type": "consumer",
"start_date": "2024-01-01"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
day_count | string | No | One of: act_365, act_act, act_360, 30e_360. Default: "act_365". |
end_date | string (date) | Yes | |
obligation_date | string (date) | No | |
principal | number | Yes | |
rate_type | string | No | One of: consumer, business, real_estate_consumer_loan. Default: "consumer". |
start_date | string (date) | Yes |
Example response
The provider's example. We can't check it without paying.
Example response, 61 lines
{
"limitations": [
"Information computed by formula from the stated data and conventions; not legal, tax or financial advice.",
"Results depend on the inputs supplied (dates of default, amounts, agreements); these are not verified.",
"Whether and from when the debtor is in default (§ 286 BGB) is not checked; higher contractual interest (§ 288(3)) and further damage (§ 288(4)) are not included.",
"No interest on interest (§ 289 BGB); partial payments need claim-statement."
],
"result": {
"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?format=csv&lang=de"
},
"day_count": "act_365",
"day_count_text": "actual days / 365 (also in leap years)",
"days_total": 366,
"end_date": "2024-12-31",
"interest": 85.18,
"interest_exact": 85.17589,
"periods": [
{
"base_rate": 3.62,
"day_basis": 365,
"days": 182,
"from": "2024-01-01",
"interest": 42.98,
"interest_exact": 42.981918,
"points": 5,
"rate": 8.62,
"to": "2024-06-30"
},
{
"base_rate": 3.37,
"day_basis": 365,
"days": 184,
"from": "2024-07-01",
"interest": 42.19,
"interest_exact": 42.193973,
"points": 5,
"rate": 8.37,
"to": "2024-12-31"
}
],
"points_above_base_rate": 5,
"principal": 1000,
"rate_norm": "§ 288(1) BGB: 5 percentage points above the base rate",
"rate_type": "consumer",
"start_date": "2024-01-01",
"steps": [
"Rate per period = base rate (§ 247 BGB) + 5 points (§ 288(1) BGB: 5 percentage points above the base rate).",
"Interest per period = 1000 × rate / 100 × days / day basis (actual days / 365 (also in leap years)); both start_date and end_date are interest days.",
"Sum of 2 period(s) = 85.17589 → rounded once to 85.18 EUR."
],
"total": 1085.18
},
"service": "default-interest",
"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/default-interest' \
-H 'content-type: application/json' \
--data-raw '{"end_date":"2024-12-31","principal":1000,"rate_type":"consumer","start_date":"2024-01-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/default-interest' \
-H 'content-type: application/json' \
--data-raw '{"end_date":"2024-12-31","principal":1000,"rate_type":"consumer","start_date":"2024-01-01"}' \
| 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.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%2Fdefault-interest&method=POST
const res = await pay("https://rechen.halowerk.com/v1/default-interest", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"end_date": "2024-12-31",
"principal": 1000,
"rate_type": "consumer",
"start_date": "2024-01-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/default-interest",
json={
"end_date": "2024-12-31",
"principal": 1000,
"rate_type": "consumer",
"start_date": "2024-01-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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 129 ms | $0.002 |
| 15 h ago | Passed | 402 | 39 ms | $0.002 |
| 29 h ago | Passed | 402 | 119 ms | $0.002 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 207 ms | $0.002 |
Show 10 older checks
| 5 days ago | Passed | 402 | 40 ms | $0.002 |
| 5 days ago | Passed | 402 | 48 ms | $0.002 |
| 6 days ago | Passed | 402 | 139 ms | $0.002 |
| 6 days ago | Passed | 402 | 43 ms | $0.002 |
| 6 days ago | Passed | 402 | 157 ms | $0.002 |
| 7 days ago | Passed | 402 | 39 ms | $0.002 |
| 7 days ago | Passed | 402 | 40 ms | $0.002 |
| 7 days ago | Passed | 402 | 130 ms | $0.002 |
| 8 days ago | Passed | 402 | 42 ms | $0.002 |
| 8 days ago | Passed | 402 | 132 ms | $0.002 |