What a response looks like
{"count": 5, "items": [{ "change": 0.0, "cube": "snbgwdzid", "date": "2026-10-06", "preset": "policy-rate", "publishingDate": "2026-11-09 10:00", "series": "LZ", "source": "https://data.snb.ch/en/topics/table/snbgwdzid", "title": "SNB policy rate", "value": 0.0} ]}change by cube in this sample response| change | cube | date | preset | publishingDate | series |
|---|---|---|---|---|---|
| 0 | snbgwdzid | 2026-10-06 | policy-rate | 2026-11-09 10:00 | LZ |
| 0 | snbgwdzid | 2026-10-07 | policy-rate | 2026-11-09 10:00 | LZ |
| 0 | snbgwdzid | 2026-10-08 | policy-rate | 2026-11-09 10:00 | LZ |
| 0 | snbgwdzid | 2026-10-09 | policy-rate | 2026-11-09 10:00 | LZ |
| 0 | snbgwdzid | 2026-10-12 | policy-rate | 2026-11-09 10:00 | LZ |
Real rows returned by this API on 2026-11-09 for the request shown.
What it returns
Swiss monetary and financial statistics from the Swiss National Bank's official data portal, one row per series and date, with the change from the previous observation.
| field | meaning |
|---|---|
cube, series, preset | data portal cube, series code (dimension items joined by dots) and preset name |
title | the SNB's labels for the series |
date, value, change | observation (day, month or year) and change from the previous one |
publishingDate, source | when the SNB last published the cube, and its page on data.snb.ch |
Request
POST https://api.pushbuild.com/swiss-national-bank-data/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
presets | list of strings | Headline Swiss series. Default when nothing is chosen: SNB policy rate, SARON, EUR/CHF and CPI inflation. |
cubes | list of strings | Any SNB data portal cube id, for example snboffzisa (official interest rates of major central banks) or zimoma (money market rates). Returns every series in the cube. |
lastN | integer | Most recent observations per series. Ignored when startDate is set. Default: 24. |
startDate | string | First date to include, as YYYY-MM-DD, YYYY-MM or YYYY to match the series. Optional. |
endDate | string | Last date to include, same format. Optional. |
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/swiss-national-bank-data/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"presets": ["policy-rate", "saron", "eur-chf", "cpi-yoy"], "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.
| Observations | Cost |
|---|---|
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/swiss-national-bank-data. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
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.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want these numbers on one screen alongside your own? Dashboards and reporting