Compute a German civil-law deadline (§§ 187-193 BGB): event or start-of-day coun...
https://rechen.halowerk.com/v1/deadline-bgbOverview
Compute a German civil-law deadline (§§ 187-193 BGB): event or start-of-day counting, days/weeks/months/years, month-end rule and shift past weekends and state holidays.
Protocol
x402 (POST)
Price
$0.0020
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
rechen
Source
bazaar
Indexed
2026-11-21 05:10:47
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"amount": 2,
"start_date": "2026-05-21",
"state": "NW",
"unit": "weeks"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"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.",
"§ 193 BGB only applies where a declaration or performance is due; notice periods are not extended (BGH III ZR 172/04)."
],
"result": {
"counting_starts": "2026-05-22",
"end": "2026-06-05",
"end_weekday": "Friday",
"ends_at": "expiry of the day (24:00)",
"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"
},
"norms": [
"§ 187 BGB",
"§ 188 BGB",
"§ 193 BGB"
],
"period": {
"amount": 2,
"plus_half_month": false,
"unit": "weeks"
},
"raw_end": "2026-06-04",
"raw_end_weekday": "Thursday",
"shift_steps": [
{
"date": "2026-06-04",
"reason": "public holiday Fronleichnam (Corpus Christi)",
"weekday": "Thursday"
}
],
"shifted": true,
"start_date": "2026-05-21",
"start_type": "event",
"steps": [
"§ 187(1) BGB: the day of the event (2026-05-21) is not counted; counting starts on 2026-05-22.",
"§ 188(2) BGB: 2 week(s) end on the Thursday matching the event day: 2026-06-04.",
"§ 193 BGB: 2026-06-04 is a Thursday and public holiday Fronleichnam (Corpus Christi); the next working day 2026-06-05 takes its place."
]
},
"service": "deadline-bgb",
"status": "success"
},
"type": "json"
}