---
title: "Get Industry Benchmark"
method: GET
path: "/v1/reports/industries/{code}"
tags: ["internal"]
---

# Get Industry Benchmark

`GET /v1/reports/industries/{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/industries/{code}`
- Auth: HTTP bearer

Get industry benchmark with optional historical data.

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

- IndustryBenchmarkResponse
  - `data` IndustryBenchmark, required
    - `industry_code` string, required
    - `industry_name` string, nullable, required
    - `period` string, required
    - `sample_size` integer, required
    - `metrics` IndustryMetrics, required
      - `revenue` PercentileMetrics, required
        - `p25` integer, nullable, required
        - `median` integer, nullable, required
        - `p75` integer, nullable, required
        - `avg` integer, nullable, required
      - `profit_margin` PercentileMetrics, required
        - `p25` integer, nullable, required
        - `median` integer, nullable, required
        - `p75` integer, nullable, required
        - `avg` integer, nullable, required
      - `employees` PercentileMetrics, required
        - `p25` integer, nullable, required
        - `median` integer, nullable, required
        - `p75` integer, nullable, required
        - `avg` integer, nullable, required
      - `equity_ratio` PercentileMetrics, required
        - `p25` integer, nullable, required
        - `median` integer, nullable, required
        - `p75` integer, nullable, required
        - `avg` integer, nullable, required
    - `by_municipality` IndustryMunicipality[], required
      - `code` string, required
      - `name` string, required
      - `count` integer, required
      - `avg_revenue` integer, nullable
    - `company_types` CompanyType[]
      - `code` string, required
      - `name` string, 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
    - `year_over_year` IndustryYearOverYear, required
      - `sample_size_change` integer, required
      - `sample_size_change_pct` number, required
      - `revenue_median_change_pct` number, nullable
    - `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
    - `generated_at` string, date-time, required
  - `historical` IndustryHistoryPoint[], nullable
    - `period` string, required
    - `sample_size` integer, required
    - `revenue_median` integer, nullable, 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)
