What it returns
Swedish interest rates and exchange rates from Sveriges Riksbank's official SWEA and SWESTR APIs, one row per series and business day, with the change from the previous observation.
| field | meaning |. |---|---|. | `series`, `preset`, `title` | Riksbank series id, preset name and the bank's description |. | `date`, `value`, `change` | observation and change from the previous one |. | `publicationTime`, `volume`, `republication` | SWESTR only |. | `source` | the API endpoint |.
Request
POST https://api.pushbuild.com/riksbank-rates/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
presets | list of strings | Headline Swedish series. Default when nothing is chosen: policy rate, 10-year government bond yield and EUR/SEK. |
seriesIds | list of strings | Any series id from the Riksbank SWEA API, for example SEKAUDPMI (Australian dollar) or SEGVB5YC. Up to 25 per run; the free API allows a few calls a minute, so larger runs take longer. |
lastN | integer | Most recent observations per series within the lookback window. Ignored when startDate is set. Default: 24. |
lookbackDays | integer | How far back to look for the last N observations. Ignored when startDate is set. Default: 90. |
startDate | string | Return every observation from this date. Optional. |
endDate | string | Defaults to today. |
changes | boolean | Add the change from the previous observation in the same series. Default: true. |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/riksbank-rates/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"presets": ["policy-rate", "swestr", "govt-bond-10y", "eur-sek"], "maxItems": 20}'
Response
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.
Pricing
Pay only for results returned: $0.16 per 1,000 observations. No charge for errors or empty searches.
Related APIs
Australian Bureau of Statistics API: CPI, Jobs, GDP & Any Dataflow API
Australian Bureau of Statistics data from the official ABS Data API: monthly CPI and trimmed mean, unemployment by state, GDP, wage price index and household spending presets, any ABS dataflow by SDMX key, and dataflow search.
Bank of Canada API: Policy Rate, CORRA, Bonds, CPI & CAD FX API
Bank of Canada statistics from its official Valet API: policy rate, CORRA, prime, T-bills, benchmark bond yields, mortgage and GIC rates, CPI and core CPI, commodity prices and daily CAD exchange rates.
Bank of England API: Bank Rate, SONIA, Gilts & Mortgages API
Bank of England statistics from its official database: Bank Rate, SONIA, gilt yields, implied inflation, mortgage rates and approvals, M4 money, lending and sterling FX.
BLS Data API: Any Bureau of Labor Statistics Series API
Any US Bureau of Labor Statistics time series by id (CPI, payrolls by industry, unemployment, wages, PPI, JOLTS, import prices) plus state unemployment and labor force from plain state codes, with month-over-month and year-over-year changes..
Bundesbank API: German Bund Yields, CPI & Euro FX Rates API
Deutsche Bundesbank statistics from its official time series API: German government bond yields (2, 5, 10 and 30 years, daily), German consumer price index and ECB euro reference rates.
Cboe Put/Call Ratios & VIX Futures Term Structure API
Daily Cboe options statistics: total, equity, index, SPX and VIX put/call ratios with call and put volume and open interest by product, plus the VIX futures curve with settlements, open interest and contango versus spot VIX..
Tell us what you need built.
Questions about this API, higher volumes, or a data source you need that we don't cover yet.
hello@pushbuild.com