Collecting SWESTR via API
The Riksbank has an open API (Application Programming Interface) that makes it possible to collect data on SWESTR (Swedish krona Short Term Rate) automatically. Information on the Riksbank’s API for SWESTR is presented here.
The SWESTR API is a REST-based API that makes it possible to collect the most recently published SWESTR or previous publications for a time period. The API can be used free of charge, but the number of requests that can be made during a period of time from a given IP address is limited. If you need to make more requests, there is also the possibility of registering as a user in the Riksbank’s API portal..
The Riksbank’s API portal
Technical documentation for developers, information on published APIs, and possibilities for the registration of users can be found in the Riksbank’s API portal. Read also in the portal about how the Riksbank handles your personal data when using the API
PLEASE NOTE: During the Riksbank’s test period, which will run from 27 January 2021 and for around six months, SWESTR and information concerning it shall not be used in any financial instrument, agreement, transaction or other commercial activity or other business decision.
SWESTR and possible republication of this (“reference rate”) and all related data and information ("information") are published by the Riksbank solely for information purposes during the test period.
During the test period the Riksbank will not be responsible for errors or shortcomings in SWESTR or the information, or for any delays in updating the reference rate or the information. Nor is the Riksbank responsible if the reference rate, despite this information, is used in financial instruments, agreements, transactions or other commercial decisions.