{"api":{"id":"api_abcabf0e71d24fbbd67fb660","slug":"swiss-national-bank-data","name":"Swiss National Bank Data API","description":"Official Swiss National Bank statistics as one row per series and period: exchange rates, interest rates and other published cubes, each with its labelled dimensions, unit, date and value.","kind":"ready_made","visibility":"public","domain":"data.snb.ch","source_url":"https://data.snb.ch/api/cube/devkum/data/json/en","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":7,"created_at":"2026-12-06T03:57:27.713Z","updated_at":"2026-12-06T03:57:27.713Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"cube","type":"string","description":"The SNB cube id the row comes from.","required":true,"coverage":1,"example":"devkum"},{"name":"series_key","type":"string","description":"The SNB's key of the series inside the cube.","required":false,"coverage":1,"example":"E•••@SNB.devkum{M0,EUR1}"},{"name":"dimensions","type":"object","description":"Labelled dimensions of the series, such as currency or rate type.","required":false,"coverage":1,"example":{"Monthly average/End of month":"Monthly average","Currency":"Europe - EUR 1"}},{"name":"unit","type":"string","description":"Unit of the value, such as Rates at 11 am. in CHF.","required":false,"coverage":1,"example":"Rates at 11 am. in CHF"},{"name":"frequency","type":"string","description":"Series frequency as an ISO 8601 duration, such as P1M for monthly.","required":false,"coverage":1,"example":"P1M"},{"name":"date","type":"string","description":"Period of the value, as the SNB writes it (2026-11, 2026-11-05 or 2026-Q3).","required":true,"coverage":1,"example":"2026-01"},{"name":"value","type":"number","description":"The observed value.","required":false,"coverage":1,"example":0.92732}],"inputs":[{"name":"cube","type":"string","description":"SNB cube id, for example devkum (monthly CHF exchange rates) or snbgwdzid (policy rate).","example":"devkum","required":true},{"name":"from_date","type":"string","description":"First period, for example 2026-01 (monthly), 2026-01-15 (daily) or 2026-Q1.","example":"2026-01"},{"name":"to_date","type":"string","description":"Last period, same format as from_date.","example":"2026-11"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"cube":{"description":"The SNB cube id the row comes from.","type":"string"},"date":{"description":"Period of the value, as the SNB writes it (2026-11, 2026-11-05 or 2026-Q3).","type":"string"},"dimensions":{"description":"Labelled dimensions of the series, such as currency or rate type.","type":"object"},"frequency":{"description":"Series frequency as an ISO 8601 duration, such as P1M for monthly.","type":"string"},"series_key":{"description":"The SNB's key of the series inside the cube.","type":"string"},"unit":{"description":"Unit of the value, such as Rates at 11 am. in CHF.","type":"string"},"value":{"description":"The observed value.","type":"number"}},"required":["cube","date"],"title":"Swiss National Bank Data API","type":"object"},"samples":[{"cube":"devkum","series_key":"E•••@SNB.devkum{M0,EUR1}","dimensions":{"Monthly average/End of month":"Monthly average","Currency":"Europe - EUR 1"},"unit":"Rates at 11 am. in CHF","frequency":"P1M","date":"2026-01","value":0.92732},{"cube":"devkum","series_key":"E•••@SNB.devkum{M0,EUR1}","dimensions":{"Monthly average/End of month":"Monthly average","Currency":"Europe - EUR 1"},"unit":"Rates at 11 am. in CHF","frequency":"P1M","date":"2026-02","value":0.91406},{"cube":"devkum","series_key":"E•••@SNB.devkum{M0,EUR1}","dimensions":{"Monthly average/End of month":"Monthly average","Currency":"Europe - EUR 1"},"unit":"Rates at 11 am. in CHF","frequency":"P1M","date":"2026-03","value":0.90912}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"cube":1,"date":1,"dimensions":1,"frequency":1,"series_key":1,"unit":1,"value":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_abcabf0e71d24fbbd67fb660/run","openapi":"https://pullrow.dev/v1/apis/api_abcabf0e71d24fbbd67fb660/openapi.json","contract":"https://pullrow.dev/v1/apis/api_abcabf0e71d24fbbd67fb660/contract.json","page":"https://pullrow.dev/catalog/swiss-national-bank-data"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Data are the SNB's own and may be used with a credit to the Swiss National Bank as source; the SNB does not endorse this API.","You must name a cube id (for example devkum for monthly CHF exchange rates, snbgwdzid for the policy rate); the list of cubes is on data.snb.ch.","One cube can hold dozens of series, so a long period range returns many rows; the run stops at your record limit.","Update frequency follows the SNB release calendar (daily to quarterly depending on the cube)."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"cube","label":"Cube","description":"The SNB cube id the row comes from.","group":"Basics","shown":true,"written":false},{"name":"series_key","label":"Series key","description":"The SNB's key of the series inside the cube.","group":"Basics","shown":true,"written":false},{"name":"dimensions","label":"Dimensions","description":"Labelled dimensions of the series, such as currency or rate type.","group":"Basics","shown":true,"written":false},{"name":"unit","label":"Unit","description":"Unit of the value, such as Rates at 11 am. in CHF.","group":"Basics","shown":true,"written":false},{"name":"frequency","label":"Frequency","description":"Series frequency as an ISO 8601 duration, such as P1M for monthly.","group":"Basics","shown":true,"written":false},{"name":"date","label":"Date","description":"Period of the value, as the SNB writes it (2026-11, 2026-11-05 or 2026-Q3).","group":"Dates","shown":true,"written":false},{"name":"value","label":"Value","description":"The observed value.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"cube","label":"Cube","help":"SNB cube id, for example devkum (monthly CHF exchange rates) or snbgwdzid (policy rate).","example":"devkum","written":false},{"name":"from_date","label":"From date","help":"First period, for example 2026-01 (monthly), 2026-01-15 (daily) or 2026-Q1.","example":"2026-01","written":false},{"name":"to_date","label":"To date","help":"Last period, same format as from_date.","example":"2026-11","written":false}]}},"incidents":[]}