Snb
The dimension tree of one SNB cube — the vocabulary `cube`'s `select` filter
5 endpoints329 calls5/5 passing
Cube Dimensions
GET
/v1/finance:snb/cube-dimensionsslow · 5.0s1d cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| cube | string | query | SNB cube id. Confirmed: snboffzisa, zirepo, zimoma, rendoblim, devkum. Required. |
| lang | enum | query | Language of the dimension names: en, de, fr or it. Default en. One of en, de, fr, it. |
Example response
{"project":"finance:snb", "data": {"cube":"rendoblim","lang":"en","count":15, "items": [ {"id":"D0","name":"Overview", "path": [ "Overview" ],"depth":0,"isLeaf":false }, {"id":"D0_0","name":"CHF Swiss Confederation bond issues", "path": [ "Overview", "CHF Swiss Confederation bond issues" ],"depth":1,"isLeaf":false }, {"id":"1J","name":"1 year", "path": [ "Overview", "CHF Swiss Confederation bond issues", "1 year" ],"depth":2,"isLeaf":true }, {"id":"2J","name":"2 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "2 years" ],"depth":2,"isLeaf":true }, {"id":"3J","name":"3 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "3 years" ],"depth":2,"isLeaf":true }, {"id":"4J","name":"4 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "4 years" ],"depth":2,"isLeaf":true }, {"id":"5J","name":"5 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "5 years" ],"depth":2,"isLeaf":true }, {"id":"6J","name":"6 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "6 years" ],"depth":2,"isLeaf":true } ],"leaves":13,"dataset":"cube-dimensions","provider":"snb" },"timestamp":"2026-08-21T02:22:26Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Money Market
SARON and the CHF money-market complex, in one answer.
GET
/v1/finance:snb/money-marketpassing · 1.4s1h cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| set | enum | query | Which table: saron (the SARON term structure), reference (SARON, TOMN, EGMBF, LIBOR and the non-CHF benchmarks), or all. Default all. One of all, saron, reference. |
| from | string | query | Earliest observation date, YYYY-MM-DD. |
| to | string | query | Latest observation date, YYYY-MM-DD. |
| select | string | query | Dimension filter in the upstream's own syntax, applied to both tables. |
| length | number | query | Observations per series, newest first. Default 100, max 20000. |
Example response
{"project":"finance:snb", "data": {"to":null,"set":"saron","from":null,"count":9, "cubes": [ "zirepo" ], "items": [ {"key":"EPB@SNB.zirepo{H0}","cube":"zirepo","item":"H0","name":"Overnight (SARON), close of trading", "path": [ "Overnight (SARON), close of trading" ],"unit":"In percent","count":100,"table":"saron","total":6819, "values": [ {"date":"2026-07-15","value":-0.043818 }, {"date":"2026-07-14","value":-0.042717 }, {"date":"2026-07-13","value":-0.038424 } ],"frequency":"P1D_L","latestDate":"2026-07-15","latestValue":-0.043818 }, {"key":"EPB@SNB.zirepo{H6}","cube":"zirepo","item":"H6","name":"SARON 1M Compound Rate", "path": [ "SARON 1M Compound Rate" ],"unit":"In percent","count":100,"table":"saron","total":6573, "values": [ {"date":"2026-07-15","value":-0.0387 }, {"date":"2026-07-14","value":-0.0385 }, {"date":"2026-07-13","value":-0.0383 } ],"frequency":"P1D_L","latestDate":"2026-07-15","latestValue":-0.0387 }, {"key":"EPB@SNB.zirepo{H7}","cube":"zirepo","item":"H7","name":"SARON 3M Compound Rate", "path": [ "SARON 3M Compound Rate" ],"unit":"In percent","count":100,"table":"saron","total":6573, "values": [ {"date":"2026-07-15","value":-0.0415 }, {"date":"2026-07-14","value":-0.0415 }, {"date":"2026-07-13","value":-0.0415 } ],"frequency":"P1D_L","latestDate":"2026-07-15","latestValue":-0.0415 } ],"total":57838,"select":null,"dataset":"money-market","provider":"snb" },"timestamp":"2026-08-21T02:22:26Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Bond Yields
Swiss Confederation bond yields by maturity.
GET
/v1/finance:snb/bond-yieldspassing · 0.2s6h cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| maturity | string | query | Maturities in years, comma-separated. Published: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 30. Default all. |
| from | string | query | Earliest month, YYYY-MM-DD or YYYY-MM. |
| to | string | query | Latest month, YYYY-MM-DD or YYYY-MM. |
| length | number | query | Observations to return, newest first. Default 200, max 20000. |
Example response
{"project":"finance:snb", "data": {"to":null,"cube":"rendoblim","from":null,"count":26, "items": [ {"item":"10J","yield":0.378,"period":"2025-07","maturity":10 }, {"item":"30J","yield":0.564,"period":"2025-07","maturity":30 }, {"item":"10J","yield":0.41,"period":"2025-06","maturity":10 }, {"item":"30J","yield":0.6,"period":"2025-06","maturity":30 }, {"item":"10J","yield":0.259,"period":"2025-05","maturity":10 }, {"item":"30J","yield":0.418,"period":"2025-05","maturity":30 }, {"item":"10J","yield":0.326,"period":"2025-04","maturity":10 }, {"item":"30J","yield":0.436,"period":"2025-04","maturity":30 } ],"total":26,"dataset":"bond-yields","provider":"snb", "maturities": [ 10, 30 ],"publishedAt":"2025-09-01 14:29","latestPeriod":"2025-07" },"timestamp":"2026-08-21T02:22:26Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Policy Rates
Official policy rates for five central banks, from one Swiss cube.
GET
/v1/finance:snb/policy-ratespassing · 0.3s6h cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| bank | string | query | Central banks to return, comma-separated: snb, fed, ecb, boe, boj. Default all five. |
| from | string | query | Earliest month, YYYY-MM-DD or YYYY-MM. |
| to | string | query | Latest month, YYYY-MM-DD or YYYY-MM. |
| length | number | query | Observations to return, newest first. Default 200, max 5000. |
Example response
{"project":"finance:snb", "data": {"to":null,"cube":"snboffzisa","from":null, "banks": [ "ecb", "boe" ],"count":200, "items": [ {"bank":"ecb","code":"EF","rate":2.25,"period":"2026-06","series":"Deposit facility" }, {"bank":"ecb","code":"H","rate":2.4,"period":"2026-06","series":"Main refinancing rate" }, {"bank":"boe","code":"L0","rate":3.75,"period":"2026-06","series":"Bank Rate" }, {"bank":"ecb","code":"SRF","rate":2.65,"period":"2026-06","series":"Marginal lending facility" }, {"bank":"ecb","code":"EF","rate":2,"period":"2026-05","series":"Deposit facility" }, {"bank":"ecb","code":"H","rate":2.15,"period":"2026-05","series":"Main refinancing rate" }, {"bank":"boe","code":"L0","rate":3.75,"period":"2026-05","series":"Bank Rate" }, {"bank":"ecb","code":"SRF","rate":2.4,"period":"2026-05","series":"Marginal lending facility" } ],"total":1272,"dataset":"policy-rates","provider":"snb","publishedAt":"2026-07-21 09:00","latestPeriod":"2026-06" },"timestamp":"2026-08-21T02:22:26Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Cube
Any SNB data cube, raw. Upstream: data.snb.ch/api/cube/{cube}/data/json/{lang} (keyless).
GET
/v1/finance:snb/cubepassing · 0.5s1h cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| cube | string | query | SNB cube id. Confirmed: snboffzisa, zirepo, zimoma, rendoblim, devkum. Required. |
| lang | enum | query | Language of the series names: en, de, fr or it. Default en. One of en, de, fr, it. |
| from | string | query | Earliest observation date, YYYY-MM-DD (coarser periods accepted). |
| to | string | query | Latest observation date, YYYY-MM-DD. |
| select | string | query | Dimension filter in the upstream's own syntax. Cuts the payload hard — zirepo is 47 KB unfiltered and 420 bytes with D0(H0). |
| length | number | query | Observations per series, newest first. Default 200, max 20000. |
Example response
{"project":"finance:snb", "data": {"to":null,"cube":"zirepo","from":null,"lang":"en","count":9, "items": [ {"key":"EPB@SNB.zirepo{H0}","item":"H0","name":"Overnight (SARON), close of trading", "path": [ "Overnight (SARON), close of trading" ],"unit":"In percent","count":200,"scale":null,"total":6819, "values": [ {"date":"2026-07-15","value":-0.043818 }, {"date":"2026-07-14","value":-0.042717 }, {"date":"2026-07-13","value":-0.038424 } ],"frequency":"P1D_L","latestDate":"2026-07-15","latestValue":-0.043818 }, {"key":"EPB@SNB.zirepo{H6}","item":"H6","name":"SARON 1M Compound Rate", "path": [ "SARON 1M Compound Rate" ],"unit":"In percent","count":200,"scale":null,"total":6573, "values": [ {"date":"2026-07-15","value":-0.0387 }, {"date":"2026-07-14","value":-0.0385 }, {"date":"2026-07-13","value":-0.0383 } ],"frequency":"P1D_L","latestDate":"2026-07-15","latestValue":-0.0387 }, {"key":"EPB@SNB.zirepo{H7}","item":"H7","name":"SARON 3M Compound Rate", "path": [ "SARON 3M Compound Rate" ],"unit":"In percent","count":200,"scale":null,"total":6573, "values": [ {"date":"2026-07-15","value":-0.0415 }, {"date":"2026-07-14","value":-0.0415 }, {"date":"2026-07-13","value":-0.0415 } ],"frequency":"P1D_L","latestDate":"2026-07-15","latestValue":-0.0415 } ],"total":57838,"select":null,"dataset":"cube","provider":"snb" },"timestamp":"2026-08-21T02:22:26Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Try it
Live request with your key
const data = await client.run( "finance:snb", "cube-dimensions", { cube: "rendoblim", lang: "en" });
Snb
The dimension tree of one SNB cube — the vocabulary `cube`'s `select` filter
5 endpoints329 calls5/5 passing
GET
/v1/…snb/cube-dimensionsslow · 5.0s1d cache
Try it
Parameters
cube
string · query · required
SNB cube id. Confirmed: snboffzisa, zirepo, zimoma, rendoblim, devkum.
lang
enum · query · optional
Language of the dimension names: en, de, fr or it. Default en.
Example response
{"project":"finance:snb", "data": {"cube":"rendoblim","lang":"en","count":15, "items": [ {"id":"D0","name":"Overview", "path": [ "Overview" ],"depth":0,"isLeaf":false }, {"id":"D0_0","name":"CHF Swiss Confederation bond issues", "path": [ "Overview", "CHF Swiss Confederation bond issues" ],"depth":1,"isLeaf":false }, {"id":"1J","name":"1 year", "path": [ "Overview", "CHF Swiss Confederation bond issues", "1 year" ],"depth":2,"isLeaf":true }, {"id":"2J","name":"2 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "2 years" ],"depth":2,"isLeaf":true }, {"id":"3J","name":"3 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "3 years" ],"depth":2,"isLeaf":true }, {"id":"4J","name":"4 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "4 years" ],"depth":2,"isLeaf":true }, {"id":"5J","name":"5 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "5 years" ],"depth":2,"isLeaf":true }, {"id":"6J","name":"6 years", "path": [ "Overview", "CHF Swiss Confederation bond issues", "6 years" ],"depth":2,"isLeaf":true } ],"leaves":13,"dataset":"cube-dimensions","provider":"snb" },"timestamp":"2026-08-21T02:22:26Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Code
const data = await client.run( "finance:snb", "cube-dimensions", { cube: "rendoblim", lang: "en" });