{"openapi":"3.1.0","info":{"title":"Statistics Norway (SSB) API","version":"1.0.0","description":"A gateway to the official Statistics Norway (SSB) PxWeb data service. Read the latest headline Consumer Price Index (2015=100) and fetch the latest time-series observations for any of the thousands of SSB statistics tables by table id and dimension selections — consumer prices, the producer price index, GDP, the labour market, population, housing and much more. Every observation carries its reference period, and values always resolve to the latest published release, so there are no dates to hard-code. Built for Norwegian macro research, CPI and inflation tracking, and NOK currency or rates models that need authoritative national statistics. Distinct from our OECD cross-country indicators, Statistics Canada and ABS feeds, and from central-bank FX feeds: this surfaces the official SSB data service for Norway.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/ssb-api","description":"oanor gateway"}],"tags":[{"name":"Indicators"},{"name":"Data"},{"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":["Indicators"],"summary":"Latest headline Consumer Price Index","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"unit":"index","value":139.1,"period":"2025M12","source":"Statistics Norway (SSB)","country":"Norway","indicator":"Consumer Price Index (2015=100, all-item index)"},"meta":{"timestamp":"2026-06-15T11:14:52.524Z","request_id":"29f74d05-5d4a-4c22-b4af-dff1e51241fa"},"status":"ok","message":"CPI retrieved successfully","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/series":{"get":{"operationId":"get_v1_series","tags":["Data"],"summary":"Latest observations for any SSB table","description":"","parameters":[{"name":"table","in":"query","required":true,"description":"SSB table id","schema":{"type":"string"},"example":"03013"},{"name":"select","in":"query","required":true,"description":"Dimension selections Code:Value;Code:Value","schema":{"type":"string"},"example":"Konsumgrp:TOTAL;ContentsCode:KpiIndMnd"},{"name":"periods","in":"query","required":false,"description":"Number of recent periods (1-60)","schema":{"type":"string"},"example":"12"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":12,"label":"03013: Consumer Price Index, by consumption group, contents and month","table":"03013","source":"Statistics Norway (SSB)","observations":[{"value":139.1,"period":"2025M12","period_code":"2025M12"},{"value":138.9,"period":"2025M11","period_code":"2025M11"},{"value":138.7,"period":"2025M10","period_code":"2025M10"},{"value":138.5,"period":"2025M09","period_code":"2025M09"},{"value":138,"period":"2025M08","period_code":"2025M08"},{"value":138.9,"period":"2025M07","period_code":"2025M07"},{"value":137.8,"period":"2025M06","period_code":"2025M06"},{"value":137.5,"period":"2025M05","period_code":"2025M05"},{"value":137,"period":"2025M04","period_code":"2025M04"},{"value":136.1,"period":"2025M03","period_code":"2025M03"},{"value":137,"period":"2025M02","period_code":"2025M02"},{"value":135.1,"period":"2025M01","period_code":"2025M01"}]},"meta":{"timestamp":"2026-06-15T11:14:53.452Z","request_id":"88177cff-f239-4837-a95a-5c3b324f5dc8"},"status":"ok","message":"Series retrieved successfully","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":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"name":"Statistics Norway (SSB) API","note":"For /v1/series, choose selections so only the time dimension varies (one value per non-time dimension) to get a clean one-value-per-period series.","source":"Statistics Norway PxWeb API (data.ssb.no)","country":"Norway","endpoints":[{"path":"/v1/cpi","description":"Latest headline Consumer Price Index (2015=100)"},{"path":"/v1/series","description":"Latest observations for any table (?table=03013&select=Konsumgrp:TOTAL;ContentsCode:KpiIndMnd&periods=12)"},{"path":"/v1/meta","description":"This metadata document"}],"disclaimer":"Unofficial proxy of the public Statistics Norway PxWeb API. Not affiliated with SSB. Data only; refer to SSB for authoritative figures.","description":"A gateway to the official Statistics Norway (SSB) PxWeb data service. Read the latest headline Consumer Price Index, and fetch the latest time-series observations for any SSB statistics table by its table id and dimension selections. Values always resolve to the latest published period."},"meta":{"timestamp":"2026-06-15T11:14:53.554Z","request_id":"6f03e969-ab28-4101-9e6d-39dbc16b0a66"},"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":1980,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1290,"monthly_call_quota":52600,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3440,"monthly_call_quota":209000,"rps_limit":16,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":7940,"monthly_call_quota":888000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/ssb-api"}