VOOZH about

URL: https://apify.com/parseforge/snb-swiss-rates-scraper

โ‡ฑ SNB Swiss Rates Scraper ยท Apify


Pricing

from $7.50 / 1,000 results

Go to Apify Store

SNB Swiss Rates Scraper

Query the Swiss National Bank data portal for bond yields, the policy rate, and daily or monthly FX cubes. Each record carries date, rate_type, value, maturity, and currency. Pick a cube and date range. Useful for rates research, CHF currency modeling, and macro dashboards.

Pricing

from $7.50 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 days ago

Last modified

Share

๐Ÿ‘ ParseForge Banner

๐Ÿ“Š SNB Swiss National Bank Rates Scraper

๐Ÿš€ Export Swiss National Bank rates data in seconds. Structured records direct from the public data.snb.ch endpoint to CSV, Excel, JSON, or XML.

๐Ÿ•’ Last updated: 2026-05-29 ยท ๐Ÿ“Š 9 fields per record ยท Public REST API ยท Swiss National Bank rates

The SNB Swiss National Bank Rates Scraper turns the data.snb.ch public REST endpoint into a clean, structured dataset. It calls the endpoint with the parameters you supply, parses the JSON, and flattens each record into one row.

Dataset coverage depends on the upstream source. All field names are clean snake_case / camelCase, numeric strings are auto-cast to numbers, and upstream rate-limit notes are surfaced as a clean error record instead of crashing your pipeline.

๐ŸŽฏ Target Audience๐Ÿ’ก Primary Use Cases
๐Ÿ“Š AnalystsPull structured records for analysis
๐Ÿข Finance teamsSnapshot data for dashboards and reports
๐Ÿค– ML engineersBuild training sets from public sources
๐Ÿ“ฐ JournalistsVerify numbers for stories with one click
๐Ÿ‘ฉโ€๐Ÿ’ป DevelopersMirror upstream data into your own DB without writing client code
๐ŸŽ“ ResearchersRun reproducible studies on public data

๐Ÿ“‹ What the SNB Swiss National Bank Rates Scraper does

  • Calls the public data.snb.ch endpoint.
  • Parses the JSON response and flattens each record into a clean row.
  • Casts numeric fields to numbers so they import cleanly into Excel and BI tools.
  • Surfaces upstream rate-limit or error notes as a single-row error record instead of crashing.
  • Exports as CSV, Excel, JSON, JSONL, XML, RSS, or HTML.

๐Ÿ’ก Why it matters: The raw Swiss National Bank rates JSON is verbose and hard to consume in spreadsheets. This actor normalizes the payload into one row per record so the data drops straight into pandas, BigQuery, or a Google Sheet.

๐ŸŽฌ Full Demo

๐Ÿšง Coming soon.

โš™๏ธ Input

FieldTypeRequiredDescription
cubeenumNorendoblid / snbpolizid / devkua / devkum.
dateFromstringNoYYYY-MM-DD.
dateTostringNoYYYY-MM-DD.
maxItemsintegerNoFree users: 10. Paid users: up to 1,000,000. Prefill: 10.

Example 1:

{
"cube":"rendoblid",
"maxItems":100
}

Example 2:

{
"cube":"snbpolizid",
"dateFrom":"2025-01-01",
"dateTo":"2026-05-29",
"maxItems":200
}

โš ๏ธ Good to Know: The Swiss National Bank rates API is rate-limited. This actor surfaces rate-limit notes as a clean error record so your downstream pipeline can decide how to retry.

๐Ÿ“Š Output

Each record is a flat object. error is always last.

FieldTypeDescription
๐Ÿ“… datestringObservation date.
๐ŸงŠ cubestringSNB cube ID.
๐Ÿท๏ธ rateTypestringType of rate.
๐Ÿ“ˆ valuenumberReported rate.
โณ maturitystringBond maturity if applicable.
๐Ÿ’ฑ currencystringCurrency.
๐Ÿ”— sourcestringSNB source label.
๐Ÿ•’ scrapedAtstringFetch timestamp.
โŒ errorstringSet on upstream error.

Sample record:

{
"date":"2026-05-28",
"cube":"rendoblid",
"rateType":"CHF",
"value":0.42,
"maturity":"10Y",
"currency":"CHF",
"source":"SNB",
"scrapedAt":"2026-05-29T12:00:00.000Z",
"error":null
}

โœจ Why choose this Actor

| ๐Ÿ†“ | Works with the free, public Swiss National Bank rates endpoint. | | ๐Ÿงน | Clean snake_case keys ready for BI. | | ๐Ÿ”ข | Auto-casts numeric strings to real numbers. | | ๐Ÿ›Ÿ | Surfaces rate-limit notes as a clean error record. | | ๐Ÿ”Œ | Drop-in dataset replacement for the raw API. | | ๐Ÿ’พ | Push to dataset โ†’ instant CSV / Excel / JSON / XML / RSS / HTML export. |

๐Ÿ“ˆ How it compares to alternatives

ApproachSetup timeClean keys?Numeric casting?Rate-limit handling?
Roll your own fetch30 min +โŒโŒโŒ
Generic API client1 hr install + scriptpartialpartialpartial
This Actor5 sec, no installโœ…โœ…โœ…

๐Ÿš€ How to use

  1. Click Try for free.
  2. Adjust input fields (or leave defaults).
  3. Click Start. Within seconds, your dataset is ready โ€” download as CSV, Excel, JSON, or XML, or pipe to your warehouse.

๐Ÿ’ผ Business use cases

๐Ÿ“Š Analytics & dashboards. Pull Swiss National Bank rates data into a single CSV, feed BI tools, share with stakeholders.

