API for the Statistical database (PxWebApi)
SCB has developed a new API that connects to the Statistical Database, PxWebApi 2.0, which was launched October 2025.
PxWebApi 2.0
PxWebApi 2.0 was released in the Statistical database October 2025.
The main differences compared to PxWebApi 1.0 are
- The structure of the URLs has been changed so that they are more stable and not affected by structural changes in the database and at the same time comply with a RESTful design.
- The API will expose more of the metadata we have access to.
- The user experience for retrieving data will be improved.
- More advanced expressions for filtering out the information you want to retrieve via the API will be offered.
Read more about the different API:s