{"openapi":"3.1.0","info":{"title":"Denmark Statistics API","version":"1.0.0","description":"Official Danish economic statistics straight from Statistics Denmark's Statbank (api.statbank.dk), the national statistical agency. The cpi endpoint returns the Danish Consumer Price Index for the latest month — the headline index (base 2015=100), the month-on-month change and the year-on-year inflation rate — for the all-items total or any six-digit COICOP commodity group. The cpi/series endpoint returns the historical monthly CPI index and year-on-year inflation for a chosen group over the last N months, ready to chart. The cpi/groups endpoint breaks the latest CPI down across all twelve COICOP divisions (food, housing, transport, recreation and so on) with index and annual change for each, so you can see where inflation is concentrated. The table endpoint exposes the metadata (variables and their values) of any Statbank table by id, so you can discover the full Danish statistics catalogue. Live data is read directly from Statbank and updated as Statistics Denmark publishes; Danish decimal commas are normalised to points. Live. 5 endpoints. This serves Danish national price statistics; for euro-area or other countries use the matching national-statistics API.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/denmark-stats-api","description":"oanor gateway"}],"tags":[{"name":"Inflation"},{"name":"Catalogue"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/cpi":{"get":{"operationId":"get_v1_cpi","tags":["Inflation"],"summary":"Danish CPI (latest month): index, MoM and YoY","description":"","parameters":[{"name":"group","in":"query","required":false,"description":"6-digit COICOP group; 000000 = all-items total (default)","schema":{"type":"string"},"example":"000000"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"base":"2015=100","index":121.2,"period":"2025M12","source":"Statistics Denmark (Statbank, table PRIS111)","country":"Denmark","indicator":"Consumer Price Index","period_iso":"2025-12","group_label":"00 Forbrugerprisindekset i alt","coicop_group":"000000","last_updated":"2026-01-12T08:00:00","change_mom_pct":-0.4,"change_yoy_pct":1.9},"meta":{"timestamp":"2026-06-15T20:41:05.377Z","request_id":"17e9683f-6e7f-41f2-92a4-6f70ce248f67"},"status":"ok","message":"Danish CPI retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/cpi/groups":{"get":{"operationId":"get_v1_cpi_groups","tags":["Inflation"],"summary":"Latest CPI across all 12 COICOP divisions","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"base":"2015=100","count":12,"period":"2025M12","source":"Statistics Denmark (Statbank, PRIS111)","country":"Denmark","divisions":[{"index":134.3,"label":"Food & non-alcoholic beverages","coicop_group":"010000","change_yoy_pct":3.5,"statbank_label":"01 Fødevarer og ikke-alkoholiske drikkevarer"},{"index":135.3,"label":"Alcoholic beverages & tobacco","coicop_group":"020000","change_yoy_pct":2.1,"statbank_label":"02. Alkoholiske drikkevarer og tobak"},{"index":98.3,"label":"Clothing & footwear","coicop_group":"030000","change_yoy_pct":-0.2,"statbank_label":"03. Beklædning og fodtøj"},{"index":122.2,"label":"Housing, water, electricity & fuels","coicop_group":"040000","change_yoy_pct":1.2,"statbank_label":"04. Boligbenyttelse, elektricitet og opvarmning"},{"index":102.8,"label":"Furnishings & household equipment","coicop_group":"050000","change_yoy_pct":-1.2,"statbank_label":"05. Møbler, husholdningsudstyr og husholdningstjenester"},{"index":115.8,"label":"Health","coicop_group":"060000","change_yoy_pct":1.8,"statbank_label":"06. Sundhed"},{"index":119,"label":"Transport","coicop_group":"070000","change_yoy_pct":1.2,"statbank_label":"07. Transport"},{"index":92.5,"label":"Communication","coicop_group":"080000","change_yoy_pct":7.7,"statbank_label":"08. Kommunikation"},{"index":115.8,"label":"Recreation & culture","coicop_group":"090000","change_yoy_pct":1.8,"statbank_label":"09. Fritid og kultur"},{"index":140,"label":"Education","coicop_group":"100000","change_yoy_pct":4,"statbank_label":"10. Uddannelse"},{"index":135.9,"label":"Restaurants & hotels","coicop_group":"110000","change_yoy_pct":3.3,"statbank_label":"11. Restauranter og hoteller"},{"index":123.9,"label":"Miscellaneous goods & services","coicop_group":"120000","change_yoy_pct":3.3,"statbank_label":"12. Andre varer og tjenester"}],"indicator":"Consumer Price Index by COICOP division","period_iso":"2025-12","last_updated":"2026-01-12T08:00:00"},"meta":{"timestamp":"2026-06-15T20:41:05.457Z","request_id":"922976b4-1b2c-4827-a735-4f9a19fd131a"},"status":"ok","message":"Danish CPI by COICOP division retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/cpi/series":{"get":{"operationId":"get_v1_cpi_series","tags":["Inflation"],"summary":"Historical CPI index + YoY for a group","description":"","parameters":[{"name":"group","in":"query","required":false,"description":"6-digit COICOP group (default 000000)","schema":{"type":"string"},"example":"000000"},{"name":"months","in":"query","required":false,"description":"Number of recent months (default 24, max 120)","schema":{"type":"string"},"example":"24"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"base":"2015=100","count":24,"series":[{"index":117.8,"period":"2024M01","period_iso":"2024-01","change_yoy_pct":1.2},{"index":118.4,"period":"2024M02","period_iso":"2024-02","change_yoy_pct":0.8},{"index":118.4,"period":"2024M03","period_iso":"2024-03","change_yoy_pct":0.9},{"index":118.5,"period":"2024M04","period_iso":"2024-04","change_yoy_pct":0.8},{"index":118.5,"period":"2024M05","period_iso":"2024-05","change_yoy_pct":2.2},{"index":118.5,"period":"2024M06","period_iso":"2024-06","change_yoy_pct":1.8},{"index":119.8,"period":"2024M07","period_iso":"2024-07","change_yoy_pct":1.1},{"index":119.3,"period":"2024M08","period_iso":"2024-08","change_yoy_pct":1.4},{"index":118.9,"period":"2024M09","period_iso":"2024-09","change_yoy_pct":1.3},{"index":119.6,"period":"2024M10","period_iso":"2024-10","change_yoy_pct":1.6},{"index":119.2,"period":"2024M11","period_iso":"2024-11","change_yoy_pct":1.6},{"index":118.9,"period":"2024M12","period_iso":"2024-12","change_yoy_pct":1.9},{"index":119.6,"period":"2025M01","period_iso":"2025-01","change_yoy_pct":1.5},{"index":120.8,"period":"2025M02","period_iso":"2025-02","change_yoy_pct":2},{"index":120.2,"period":"2025M03","period_iso":"2025-03","change_yoy_pct":1.5},{"index":120.3,"period":"2025M04","period_iso":"2025-04","change_yoy_pct":1.5},{"index":120.4,"period":"2025M05","period_iso":"2025-05","change_yoy_pct":1.6},{"index":120.7,"period":"2025M06","period_iso":"2025-06","change_yoy_pct":1.9},{"index":122.5,"period":"2025M07","period_iso":"2025-07","change_yoy_pct":2.3},{"index":121.7,"period":"2025M08","period_iso":"2025-08","change_yoy_pct":2},{"index":121.6,"period":"2025M09","period_iso":"2025-09","change_yoy_pct":2.3},{"index":122.1,"period":"2025M10","period_iso":"2025-10","change_yoy_pct":2.1},{"index":121.7,"period":"2025M11","period_iso":"2025-11","change_yoy_pct":2.1},{"index":121.2,"period":"2025M12","period_iso":"2025-12","change_yoy_pct":1.9}],"source":"Statistics Denmark (Statbank, PRIS111)","country":"Denmark","indicator":"Consumer Price Index","group_label":"00 Forbrugerprisindekset i alt","coicop_group":"000000"},"meta":{"timestamp":"2026-06-15T20:41:05.547Z","request_id":"3fd1e17b-3b0f-40aa-a09f-a38d85d9e58e"},"status":"ok","message":"Danish CPI series retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/table":{"get":{"operationId":"get_v1_table","tags":["Catalogue"],"summary":"Statbank table metadata (variables + values)","description":"","parameters":[{"name":"id","in":"query","required":false,"description":"Statbank table id (default PRIS111)","schema":{"type":"string"},"example":"PRIS111"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"id":"PRIS111","text":"Forbrugerprisindeks","unit":"-","source":"Statistics Denmark (Statbank)","updated":"2026-01-12T08:00:00","variables":[{"id":"VAREGR","text":"varegruppe","time":false,"sample":[{"id":"000000","text":"00 Forbrugerprisindekset i alt"},{"id":"010000","text":"01 Fødevarer og ikke-alkoholiske drikkevarer"},{"id":"011000","text":"01.1 Fødevarer"},{"id":"011100","text":"01.1.1 Brød og kornprodukter"},{"id":"011110","text":"01.1.1.1 Ris"}],"elimination":true,"values_count":385},{"id":"ENHED","text":"enhed","time":false,"sample":[{"id":"100","text":"Indeks"},{"id":"200","text":"Ændring i forhold til måneden før (pct.)"},{"id":"300","text":"Ændring i forhold til samme måned året før (pct.)"}],"elimination":false,"values_count":3},{"id":"Tid","text":"tid","time":true,"sample":[{"id":"2001M01","text":"2001M01"},{"id":"2001M02","text":"2001M02"},{"id":"2001M03","text":"2001M03"},{"id":"2001M04","text":"2001M04"},{"id":"2001M05","text":"2001M05"}],"elimination":false,"values_count":300}],"description":"Forbrugerprisindeks efter varegruppe, enhed og tid"},"meta":{"timestamp":"2026-06-15T20:41:05.664Z","request_id":"e65c6e69-cc38-4ca7-80ad-ee6c40e382d4"},"status":"ok","message":"Statbank table metadata retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"API metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"api":"Statistics Denmark (Statbank) API","notes":"Live data straight from Statistics Denmark's Statbank; CPI updates monthly. Decimal comma normalised to point.","units":{"100":"Index","200":"Change vs previous month (%)","300":"Change vs same month previous year (%)"},"source":"Statistics Denmark — Statbank REST API (api.statbank.dk/v1)","country":"Denmark","endpoints":["/v1/cpi","/v1/cpi/series","/v1/cpi/groups","/v1/table","/v1/meta"],"documentation":"https://denmark-stats-api.oanor.dev","primary_table":"PRIS111 — Consumer Price Index (monthly, COICOP, base 2015=100)"},"meta":{"timestamp":"2026-06-15T20:41:05.766Z","request_id":"8f347247-1e2b-4338-917c-78d9bb43252c"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":220,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":940,"monthly_call_quota":19000,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2620,"monthly_call_quota":96000,"rps_limit":22,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":6140,"monthly_call_quota":430000,"rps_limit":55,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/denmark-stats-api"}