๐Ÿค– ML feature engineering. Build clean training sets from Swiss National Bank rates for downstream models.

๐Ÿ“ฐ Newsroom fact-checking. Verify numbers for stories in 30 seconds.

๐Ÿข Treasury / ops. Schedule daily runs and pipe to your dashboard.

๐Ÿ”Œ Automating SNB Swiss National Bank Rates Scraper

  • Make / Zapier: trigger this actor on a schedule, push results to Airtable, Google Sheets, or Slack.
  • Cron schedule: native Apify scheduler.
  • Webhooks: POST to your endpoint the moment a run finishes.
  • Pipe to BigQuery / Snowflake / Postgres: native Apify integrations.

๐ŸŒŸ Beyond business use cases

๐ŸŽ“ Education. Teach a class with real Swiss National Bank rates data instead of toy datasets.

๐Ÿงช Personal research. Track Swiss National Bank rates signals on your own schedule.

๐Ÿค Non-profit & open data. Build public dashboards without writing client code.

๐Ÿงฐ Tinkering & prototyping. Spin up a feed in 5 seconds to test a new idea.

๐Ÿค– Ask an AI assistant about this scraper

Pop this README into ChatGPT, Claude, or any AI assistant and ask it to map your specific workflow to the actor's inputs.

โ“ Frequently Asked Questions

โ“ Do I need an API key? No. The SNB data API is open.

โ“ Which cubes are supported? Bond yields, policy rate, FX daily, FX monthly.

โ“ How do I find more cubes? Browse data.snb.ch.

โ“ Can I filter by date? Yes. Use dateFrom and dateTo.

โ“ What units? Percent for rates, CHF for FX.

โ“ What format can I download? CSV, Excel, JSON, JSONL, XML, RSS, or HTML.

๐Ÿ”Œ Integrate with any app

Apify ships native integrations with Make, Zapier, Slack, Discord, Google Drive, Google Sheets, Gmail, Airbyte, Keboola, Telegram, GitHub, and any REST API or webhook endpoint.

๐Ÿ”— Recommended Actors

ActorWhat it does
ParseForge Alpha Vantage ScraperStocks, FX, crypto, indicators.
ParseForge Yahoo Finance ScraperEquities, funds, indices.
ParseForge OurAirports ScraperGlobal airport database.
ParseForge NBA Stats ScraperPlayer and team stats from NBA.com.

๐Ÿ’ก Pro Tip: browse the complete ParseForge collection for 900+ production-grade scrapers.


Disclaimer: This actor scrapes only publicly available data. ParseForge is not affiliated with, endorsed by, or sponsored by any of the third-party services referenced. Users are responsible for complying with the target site's terms of service and applicable law. Create a free account w/ $5 credit.

You might also like

SNB Swiss National Bank Cubes Scraper

parseforge/snb-switzerland-cubes-scraper

Pull observations from any Swiss National Bank data cube such as devkua or plkons. Each record returns cubeId, key, dimension, dimensionItem, frequency, unit, date, and value, covering FX, monetary aggregates, and balance of payments. Useful for Swiss macro dashboards and finance research.

BIS Central Bank Policy Rates Scraper

parseforge/bis-policy-rates-scraper

Tap into the Bank for International Settlements feed for central bank policy rates worldwide. Filter by country code (US, XM, GB, JP, more) and pick daily or monthly frequency. Returns reference date, rate value, and country tag for macro models and rate trackers.

FX Rates Scraper โ€” ECB Reference Exchange Rates

compute-edge/frankfurter-fx-rates-scraper

Fetch foreign exchange rates published by the European Central Bank. Supports latest spot rates, historical date ranges, custom base currency, and target currency filtering.

TCMB Turkey Daily FX Rates Scraper

parseforge/tcmb-turkey-fx-scraper

Tap into the Central Bank of the Republic of Turkey daily reference bulletin for official TRY quotes. Pick a date or use today by default to receive currency code, buy and sell rates, and effective date. Useful for treasury teams, accounting workflows, and FX research.

Norges Bank Norway Exchange Rates Scraper

parseforge/norges-bank-norway-scraper

Pull NOK exchange rates from Norges Bank by currency code, frequency, and start period. Each observation returns series, date, value, currency, and frequency, covering business daily, monthly, and annual fixings. Useful for FX dashboards, treasury reporting, and Nordic finance analytics.

NBP Poland Exchange Rates Scraper

parseforge/nbp-poland-rates-scraper

Tap into the National Bank of Poland public API for daily PLN reference rates. Pick table A, B, or C and request the last N publications to receive currency code, mid rate, bid, ask, and publication date. Useful for treasury teams, accounting, and FX monitoring.

Forex Currency Exchange

benthepythondev/forex-exchange-intelligence

Track real-time currency exchange rates from the European Central Bank. Get forex rates for USD, EUR, GBP, JPY, CHF, and 30+ world currencies. Historical rate lookup, currency conversion, and cross-rate calculations.

CBR Russia Daily Exchange Rates Scraper

parseforge/cbr-russia-rates-v2-scraper

Fetch the Central Bank of Russia daily currency fixings. Each row returns date, previousDate, currency, code, nominal, value, and previous, covering the full multicurrency basket against the ruble. Useful for treasury, FX analytics, and sanctions monitoring workflows.

CNB Czech National Bank Exchange Rates Scraper

parseforge/cnb-czech-rates-v2-scraper

Pull the daily Czech National Bank CZK fixing list. Each currency row returns date, country, currency, amount, code, and rate, sourced from the official CNB feed. Useful for Czech treasury reporting, multicurrency invoicing, and central European finance dashboards.