On October 1, 2025, we launched PxWebApi 2 as our primary API for accessing the Statistical Database. The new API supports GET requests, where the entire query is defined in a URL. This makes it easier to use than the previous version. It also displays more metadata and offers richer query capabilities.
Public APIs
SSB offers APIs for the Statbank Norway and for Classifications and Code Lists (Klass).
With an API, you can quickly retrieve and integrate SSB’s data with your own systems. The APIs are open and do not require registration.
External APIs from SSB
HTTP requests are redirected to HTTPS
In accordance with the Regulations on IT standards in public administration §11, HTTP requests are now redirected to HTTPS for data.ssb.no
API users should not need to take any action unless HTTP is deliberately used due to compatibility issues.
Like the rest of ssb.no, the APIs use the license CC BY 4.0.
If tables are structurally changed, replaced by new tables or discontinued, we enter this in Changes to tables in Statbank.
If you wish to be notified about changes in the API, please send us your e-mail address.
Contact
StatBank Norway