{"openapi":"3.1.0","info":{"title":"Riksbank API","version":"1.0.0","description":"Live monetary and exchange-rate data from Sveriges Riksbank, the world's oldest central bank, for the Swedish krona (SEK), via its public SWEA API. Get the Riksbank's current policy rate (styrränta) — the rate that steers the Swedish economy — with its date. Read the krona's exchange rate against any of 40-plus currencies, the official daily krona fixing, both as krona-per-unit and the inverse. Pull the daily time series of any Riksbank series, an FX pair or the policy rate, over a date range. List every currency the Riksbank publishes a krona rate for. Live, no key, nothing stored. Distinct from the ECB, SNB, Bank of Canada, Norges Bank, NBP, CNB, BCB and CBR feeds and from market mid-rates — this is the Riksbank's own krona policy rate and official exchange-rate fixing. Perfect for FX, treasury and analytics apps.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/riksbank-api","description":"oanor gateway"}],"tags":[{"name":"FX"},{"name":"Rates"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/currencies":{"get":{"operationId":"get_v1_currencies","tags":["FX"],"summary":"Every currency with a krona rate","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":52,"source":"Sveriges Riksbank","currencies":[{"currency":"ATS","series_id":"SEKATSPMI","description":"ATS"},{"currency":"AUD","series_id":"SEKAUDPMI","description":"AUD"},{"currency":"BEF","series_id":"SEKBEFPMI","description":"BEF"},{"currency":"BGN","series_id":"SEKBGNPMI","description":"BGN"},{"currency":"BRL","series_id":"SEKBRLPMI","description":"BRL"},{"currency":"CAD","series_id":"SEKCADPMI","description":"CAD"},{"currency":"CHF","series_id":"SEKCHFPMI","description":"CHF"},{"currency":"CNY","series_id":"SEKCNYPMI","description":"CNY"},{"currency":"CYP","series_id":"SEKCYPPMI","description":"CYP"},{"currency":"CZK","series_id":"SEKCZKPMI","description":"CZK"},{"currency":"DEM","series_id":"SEKDEMPMI","description":"DEM"},{"currency":"DKK","series_id":"SEKDKKPMI","description":"DKK"},{"currency":"EEK","series_id":"SEKEEKPMI","description":"EEK"},{"currency":"ESP","series_id":"SEKESPPMI","description":"ESP"},{"currency":"EUR","series_id":"SEKEURPMI","description":"EUR"},{"currency":"FIM","series_id":"SEKFIMPMI","description":"FIM"},{"currency":"FRF","series_id":"SEKFRFPMI","description":"FRF"},{"currency":"GBP","series_id":"SEKGBPPMI","description":"GBP"},{"currency":"GRD","series_id":"SEKGRDPMI","description":"GRD"},{"currency":"HKD","series_id":"SEKHKDPMI","description":"HKD"},{"currency":"HUF","series_id":"SEKHUFPMI","description":"HUF"},{"currency":"IDR","series_id":"SEKIDRPMI","description":"IDR"},{"currency":"IEP","series_id":"SEKIEPPMI","description":"IEP"},{"currency":"ILS","series_id":"SEKILSPMI","description":"ILS"},{"currency":"INR","series_id":"SEKINRPMI","description":"INR"},{"currency":"ISK","series_id":"SEKISKPMI","description":"ISK"},{"currency":"ITL","series_id":"SEKITLPMI","description":"ITL"},{"currency":"JPY","series_id":"SEKJPYPMI","description":"JPY"},{"currency":"KRW","series_id":"SEKKRWPMI","description":"KRW"},{"currency":"KWD","series_id":"SEKKWDPMI","description":"KWD"},{"currency":"LTL","series_id":"SEKLTLPMI","description":"LTL"},{"currency":"LVL","series_id":"SEKLVLPMI","description":"LVL"},{"currency":"MAD","series_id":"SEKMADPMI","description":"MAD"},{"currency":"MXN","series_id":"SEKMXNPMI","description":"MXN"},{"currency":"MYR","series_id":"SEKMYRPMI","description":"MYR"},{"currency":"NLG","series_id":"SEKNLGPMI","description":"NLG"},{"currency":"NOK","series_id":"SEKNOKPMI","description":"NOK"},{"currency":"NZD","series_id":"SEKNZDPMI","description":"NZD"},{"currency":"PHP","series_id":"SEKPHPPMI","description":"PHP"},{"currency":"PLN","series_id":"SEKPLNPMI","description":"PLN"},{"currency":"PTE","series_id":"SEKPTEPMI","description":"PTE"},{"currency":"RON","series_id":"SEKRONPMI","description":"RON"},{"currency":"RUB","series_id":"SEKRUBPMI","description":"RUB"},{"currency":"SAR","series_id":"SEKSARPMI","description":"SAR"},{"currency":"SGD","series_id":"SEKSGDPMI","description":"SGD"},{"currency":"SIT","series_id":"SEKSITPMI","description":"SIT"},{"currency":"SKK","series_id":"SEKSKKPMI","description":"SKK"},{"currency":"THB","series_id":"SEKTHBPMI","description":"THB"},{"currency":"TRL","series_id":"SEKTRLPMI","description":"TRL"},{"currency":"TRY","series_id":"SEKTRYPMI","description":"TRY"},{"currency":"USD","series_id":"SEKUSDPMI","description":"USD"},{"currency":"ZAR","series_id":"SEKZARPMI","description":"ZAR"}]},"meta":{"timestamp":"2026-06-10T14:01:52.681Z","request_id":"e1310876-efa0-4f2b-b01d-eb6424069b5f"},"status":"ok","message":"Currencies retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/fx":{"get":{"operationId":"get_v1_fx","tags":["FX"],"summary":"Krona exchange rate vs a currency","description":"","parameters":[{"name":"currency","in":"query","required":true,"description":"3-letter ISO currency code","schema":{"type":"string"},"example":"USD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"base":"SEK","date":"2026-06-09","quote":"USD","source":"Sveriges Riksbank","series_id":"SEKUSDPMI","sek_per_unit":9.40551,"unit_per_sek":0.10632066},"meta":{"timestamp":"2026-06-10T14:01:52.833Z","request_id":"896389f6-0bee-4526-a51c-9592d1166f9e"},"status":"ok","message":"FX rate retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/history":{"get":{"operationId":"get_v1_history","tags":["FX"],"summary":"Daily time series of a series or FX pair","description":"","parameters":[{"name":"currency","in":"query","required":false,"description":"Currency for the SEK pair","schema":{"type":"string"},"example":"USD"},{"name":"series","in":"query","required":false,"description":"Riksbank series id","schema":{"type":"string"},"example":"SEKUSDPMI"},{"name":"from","in":"query","required":false,"description":"Start date YYYY-MM-DD","schema":{"type":"string"},"example":"2026-05-01"},{"name":"to","in":"query","required":false,"description":"End date YYYY-MM-DD","schema":{"type":"string"},"example":"2026-05-31"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"to":"2026-05-31","from":"2026-05-01","count":19,"source":"Sveriges Riksbank","series_id":"SEKUSDPMI","observations":[{"date":"2026-05-04","value":9.26068},{"date":"2026-05-05","value":9.27606},{"date":"2026-05-06","value":9.21059},{"date":"2026-05-07","value":9.19711},{"date":"2026-05-08","value":9.2186},{"date":"2026-05-11","value":9.24479},{"date":"2026-05-12","value":9.28054},{"date":"2026-05-13","value":9.31711},{"date":"2026-05-15","value":9.44444},{"date":"2026-05-18","value":9.39775},{"date":"2026-05-19","value":9.38812},{"date":"2026-05-20","value":9.37716},{"date":"2026-05-21","value":9.36417},{"date":"2026-05-22","value":9.3743},{"date":"2026-05-25","value":9.27295},{"date":"2026-05-26","value":9.30419},{"date":"2026-05-27","value":9.27172},{"date":"2026-05-28","value":9.31523},{"date":"2026-05-29","value":9.25112}]},"meta":{"timestamp":"2026-06-10T14:01:53.009Z","request_id":"96dd8b50-f54b-44e9-8f50-3423bd6ae3f2"},"status":"ok","message":"History retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/policy-rate":{"get":{"operationId":"get_v1_policy_rate","tags":["Rates"],"summary":"The Riksbank policy rate (styrranta)","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"date":"2026-06-10","source":"Sveriges Riksbank","rate_pct":1.75,"indicator":"Riksbank policy rate (styrränta)","series_id":"SECBREPOEFF"},"meta":{"timestamp":"2026-06-10T14:01:53.161Z","request_id":"93fddd2f-5700-4086-a896-8b91843a2c88"},"status":"ok","message":"Policy rate retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":9000,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":700,"monthly_call_quota":166000,"rps_limit":5,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2100,"monthly_call_quota":925000,"rps_limit":12,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":4800,"monthly_call_quota":5050000,"rps_limit":30,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/riksbank-api"}