77trust / 100

Vacation Entitlement

by rechen.halowerk.com in Documents & files

x402 APIPassing, checked 1 h ago

German statutory and contractual vacation days for a calendar year: part-time conversion, changes of weekly working days, partial-year entitlement (§ 5 BUrlG), disability and youth leave. Converts the statutory minimum of 24 working days (§ 3 BUrlG, six-day week) or the youth minimum of 30/27/25 days by age at the start of the year (§ 19 JArbSchG) and a contractual entitlement to the agreed days per week.

POST
https://rechen.halowerk.com/v1/vacation-entitlement
Price
$0.002
per call in USDC
Uptime
95.8%
last 30 days
Response time
124 ms
170 ms slowest 5%
Last check
Passed
1 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/vacation-entitlement

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/vacation-entitlement
content-type: application/json

{
  "contract_days_per_year": 30,
  "days_per_week": 3,
  "year": 2026
}

Parameters

ParameterTypeRequiredDescription
birth_datestring (date)No
contract_basis_days_per_weeknumberNo Default: 5.
contract_days_per_yearnumberNo
days_per_weeknumberYes
employment_endstring (date)No
employment_startstring (date)No
prorationstringNo One of: calendar_days, twelfths. Default: "calendar_days".
schedule_changesarray of objectNo
severely_disabledbooleanNo Default: false.
severely_disabled_fromstring (date)No
yearintegerYes

Example response

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

Example response, 37 lines
{
  "limitations": [
    "Information computed from the statutory wording; not legal, tax or social-security advice.",
    "Collective agreements may deviate (§ 13 BUrlG); contractual leave above the minimum follows the contract, rounding by analogy is only a default.",
    "Leave carried over, already granted by a previous employer (§ 6 BUrlG) or forfeited is not considered.",
    "Fractions below half a day are shown as such; § 5(2) BUrlG only provides for rounding up."
  ],
  "result": {
    "basis": {
      "disability": null,
      "full_months": null,
      "minimum": "§ 3(1) BUrlG (24 working days on a six-day week)",
      "partial_year_rule": "full_year",
      "proration": null,
      "waiting_period_end": null
    },
    "contractual_days": 18,
    "entitlement_days": 18,
    "legal_status": "Statutes checked on 2026-11-01 at gesetze-im-internet.de: ArbZG as last amended 23.10.2024, BUrlG 20.04.2013, EntgFG 12.05.2026, EStG 15.10.2026, SGB V 26.06.2026 (amendments of 24.07. and 06.10.2026 included), SGB VI 15.10.2026, SvEV 26.10.2026, FeV 12.08.2026.",
    "periods": [
      {
        "days_per_week": 3,
        "from": "2026-01-01",
        "to": "2026-12-31",
        "weight": 1
      }
    ],
    "severely_disabled_extra_days": 0,
    "statutory_minimum_days": 12,
    "steps": [
      "Employment covers the whole year: full entitlement."
    ],
    "year": 2026
  },
  "service": "vacation-entitlement",
  "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/vacation-entitlement' \
  -H 'content-type: application/json' \
  --data-raw '{"contract_days_per_year":30,"days_per_week":3,"year":2026}'

# 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/vacation-entitlement' \
  -H 'content-type: application/json' \
  --data-raw '{"contract_days_per_year":30,"days_per_week":3,"year":2026}' \
  | 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%2Fvacation-entitlement&method=POST
const res = await pay("https://rechen.halowerk.com/v1/vacation-entitlement", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "contract_days_per_year": 30,
    "days_per_week": 3,
    "year": 2026
  }),
});
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/vacation-entitlement",
        json={
            "contract_days_per_year": 30,
            "days_per_week": 3,
            "year": 2026,
        },
    )
    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
1 h agoPassed402218 ms$0.002
12 h agoPassed402144 ms$0.002
25 h agoPassed402131 ms$0.002
3 days agoTimed out---
4 days agoPassed402121 ms$0.002
Show 10 older checks
5 days agoPassed40244 ms$0.002
5 days agoPassed402124 ms$0.002
6 days agoPassed402125 ms$0.002
6 days agoPassed402116 ms$0.002
6 days agoPassed402121 ms$0.002
7 days agoPassed402123 ms$0.002
7 days agoPassed402136 ms$0.002
7 days agoPassed402113 ms$0.002
8 days agoPassed40240 ms$0.002
8 days agoPassed402124 ms$0.002