---
title: "StatBank table metadata (variables, values, contacts, documentation)"
method: GET
path: "/api/v1/statistical-agencies/statbank-dk/tableinfo/{table_id}"
tags: ["Statistical Agencies"]
---

# StatBank table metadata (variables, values, contacts, documentation)

`GET /api/v1/statistical-agencies/statbank-dk/tableinfo/{table_id}`

Return the full schema of a single Danmarks Statistik table. Use this to discover which dimensions must be filtered (non-elimination) and which value codes are available. Time values appear under the `Tid` variable in upstream format (YYYYMNN monthly, YYYYKq quarterly, YYYY annual, YYYYMNNDnn daily).

## Path parameters

- `table_id` string, required — Upstream StatBank table identifier (e.g. 'PRIS01', 'FOLK1A', 'NKN1').

## Query parameters

- `lang` string — Label language: `en` (default) or `da`.

## Response `200`

Full table schema with dimensions and value catalogues.

- EnvelopeStatBankDkTableInfoPayload
  - `data` StatBankDkTableInfoPayload, required
    - `id` string, required — Upstream StatBank table identifier.
    - `text` string, nullable — Table title.
    - `description` string, nullable — Full table description enumerating dimensions.
    - `unit` string, nullable — Primary unit of measure.
    - `suppressed_data_value` string, nullable — Value used in-place of suppressed / confidential cells.
    - `updated` string, nullable — Last publication timestamp (Europe/Copenhagen local, ISO 8601 without Z).
    - `active` boolean, nullable — True if still updated.
    - `contacts` StatBankDkContact[] — Statistics Denmark contact persons for the table.
      - `name` string, nullable — Contact person at Statistics Denmark for this table.
      - `phone` string, nullable — Contact phone.
      - `mail` string, nullable — Contact email.
    - `documentation` object, nullable — Dict with `id` and `url` for the statistical documentation on dst.dk.
    - `footnote` object, nullable — Footnote object when the table carries a mandatory notice.
    - `variables` StatBankDkVariable[] — Dimensions with their permitted values.
      - `id` string, required — Dimension code, case-sensitive, Danish (e.g. 'OMRÅDE', 'KØN', 'SÆSON', 'VAREGR', 'Tid').
      - `text` string, nullable — Human-readable dimension label in the requested language.
      - `elimination` boolean, nullable — True if the dimension can be collapsed to a total and omitted from queries.
      - `time` boolean, nullable — True if this is the time axis.
      - `map` string, nullable — Reference to a StatBank map tile (e.g. 'denmark_municipality_07') for geographic dimensions.
      - `values` StatBankDkVariableValue[] — Permitted dimension values.
        - `id` string, required — Dimension value code (e.g. '000' for All Denmark, '2025K4' for Q4 2025).
        - `text` string, nullable — Human-readable label for the value.
  - `meta` SugraMeta, required — Metadata attached to every /api/v1/* response envelope.
    - `endpoint` string, required — Requested endpoint path.
    - `data_time` string, required — ISO 8601 UTC timestamp of the source data, not of the request.
    - `response_time` string, required — ISO 8601 UTC timestamp when this response was produced.
    - `provider` string, required — API name and version.
    - `source` string, nullable — Identifier of the primary upstream source used for this response.
    - `attribution` string, nullable — Human-readable attribution mandated by an upstream source (e.g. a securities regulator or self-regulatory organization). Present only on responses whose source requires the owner and source to be clearly identified. Do not remove or alter it when using the response.
    - `fallback_used` boolean, nullable — True when the primary source failed and a fallback produced the data.
    - `fallback_chain` string[], nullable — Ordered list of sources attempted, in the order they were tried.
    - `cached` boolean, nullable — True when this response was served from the internal cache.
    - `stale` boolean, nullable — True when the cached response was returned after the upstream rate-limited or errored. Clients can use this to detect degraded data.

## Other responses

- `401` — Missing or invalid `x-api-key` header.
- `422` — Validation Error
- `429` — Daily rate limit exceeded. Check `X-RateLimit-Reset` for the next window.
- `503` — Upstream source is temporarily unavailable. Retry after a short delay.

---

[API](https://skmtc.net/sugra/apis/sugra-api.md) · [All operations](https://skmtc.net/sugra/apis/sugra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sugra/sugra-api/versions/dcf7427e6897/schema)
