API 文档

通过我们的 REST API 获取每日德国破产公告,并在您的系统中自动处理。

身份验证

每个请求都需要在 X-API-Key 标头中提供您的个人 API 密钥。开通 API 访问后即可获得密钥。

X-API-Key: YOUR_API_KEY

端点

单个 GET 端点返回某一天或某一时间段的公告。

GET https://germanyinsolvencies.com/api/v1/filings

参数

所有参数均为可选。未指定日期时返回前一天的数据。每次请求的最大时间范围为 31 天。

Parameter Description
dateSingle day, format YYYY-MM-DD. Defaults to yesterday.
date_from / date_toDate range (max. 31 days per request).
typesComma-separated list of type aliases or codes. Omit for all types.
formatjson (default) or csv.

公告类型

通过 types 参数进行筛选。多个值用逗号分隔;不指定则返回所有类型。

types= Code Bekanntmachungsart
sicherung0Sicherungsmaßnahmen / Protective measures
abweisung1Abweisungen mangels Masse / Dismissal for lack of assets
eroeffnung2Eröffnungen / Opening of proceedings
entscheidung3Entscheidungen im Verfahren / Decisions in proceedings
sonstiges4Sonstiges / Other
entscheidung_aufhebung5Entscheidungen nach Aufhebung / Decisions after termination
verteilungsverzeichnis6Verteilungsverzeichnisse (§ 188 InsO) / Distribution lists
restschuldbefreiung7Restschuldbefreiung / Discharge of residual debt
insolvenzplan8Überwachte Insolvenzpläne / Supervised insolvency plans

示例请求

示例:以 JSON 格式获取某一天的所有开始、保全措施和驳回公告。

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://germanyinsolvencies.com/api/v1/filings?date=2026-06-08&types=eroeffnung,sicherung,abweisung"

响应

响应包含结果数量和公告数组。使用 format=csv 可改为接收 CSV 文件。

{
  "date_from": "2026-06-08",
  "date_to": "2026-06-08",
  "types": ["0", "1", "2"],
  "count": 142,
  "filings": [
    {
      "date": "2026-06-08",
      "type": "Eröffnungen",
      "type_code": "2",
      "name": "Beispiel GmbH",
      "sitz": "Berlin",
      "court": "Charlottenburg (Berlin)",
      "aktenzeichen": "36a IN 1234/26",
      "bundesland": "Berlin",
      "register": "HRB 12345",
      "text": "Im Insolvenzverfahren ..."
    }
  ]
}

错误

错误以 JSON 格式返回,并附带相应的 HTTP 状态码。

HTTP error
401missing_api_key
403invalid_api_key, subscription_expired
400bad_date, bad_type, range_too_large
500server_error

获取访问权限

API 访问按个案开通。请联系我们并说明您的使用场景,我们将为您设置密钥。

联系我们