The page for the API: Ready-made datasets can still be used but will be removed during 2025.

Via PxWebApi 2.0, you can retrieve data from all tables in SSB's statistical database with HTTP GET. The query can thus be defined in the URL itself. The API also shows more metadata for each table than before. The API has several new query parameters. A detailed description of queries and endpoints can be found at PxApiSpecs/specs.md at master · PxTools/PxApiSpecs.

You can retrieve entire tables or parts of tables. The limits per extraction are 800,000 data cells, and the number of queries is currently 30 per 60 seconds. See https://data.ssb.no/api/pxwebapi/v2-beta/config.

Read more about PxWebApi 2.0 beta in StatBank PxWebApi user guide.

The APIs use the Creative Commons license CC BY 4.0.

 

Contact statistikkbanken@ssb.no if you have questions about the tables or the API.