Pushbuild

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

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} ]}
snbgwdzid0snbgwdzid0snbgwdzid0snbgwdzid0snbgwdzid0
change by cube in this sample response
changecubedatepresetpublishingDateseries
0snbgwdzid2026-10-06policy-rate2026-11-09 10:00LZ
0snbgwdzid2026-10-07policy-rate2026-11-09 10:00LZ
0snbgwdzid2026-10-08policy-rate2026-11-09 10:00LZ
0snbgwdzid2026-10-09policy-rate2026-11-09 10:00LZ
0snbgwdzid2026-10-12policy-rate2026-11-09 10:00LZ

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.

fieldmeaning
cube, series, presetdata portal cube, series code (dimension items joined by dots) and preset name
titlethe SNB's labels for the series
date, value, changeobservation (day, month or year) and change from the previous one
publishingDate, sourcewhen 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.

FieldTypeDescription
presetslist of stringsHeadline Swiss series. Default when nothing is chosen: SNB policy rate, SARON, EUR/CHF and CPI inflation.
cubeslist of stringsAny 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.
lastNintegerMost recent observations per series. Ignored when startDate is set. Default: 24.
startDatestringFirst date to include, as YYYY-MM-DD, YYYY-MM or YYYY to match the series. Optional.
endDatestringLast date to include, same format. Optional.
changesbooleanAdd the change from the previous observation in the same series. Default: true.
maxItemsintegerMaximum 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.

ObservationsCost
1,000$0.16
10,000$1.60
100,000$16.00
1,000,000$160.00
6,249 a monthFree ($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.com

New APIs and data, twice a month

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

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.

Want these numbers on one screen alongside your own? Dashboards and reporting