/v1/history
Daily time series of a series or FX pair
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/riksbank-api/v1/history" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/riksbank-api/v1/history", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/riksbank-api/v1/history");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/riksbank-api/v1/history",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"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
}