api.ozdreamtools.de/api/deadlines
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
POST
https://api.ozdreamtools.de/api/deadlinesUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.ozdreamtools.de/api/deadlines", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"length":2,"mode":"event","start":"2026-07-23","state":"HE","unit":"weeks"}),
});
console.log(await res.json());Example input
{
"length": 2,
"mode": "event",
"start": "2026-07-23",
"state": "HE",
"unit": "weeks"
}