zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Finance/Snb
Logo Snb

Snb

The dimension tree of one SNB cube — the vocabulary `cube`'s `select` filter

5 endpoints5 endpoints on this scraper329 calls329 calls so farupdated last monthLast updated 8/21/2026, 2:22:26 AMBusy: 10+ calls so farllms.txt
Endpoints5

5/5 passing
checked 13 hours ago · daily 01:00 WIB

Cube Dimensions

The dimension tree of one SNB cube — the vocabulary `cube`'s `select` filter

GET/v1/finance:snb/cube-dimensions1d cache2 paramschecking key…
Parameters
cubestringrequired

SNB cube id. Confirmed: snboffzisa, zirepo, zimoma, rendoblim, devkum.

langenum

Language of the dimension names: en, de, fr or it. Default en.

·
Response
EXAMPLE
{
  "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"
}

Code

Cube Dimensions
index.ts
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("finance:snb", "cube-dimensions", {
  "cube": "rendoblim",
  "lang": "en"
});
console.log(data);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

5 endpoints · plain text
GET
Cube Dimensions/v1/finance:snb/cube-dimensions
2 params

The dimension tree of one SNB cube — the vocabulary `cube`'s `select` filter

Parameters

cubestringrequired
SNB cube id. Confirmed: snboffzisa, zirepo, zimoma, rendoblim, devkum.
langenumoptional
Language of the dimension names: en, de, fr or it. Default en. Values: en, de, fr, it.

Request

curl -X GET "https://api.zapi.ink/v1/finance:snb/cube-dimensions?cube=rendoblim&lang=en" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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"
}
GET
Money Market/v1/finance:snb/money-market
5 params

SARON and the CHF money-market complex, in one answer.

Parameters

setenumoptional
Which table: saron (the SARON term structure), reference (SARON, TOMN, EGMBF, LIBOR and the non-CHF benchmarks), or all. Default all. Values: all, saron, reference.
fromstringoptional
Earliest observation date, YYYY-MM-DD.
tostringoptional
Latest observation date, YYYY-MM-DD.
selectstringoptional
Dimension filter in the upstream's own syntax, applied to both tables.
lengthnumberoptional
Observations per series, newest first. Default 100, max 20000.

Request

curl -X GET "https://api.zapi.ink/v1/finance:snb/money-market?set=saron&from=2026-07-01&to=2026-07-15&select=D0%28H0%2CH6%29&length=30" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": null,
  "set": "saron",
  "from": null,
  "count": 9,
  "cubes": [
    "zirepo"
  ],
  "items": [
    {
      "key": "[email protected]{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": "[email protected]{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": "[email protected]{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"
}
GET
Bond Yields/v1/finance:snb/bond-yields
4 params

Swiss Confederation bond yields by maturity.

Parameters

maturitystringoptional
Maturities in years, comma-separated. Published: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 30. Default all.
fromstringoptional
Earliest month, YYYY-MM-DD or YYYY-MM.
tostringoptional
Latest month, YYYY-MM-DD or YYYY-MM.
lengthnumberoptional
Observations to return, newest first. Default 200, max 20000.

Request

curl -X GET "https://api.zapi.ink/v1/finance:snb/bond-yields?maturity=10%2C30&from=2025-01-01&to=2025-07-31&length=60" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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"
}
GET
Policy Rates/v1/finance:snb/policy-rates
4 params

Official policy rates for five central banks, from one Swiss cube.

Parameters

bankstringoptional
Central banks to return, comma-separated: snb, fed, ecb, boe, boj. Default all five.
fromstringoptional
Earliest month, YYYY-MM-DD or YYYY-MM.
tostringoptional
Latest month, YYYY-MM-DD or YYYY-MM.
lengthnumberoptional
Observations to return, newest first. Default 200, max 5000.

Request

curl -X GET "https://api.zapi.ink/v1/finance:snb/policy-rates?bank=ecb%2Cboe&from=2026-01-01&to=2026-06-30&length=60" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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"
}
GET
Cube/v1/finance:snb/cube
6 params

Any SNB data cube, raw. Upstream: data.snb.ch/api/cube/{cube}/data/json/{lang} (keyless).

Parameters

cubestringrequired
SNB cube id. Confirmed: snboffzisa, zirepo, zimoma, rendoblim, devkum.
langenumoptional
Language of the series names: en, de, fr or it. Default en. Values: en, de, fr, it.
fromstringoptional
Earliest observation date, YYYY-MM-DD (coarser periods accepted).
tostringoptional
Latest observation date, YYYY-MM-DD.
selectstringoptional
Dimension filter in the upstream's own syntax. Cuts the payload hard — zirepo is 47 KB unfiltered and 420 bytes with D0(H0).
lengthnumberoptional
Observations per series, newest first. Default 200, max 20000.

Request

curl -X GET "https://api.zapi.ink/v1/finance:snb/cube?cube=zirepo&lang=en&from=2026-07-01&to=2026-08-20&select=D0%28H0%2CH6%29&length=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": null,
  "cube": "zirepo",
  "from": null,
  "lang": "en",
  "count": 9,
  "items": [
    {
      "key": "[email protected]{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": "[email protected]{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": "[email protected]{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"
}

Related APIs

More in finance

Pluang

financepluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

1.7M1.7M calls so far1dResponses cached for 1d
Busy: 10+ calls so far

IDX (Bursa Efek Indonesia)

financeidx

Data Bursa Efek Indonesia: ringkasan saham & indeks, top movers, broker, emiten, laporan keuangan, berita, dan passthrough ke ratusan endpoint /primary/.

766K766K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

TradingView

financetradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

342.6K342.6K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Stockbit

financestockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

116K116K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Investing

financeinvesting

Data pasar finansial lengkap — quote saham/forex/crypto/komoditas, teknikal, OHLCV historis, berita, analisis, dan kalender ekonomi.

69.6K69.6K calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Binance Futures

financebinance-futures

USD-M perpetual futures market data: funding, premium index, open interest, long/short ratios, candles and depth.

40.3K40.3K calls so far10mResponses cached for 10m
Busy: 10+ calls so far
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.