{
  "x402Version": 2,
  "id": 27015,
  "slug": "27015",
  "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",
  "serviceName": "German Statutory Deadlines (BGB)",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4Dd5E59475A55f1C2c0816469600663cb74cC1Dc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "end": {
            "type": "string"
          },
          "legal_basis": {
            "type": "object"
          },
          "length": {
            "type": "integer"
          },
          "limitation": {},
          "mode": {
            "type": "string"
          },
          "raw_end": {
            "type": "string"
          },
          "regional_notes": {
            "type": "array"
          },
          "shift": {
            "type": "null"
          },
          "start": {
            "type": "string"
          },
          "state": {},
          "unit": {
            "type": "string"
          },
          "weekday": {
            "type": "string"
          }
        },
        "required": [
          "end",
          "legal_basis",
          "length",
          "limitation",
          "mode",
          "raw_end",
          "regional_notes",
          "shift",
          "start",
          "state",
          "unit",
          "weekday"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "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": {
                "properties": {
                  "end": {
                    "type": "string"
                  },
                  "legal_basis": {
                    "type": "object"
                  },
                  "length": {
                    "type": "integer"
                  },
                  "limitation": {},
                  "mode": {
                    "type": "string"
                  },
                  "raw_end": {
                    "type": "string"
                  },
                  "regional_notes": {
                    "type": "array"
                  },
                  "shift": {
                    "type": "null"
                  },
                  "start": {
                    "type": "string"
                  },
                  "state": {},
                  "unit": {
                    "type": "string"
                  },
                  "weekday": {
                    "type": "string"
                  }
                },
                "required": [
                  "end",
                  "legal_basis",
                  "length",
                  "limitation",
                  "mode",
                  "raw_end",
                  "regional_notes",
                  "shift",
                  "start",
                  "state",
                  "unit",
                  "weekday"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "deadline",
    "fristen",
    "bgb",
    "legal",
    "de",
    "bazaar"
  ],
  "sourceHost": "api.ozdreamtools.de",
  "lastUpdated": "2026-10-08T06:25:50.186Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:25:50.075Z"
  },
  "metadata": {
    "serviceName": "German Statutory Deadlines (BGB)",
    "extensions": {
      "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": {
                  "properties": {
                    "end": {
                      "type": "string"
                    },
                    "legal_basis": {
                      "type": "object"
                    },
                    "length": {
                      "type": "integer"
                    },
                    "limitation": {},
                    "mode": {
                      "type": "string"
                    },
                    "raw_end": {
                      "type": "string"
                    },
                    "regional_notes": {
                      "type": "array"
                    },
                    "shift": {
                      "type": "null"
                    },
                    "start": {
                      "type": "string"
                    },
                    "state": {},
                    "unit": {
                      "type": "string"
                    },
                    "weekday": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "end",
                    "legal_basis",
                    "length",
                    "limitation",
                    "mode",
                    "raw_end",
                    "regional_notes",
                    "shift",
                    "start",
                    "state",
                    "unit",
                    "weekday"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "end": "string",
      "legal_basis": {},
      "length": 0,
      "limitation": null,
      "mode": "string",
      "raw_end": "string",
      "regional_notes": [
        "value"
      ],
      "shift": null,
      "start": "string",
      "state": null,
      "unit": "string",
      "weekday": "string"
    },
    "type": "string"
  }
}