77trust / 100

Notice Date Latest

by rechen.halowerk.com in Search & web

x402 APIPassing, checked 3 h ago

Latest day a notice must be received to end a German employment, tenancy, commercial lease or custom contract on a desired date, with the next admissible end date if needed. Works backwards from the desired end: checks whether the date is an admissible termination date for the regime (15th or month end, month end, quarter end, any day) and searches the latest receipt day whose earliest possible end is not after it.

POST
https://rechen.halowerk.com/v1/notice-date-latest
Price
$0.002
per call in USDC
Uptime
95.8%
last 30 days
Response time
122 ms
163 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/notice-date-latest

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/notice-date-latest
content-type: application/json

{
  "desired_end": "2027-01-31",
  "regime": "residential_tenant",
  "state": "NW"
}

Parameters

ParameterTypeRequiredDescription
alignmentstringNo One of: any_day, mid_or_month_end, month_end, quarter_end, half_year_end, year_end. Default: "any_day".
desired_endstring (date)Yes
employment_startstring (date)No
handover_datestring (date)No
period_amountintegerNo
period_unitstringNo One of: days, weeks, months.
regimestringYes One of: employment_basic, employment_employer, employment_probation, residential_tenant, residential_landlord, furnished_room, commercial_premises, custom.
regionstringNo One of: A, KATH, EVANG, BZ, EIC, UH, WAK.
statestringNo One of: BB, BE, BW, BY, HB, HE, HH, MV, NI, NW, RP, SH.

Example response

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

Example response, 36 lines
{
  "limitations": [
    "Information computed from the statutory wording and stated conventions; not legal or tax advice.",
    "Contracts, collective agreements, court orders or special statutes can set other periods; check the individual case.",
    "Holidays come from the date-holidays package (type public); municipal holidays need the region parameter.",
    "Receipt (Zugang) by the other party counts, not dispatch; if the latest day is a Sunday or holiday, plan an earlier receipt."
  ],
  "result": {
    "desired_end": "2027-01-31",
    "desired_end_allowed": true,
    "effective_end": "2027-01-31",
    "holiday_basis": {
      "region": null,
      "scope": "state-wide holidays",
      "source": "date-holidays 3.38.0 (https://github.com/commenthol/date-holidays, ISC licence, holiday data CC BY-SA 3.0); type \"public\" only",
      "state": "NW"
    },
    "latest_receipt": "2026-11-04",
    "latest_receipt_weekday": "Wednesday",
    "notes": [
      "Notice deadlines are not moved by § 193 BGB (BGH III ZR 172/04)."
    ],
    "receipt_day_is_working_day": true,
    "regime": "residential_tenant",
    "rule": {
      "norm": "§ 573c(1) BGB",
      "text": "third working day of a month to the end of the second following month"
    },
    "steps": [
      "2027-01-31 is an admissible termination date (third working day of a month to the end of the second following month).",
      "Latest receipt: 2026-11-04 (Wednesday); a notice received then ends the contract on 2027-01-31 at the earliest. One day later the earliest end would be 2027-02-28."
    ]
  },
  "service": "notice-date-latest",
  "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/notice-date-latest' \
  -H 'content-type: application/json' \
  --data-raw '{"desired_end":"2027-01-31","regime":"residential_tenant","state":"NW"}'

# 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/notice-date-latest' \
  -H 'content-type: application/json' \
  --data-raw '{"desired_end":"2027-01-31","regime":"residential_tenant","state":"NW"}' \
  | 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%2Fnotice-date-latest&method=POST
const res = await pay("https://rechen.halowerk.com/v1/notice-date-latest", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "desired_end": "2027-01-31",
    "regime": "residential_tenant",
    "state": "NW"
  }),
});
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/notice-date-latest",
        json={
            "desired_end": "2027-01-31",
            "regime": "residential_tenant",
            "state": "NW",
        },
    )
    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 agoPassed40242 ms$0.002
13 h agoPassed40241 ms$0.002
27 h agoPassed402123 ms$0.002
3 days agoTimed out---
4 days agoPassed402115 ms$0.002
Show 10 older checks
5 days agoPassed402124 ms$0.002
5 days agoPassed402122 ms$0.002
6 days agoPassed402129 ms$0.002
6 days agoPassed402122 ms$0.002
6 days agoPassed40238 ms$0.002
7 days agoPassed40238 ms$0.002
7 days agoPassed402123 ms$0.002
7 days agoPassed402163 ms$0.002
8 days agoPassed40239 ms$0.002
8 days agoPassed40253 ms$0.002