{
  "x402Version": 2,
  "id": 3609,
  "slug": "3609",
  "resource": "https://api.ozdreamtools.de/api/deadlines",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4Dd5E59475A55f1C2c0816469600663cb74cC1Dc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.ozdreamtools.de",
  "lastUpdated": "2026-09-16T15:39:04.472Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T15:39:04.348Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.ozdreamtools.de",
    "manifest_name": "api.ozdreamtools.de",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}