# German Legal Deadline Calculator (BGB §§ 187-193)

> German Legal Deadline Calculator (BGB §§ 187-193) is a paid API for AI agents from api.ozdreamtools.de, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Calculates the end date of a German legal deadline (Fristende) under BGB §§ 187-193, including event vs. commencement start rules, month/year period ends, and postponement to the next working day for Sundays, Saturdays, or public holidays.

## Facts

- Endpoint: POST https://api.ozdreamtools.de/api/deadlines?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/german-legal-deadline-calculator-bgb-187-193-9fb477a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_emHpTxIJU5ohBFoc0o72k

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability german-legal-deadline-calculator-bgb-187-193-9fb477a4 -d '<json body>'
```

Example prompt: A legal notice was served to my client on 15 March 2025 in Bavaria — can you calculate when a 3-month response deadline expires under BGB, using commencement-of-day start, and shift it to the next working day if it falls on a weekend or holiday?

## When to prefer this

Use this endpoint when you need to compute a legally correct German deadline end date under BGB §§ 187-193 — particularly when you must handle the distinction between event-day and commencement-of-day start (§ 187), correct month/year end-of-period calculation including missing days of month (§ 188), and automatic postponement to the next working day for Sundays, Saturdays, and German federal or state public holidays (§ 193). Prefer this over a generic date-arithmetic tool whenever German legal compliance matters.

## Known failure modes

- Missing required start date or period length returns a 400 validation error
- Invalid or unrecognised German federal state code returns an error or falls back to Sunday/Saturday-only mode
- Ambiguous period specification (e.g. missing unit) causes a parsing error
- Dates far outside supported range may return an out-of-range error
- Network timeout or service unavailability returns a 5xx error

## How this service works

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.

## Output

Returns the computed end date (Fristende) of the German legal deadline, the BGB rules applied (§ 187 start type, § 188 end computation, § 193 postponement), whether the date was shifted due to a weekend or public holiday, and — when no federal state is provided — a note that only Saturday/Sunday postponement was applied and state holidays were not considered.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "event",
    "beginning"
   ],
   "type": "string",
   "description": "event = § 187 (1), the start day does not count; beginning = § 187 (2), it does"
  },
  "unit": {
   "enum": [
    "days",
    "weeks",
    "months",
    "years"
   ],
   "type": "string",
   "description": "Unit of the period"
  },
  "start": {
   "type": "string",
   "description": "Start date YYYY-MM-DD (day of the event, or first day)"
  },
  "state": {
   "type": "string",
   "description": "Optional. Federal state code for § 193 (BW BY BE BB HB HH HE MV NI NW RP SL SN ST TH SH)"
  },
  "length": {
   "type": "integer",
   "description": "Length of the period, positive integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/german-legal-deadline-calculator-bgb-187-193-9fb477a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ozdreamtools.de](https://www.zero.xyz/host/api.ozdreamtools.de/llms.txt)
