zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Finance/Snb
Logo Snb

Snb

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

Endpoints
5
Requests
324
Updated
5 hours ago
For LLMs
llms.txt
Endpoint healthnot yet measured
  • cube-dimensionsnot measured
  • money-marketnot measured
  • bond-yieldsnot measured
  • policy-ratesnot measured
  • cubenot measured
no measurements yetdaily 01:00 WIB

Playground

5 endpoints
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 examples

Cube Dimensions
zpi-sdkrecommended
// 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);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/finance:snb/cube-dimensions?cube=rendoblim&lang=en" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

5 endpoints · plain text
GETCube Dimensions/v1/finance:snb/cube-dimensionsThe 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.zpi.web.id/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"
}
GETMoney Market/v1/finance:snb/money-marketSARON 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.zpi.web.id/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"
}
GETBond Yields/v1/finance:snb/bond-yieldsSwiss 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.zpi.web.id/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"
}
GETPolicy Rates/v1/finance:snb/policy-ratesOfficial 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.zpi.web.id/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"
}
GETCube/v1/finance:snb/cubeAny 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.zpi.web.id/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

finance/pluang

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.

27.9K calls·1d cache

Binance Vision

finance/binance-vision

Binance's public bulk archive: klines, 5-minute open-interest and long/short metrics, funding, book depth and liquidations, back to 2017.

7.9K calls·1d cache

TradingView

finance/tradingview

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

57K calls·1d cache

Stockbit

finance/stockbit

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

17.7K calls·1d cache

Mempool Space

finance/mempool-space

Recommended fee tiers in sat/vB, as mempool.space's own estimator sees them.

1.1K calls·2m cache

Etherscan

finance/etherscan

Current gas price tiers and base fee, from Etherscan's V2 multichain API.

683 calls·30s cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026