---
title: "Get Municipality Report"
method: GET
path: "/v1/reports/municipalities/{code}"
tags: ["internal"]
---

# Get Municipality Report

`GET /v1/reports/municipalities/{code}`

## 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/municipalities/{code}`
- Auth: HTTP bearer

Get municipality report with optional historical data for trends.

## Path parameters

- `code` string, required

## Query parameters

- `period` string, nullable: Specific period (YYYY-MM-DD)
- `include_history` boolean: Include historical data for charts
- `history_periods` integer: Number of historical data points

## Response `200`

Successful Response

- MunicipalityReportResponse
  - `data` MunicipalityReport, required
    - `municipality_code` string, required
    - `municipality_name` string, required
    - `region_code` string, nullable, required
    - `region_name` string, nullable, required
    - `period` string, required
    - `metrics` MunicipalityMetrics, required
      - `total_companies` integer
      - `active_companies` integer
      - `dissolved_companies` integer
      - `new_registrations` integer
      - `net_growth` integer
      - `estimated_turnover` integer
      - `median_turnover` integer, nullable
      - `estimated_employees` integer
      - `companies_with_financials` integer
      - `unique_industries_count` integer
      - `top_industries` AppRoutersReportsTopIndustry[]
        - `code` string, required
        - `text` string, nullable, required
        - `count` integer, required
      - `top_companies` TopCompany[]
        - `cvr` string, required
        - `name` string, required
        - `revenue` integer, nullable, required
        - `employees` integer, nullable, required
        - `industry_code` string, nullable
        - `industry_text` string, nullable
        - `municipality_code` string, nullable
        - `municipality_name` string, nullable
      - `company_types` CompanyType[]
        - `code` string, required
        - `name` string, required
        - `count` integer, required
      - `score_distribution` ScoreDistribution: CDS (CompanyData Score) distribution with counts and percentages.
        - `excellent_count` integer
        - `excellent_pct` number
        - `good_count` integer
        - `good_pct` number
        - `normal_count` integer
        - `normal_pct` number
        - `high_risk_count` integer
        - `high_risk_pct` number
        - `critical_count` integer
        - `critical_pct` number
        - `total_scored` integer
      - `score_deviation` ScoreDeviation: Deviation from national average in percentage points.
        - `excellent_deviation` number
        - `good_deviation` number
        - `normal_deviation` number
        - `high_risk_deviation` number
        - `critical_deviation` number
        - `avg_score` number, nullable
        - `national_avg_score` number, nullable
    - `year_over_year` MunicipalityYearOverYear, required
      - `total_companies_change` integer, required
      - `total_companies_change_pct` number, required
      - `active_companies_change_pct` number, required
      - `turnover_change_pct` number, required
    - `generated_at` string, date-time, required
  - `historical` MunicipalityHistoryPoint[], nullable
    - `period` string, required
    - `total_companies` integer, required
    - `active_companies` integer, required
    - `estimated_turnover` integer, nullable

## 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)
