# Swiss National Bank API: Policy Rate, SARON, CHF FX & CPI

Swiss National Bank statistics from its official data portal: SNB policy rate, SARON and sight deposit rates (daily), Swiss franc exchange rates, CPI, M1/M2/M3 and SNB gold and foreign currency holdings. 16 presets or any data portal cube.

$0.16 per 1,000 observations

[Get an API key](https://pushbuild.com/apis/app/signup?api=swiss-national-bank-data)

Example request

```
POST /swiss-national-bank-data/run
{
  "presets": [
    "policy-rate",
    "saron",
    "eur-chf",
    "cpi-yoy"
  ],
  "maxItems": 20
}
```

## What a response looks like

POST /swiss-national-bank-data/run{"maxItems": 5, "presets": ["policy-rate", "saron", "eur-chf", "cpi-yoy"]}

```
{"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](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [NBP API: Polish Zloty FX Rates, Gold Price & Policy Rates API](https://pushbuild.com/apis/national-bank-of-poland-data.html): National Bank of Poland data from its official API: daily zloty exchange rates (table A mid, table B weekly, table C bid/ask), the NBP gold price, and NBP policy rates (reference, lombard, deposit, rediscount, discount) with history since 1998..
- [Riksbank API: Swedish Policy Rate, SWESTR, Bonds & SEK FX API](https://pushbuild.com/apis/riksbank-rates.html): Sveriges Riksbank statistics from its official APIs: policy, deposit and lending rates, SWESTR with volumes, Swedish government bond, T-bill and mortgage bond yields, and krona exchange rates including the KIX index, daily.
- [Bank of Israel API: BOI Rate, SHIR & Shekel Exchange Rates API](https://pushbuild.com/apis/bank-of-israel-data.html): Bank of Israel statistics from its official SDMX API: the BOI interest rate, SHIR overnight rate and standing facility rates, daily representative shekel exchange rates (USD, EUR, GBP, JPY, CHF, CAD, AUD), or any series of any BOI dataflow..
- [Currency Exchange Rates API](https://pushbuild.com/apis/currency-exchange-rates.html): Official European Central Bank reference exchange rates for 30+ currencies, daily since 1999.
- [Swiss Statistics API: FSO Population, Jobs & Hotels API](https://pushbuild.com/apis/swiss-fso-data.html): Official Swiss Federal Statistical Office (FSO/BFS) data: population, quarterly jobs, monthly hotel arrivals and overnight stays, a title search over 640+ STAT-TAB tables, and any table with filters..
- [Statistics Sweden API: SCB CPI, CPIF, Jobs, GDP & Any Table API](https://pushbuild.com/apis/statistics-sweden.html): Statistics Sweden (SCB) data from the official PxWebApi: CPI, CPIF and CPIF-XE, LFS unemployment, GDP and the monthly GDP indicator, and population presets, any table by id with dimension filters, and table search.

## 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](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

---
As of 2026-12-03. Source: https://pushbuild.com/apis/swiss-national-bank-data.html
