Retrieving interest rates and exchange rates via API

The Riksbank has an open API (Application Programming Interface) that makes it possible to automatically values for interest rates and exchange rates from the Riksbank. Information on the Riksbank’s API for interest rates and exchange rates is presented here.

DISCLAIMERS and RESERVATION

Exchange rates are indicative only and are published by the Riksbank for information purposes. They should therefore not be used for transactional purposes.

The Riksbank disclaims liability for any errors or changes in values afterwards and for any interruptions in the functioning of the website and the API that may affect access to the statistics.

The Riksbank reserves the right to make updates/changes to the website and the API that may affect the downloading of statistics.

The API for interest rates and exchange rates is a REST API that makes it possible to collect the most recently published interest rate and exchange rate values or previous publications for a time period. The REST API is newly developed and was published on 27 November 2023. You can use the API free of charge. The number of calls that may be made during a period of time from a given IP address is limited, if you need to make more calls, you can register as a user in the Riksbank's API portal.

The API portal

Technical documentation for developers, information on published APIs and the possibility of registering users can be found in the Riksbank’s API portal. The portal also contains information on how the Riksbank processes your personal data when using the API.

The Riksbank’s old SOAP API for interest rates and exchange rates has been closed down

The Riksbank's old SOAP API for interest rates and exchange rates has been closed down as of 27 May 2024, and will no longer function. Anyone who wants to automatically retrieve interest rates and exchange rates via the API from the Riksbank must have an integration with the new REST API. Read more: The old API for interest rates and exchange rates has been closed (27 May 2024)

Was this information helpful? After your answear a textbox appears

Thanks for your feedback!

Your comment could not be sent, please try again later

Updated 05/02/2024