Snb

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

5 endpoints329 calls5/5 passing
Get API key
GET/v1/…snb/cube-dimensions
slow · 5.0s1d cache

Try it

Checking your keys…

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" });