To main content

PxWebApi 2.0 - Beta

During March 2024 a new beta version of the PxWebApi 2.0 was released.

In March 2024 we released a beta version of the new PxWebAPI 2.0 that runs with the Statistical database.

The main differences to PxWebApi 1.0 are

  • Changes in structure of URL:s so they become more resilient to change and conforms better to a RESTful design
  • More metadata will be exposed through API calls
  • User experience for fetching data will be improved
  • More advanced features to filter data will be povided

Test PxWebApi 2.0 - Beta with the Statistical Database

(max amount cells are 30 000)
https://api.scb.se/ov0104/v2beta/api/v2/tables/

Read about the functionality of PxWebApi 2.0  
https://github.com/statisticssweden/PxApiSpecs/blob/master/specs.md  

 

The Api is also documentet as OpenApi

https://github.com/statisticssweden/PxApiSpecs/blob/master/PxAPI-2.yml

Please register questions and comments as an issue at Github: 
https://github.com/PxTools/PxWebApi/issues