Calculates when a legal deadline ends in Germany (Fristende, due date) under §§ 187-193 BG
Calculates when a legal deadline ends in Germany (Fristende, due date) under §§ 187-193 BGB, the German Civil Code: event vs commencement start (§ 187), end by days/weeks/months/years including a missing day of month (§ 188), and postponement to the next working day when it falls on a Sunday, Saturday or public holiday (§ 193). With a federal state the statewide holidays are honoured, without one only Sunday/Saturday; that limit is stated. Returns an end date, not a count of working days.
50000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-16
updated
Provider
api.ozdreamtools.de · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x4Dd5E59475A55f1C2c0816469600663cb74cC1Dc",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"length": 2,
"mode": "event",
"start": "2026-07-23",
"state": "HE",
"unit": "weeks"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"end": "2026-08-06",
"legal_basis": {
"note": "…",
"sources": [
"https://www.gesetze-im-internet.de/bgb/__193.html"
]
},
"length": 2,
"limitation": null,
"mode": "event",
"raw_end": "2026-08-06",
"regional_notes": [],
"shift": null,
"start": "2026-07-23",
"state": "HE",
"unit": "weeks",
"weekday": "Thursday"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"length": {
"description": "Length of the period, positive integer",
"type": "integer"
},
"mode": {
"description": "event = § 187 (1), the start day does not count; beginning = § 187 (2), it does",
"enum": [
"event",
"beginning"
],
"type": "string"
},
"start": {
"description": "Start date YYYY-MM-DD (day of the event, or first day)",
"type": "string"
},
"state": {
"description": "Optional. Federal state code for § 193 (BW BY BE BB HB HH HE MV NI NW RP SL SN ST TH SH)",
"type": "string"
},
"unit": {
"description": "Unit of the period",
"enum": [
"days",
"weeks",
"months",
"years"
],
"type": "string"
}
},
"required": [
"start",
"length",
"unit",
"mode"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.ozdreamtools.de/api/deadlines" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.ozdreamtools.de/api/deadlines");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.ozdreamtools.de/api/deadlines")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3609.json, and this resource appears in /discovery/resources and /discovery/search.