---
title: "/reports/bankruptcies/timeline"
method: GET
path: "/v1/reports/bankruptcies/timeline"
tags: ["internal"]
---

# /reports/bankruptcies/timeline

`GET /v1/reports/bankruptcies/timeline`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/reports/bankruptcies/timeline`
- Auth: HTTP bearer

Bankruptcy decrees per day or per week over a window, zero-filled.

Every date in the window is represented, so days without a Statstidende
publication count as zero rather than dropping out. The same rows as the
list endpoint: revoked decrees and person-only notices are excluded.

## Query parameters

- `date_from` string, nullable: Publication date from (YYYY-MM-DD), default 30 days ago
- `date_to` string, nullable: Publication date to (YYYY-MM-DD), default today
- `municipality_code` string, nullable: Municipality code, leading zeros ignored
- `division` string, nullable: 2-digit industry division
- `bucket` string: day or week (Monday to Sunday)

## Response `200`

Successful Response

- BankruptcyTimelineResponse
  - `bucket` string, required
  - `date_from` string, required
  - `date_to` string, required
  - `points` BankruptcyTimelinePoint[], required
    - `start` string, required
    - `count` integer, required
    - `days_in_bucket` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
