Web services (API)

Information

As from 20 November 2019 the Riksbank's API only permits Soap 1.2. Version Soap 1.1 is no longer permitted.

Web services

Web services are a way of automating the collection of data from the Riksbank. We provide a number of web services (Soap 1.2) that can be used to search for interest rates and exchange rates, their names, various aggregates per period (month, year, quarter...). For each period it is also possible to calculate minimum value, maximum value, average and ultimo (the last banking day of the month).

The following web services are available:

  • getAllCrossNames
  • getAnnualAverageExchangeRates
  • getCrossRates
  • getCalendarDays
  • getInterestAndExchangeNames
  • getInterestAndExchangeGroupNames
  • getInterestAndExchangeRates
  • getLatestInterestAndExchangeRates
  • getMonthlyAverageExchangeRates

WSDL files can be accessed via the address:

https://swea.riksbank.se/sweaWS/wsdl/sweaWS_ssl.wsdl

For complete documentation on the web services provided by the Riksbank see the link:

https://swea.riksbank.se/sweaWS/docs/api/index.htm

If you only wish to obtain series for one period, follow these instructions:

  1. Find the series for which you would like observations in the list
    "Series for web services" and note the group ID and series ID.

  2. Call theweb service with the selected group ID and series ID and other parameters, see the link:
    https://swea.riksbank.se/sweaWS/docs/api/call/getInterestAndExchangeRates.htm

Disclaimer

  • The Riksbank disclaims liability for any errors or changes in listings afterwards and for any interruptions in the functioning of the website that may affect access to the statistical database.
  • The Riksbank reserves the right to make updates/changes to the website that may affect the downloading of statistics.

Disclaimer

Nasdaq Swedish Foreign Exchange Fixing Rates is provided by Nasdaq Stockholm AB and shall not without Nasdaq Stockholm AB´s prior written consent be used:

  1. As reference for the issuance of a financial instrument;
  2. As reference for the determination of the amount payable under a financial instrument or a financial contract;
  3. As reference by a party to a financial contract;
  4. For measuring the performance of an investment fund for the purpose of tracking the return of Nasdaq Swedish Foreign Exchange Fixing Rates, of defining the asset allocation of a portfolio, or of computing the performance fees;
  5. For any other purpose which may qualify Nasdaq Swedish Foreign Exchange Fixing Rates as a benchmark in accordance with regulation (EU) 2016/1011 of the European Parliament and of the European Council on indices used as benchmarks in financial instruments and financial contracts.
Was this information helpful?

Questions? Visit our FAQ.

Thanks for your feedback!

Updated 21/11/2019