SNB Swiss National Bank Cubes Scraper
Pricing
from $7.50 / 1,000 results
SNB Swiss National Bank Cubes Scraper
Scrapes Swiss National Bank data cubes by cube ID and returns each cube's dataset as a flat table. Supports bulk collection up to one million cubes.
Pricing
from $7.50 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Share
SNB Swiss National Bank Cubes Scraper
Scrape Swiss National Bank data cubes by ID, up to a million per run. Each cube returns its full dataset with all dimensions and measures, ready for analysis. No login or API key. Export to CSV, JSON, Excel, or XML.
The Swiss National Bank publishes economic and financial data as data cubes, but downloading them manually is slow and error-prone. This actor reads the public cube API directly, so you can pull any cube by its identifier and get a clean, flat dataset. No registration, no rate-limit headaches, the numbers you need.
| Who uses it | What they scrape SNB Swiss National Bank for |
|---|---|
| Economists | Pull monetary policy data for research papers and forecasts |
| Financial analysts | Monitor banking statistics and interest rates for market reports |
| Data journalists | Get official SNB figures for news stories and visualizations |
| Academic researchers | Collect time series for econometric models and studies |
What it does
This Actor collects Swiss National Bank data cubes by cube ID and returns each cube's dataset as a flat table with all dimensions and measures.
- š¦ Cube by ID: specify any SNB cube identifier like devkua or plkons, and get its full dataset.
- š¢ Bulk collection: set maxItems to pull multiple cubes in one run, up to a million.
- š Flat output: every cube is returned as a clean table with all dimensions and measures, no nested JSON.
- ā” No API key: the actor uses the public SNB endpoint, so you can start scraping immediately.
Results export to CSV, JSON, Excel, or XML, or straight from the API.
What you can do with SNB Swiss National Bank data
š Track monetary policy indicators.
An economist runs the actor with cubeId set to a key rate cube, then feeds the output into a forecasting model to predict policy changes.
š¦ Monitor banking sector health.
A financial analyst collects banking statistics cubes on a schedule, then compares liquidity and capital ratios across quarters for a risk report.
š° Build data-driven news stories.
A journalist pulls the latest balance of payments cube, then creates an interactive chart showing Switzerland's trade flows for an article.
š Gather data for academic research.
A PhD student scrapes multiple SNB cubes into a single dataset, then runs regressions on inflation and unemployment for a dissertation chapter.
Why choose this scraper
| What you get | |
|---|---|
| Official source | Data comes directly from the Swiss National Bank, so it is authoritative and up to date. |
| Flexible input | Scrape one cube or thousands, with a simple integer limit. |
| Clean schema | Each cube is flattened into rows and columns, ready for spreadsheets or databases. |
| No setup | No OAuth, no app registration, no API key. run the actor. |
How it compares
No other Store actor targets SNB Swiss National Bank the same way, so the honest comparison is with the alternatives teams actually weigh.
| SNB Swiss National Bank Cubes Scraper | Build it in-house | By hand | |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When SNB Swiss National Bank changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |
Configure the run
Drive the Actor with a specific cube ID or collect multiple cubes by setting maxItems. The optional cubeId filter forwards directly to SNB Switzerland, so only the data you request is returned. The Input tab lists every parameter.
A first run with the defaults:
{"maxItems": 10,"cubeId": "devkua"}
A larger pull:
{"maxItems": 200,"cubeId": "devkua"}
Pricing
Pay-per-result: $0.0085 per result collected. You pay only for the results written to your dataset.
| Results collected | Approximate cost |
|---|---|
| 100 results | $0.85 |
| 1,000 results | $8.50 |
| 10,000 results | $85.00 |
New Apify accounts start with $5 in free credit.
Free users
Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.
Run it
- Create a free Apify account with $5 in credit.
- Open the SNB Swiss National Bank Cubes Scraper.
- Set your inputs and any filters, then click Start.
- Export the results as CSV, Excel, JSON, or XML from the Dataset tab.
Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.
Use with AI agents (MCP)
Give an AI agent live access to SNB Swiss National Bank through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:
$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/snb-switzerland-cubes-scraper"
Then prompt it in plain language to run the scraper and read back the results.
Troubleshooting
Why am I getting no results?
Make sure the cubeId is correct and that maxItems is at least 1. If you leave cubeId empty, the actor will try to collect all cubes, which may take longer.
The run fails with a timeout.
Reduce maxItems or specify a single cubeId. Large collections can take time, so consider splitting into multiple runs.
The output has too many columns.
SNB cubes can have many dimensions. Use the Apify dataset tools to select only the columns you need after the run.
I get an error about an invalid cube ID.
Double-check the cube ID on the SNB data portal. IDs are case-sensitive and usually lowercase, like devkua.
FAQ
| Question | Answer |
|---|---|
| What is a data cube? | A data cube is a multidimensional dataset published by the SNB, containing measures across dimensions like time, region, or category. This actor returns the cube's data as a flat table. |
| How do I find the cube ID? | Visit the SNB data portal, browse to the dataset you want, and the cube ID is usually in the URL or metadata. Common examples are devkua and plkons. |
| Can I scrape all cubes at once? | Yes, set maxItems to a high number like 1000000 and leave cubeId empty. The actor will collect as many cubes as the SNB endpoint allows. |
| Do I need an API key? | No, this actor uses the public SNB data endpoint, so no authentication is required. |
| What format is the output? | The actor returns each cube as a flat dataset with rows and columns. You can export to CSV, JSON, Excel, or XML from the Apify platform. |
| Is the data up to date? | Yes, the actor reads directly from the SNB's live API, so you get the latest published figures each time you run it. |
| Can I schedule this actor to run regularly? | Yes, you can set up a schedule in Apify to run the actor daily, weekly, or at any interval, and store the results automatically. |
| What if a cube ID is invalid? | The actor will return an error for that cube. Check the ID on the SNB portal and try again. |
Related actors
- snb-switzerland-cubes-scraper: Use this actor to scrape Swiss National Bank data cubes by ID.
Browse the full ParseForge collection for more scrapers.
š Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.
ā ļø Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Swiss National Bank. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.
