Switzerland Government Data API
Pricing
Pay per usage
Switzerland Government Data API
Search 25 Swiss government data sources — cantonal company registries (Basel, Thurgau), GLEIF LEI, SNB exchange rates, building permits, clinical trials, WHO health indicators, Fedlex legislation, parliament affairs, and TED procurement.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
kane liu
Actor stats
0
Bookmarked
1
Total users
1
Monthly active users
4 hours ago
Last modified
Categories
Share
Switzerland Government Data Search
Search 25 official Swiss government data sources in a single API call — cantonal company registries (Basel-Stadt, Basel-Landschaft, Thurgau), GLEIF LEI entities, SNB exchange rates, building permits and registries, Swiss clinical trials, WHO health indicators, Fedlex federal legislation, parliament affairs, and TED procurement. All data from official Swiss government databases through the SIP Public Data Gateway.
What is Switzerland Government Data Search?
Switzerland Government Data Search is an Apify Actor that queries official Swiss government databases across business, construction, health, legal, and procurement domains. Instead of navigating opendata.swiss, cantonal portals, Fedlex, and SNB separately, you search them all at once.
The Actor calls the SIP Public Data Gateway — a unified API that normalizes responses from 25 Swiss data products. No browser, no scraping — just HTTPS API calls.
Features
- One search, 25 sources — Query cantonal company registries, GLEIF LEI, SNB rates, Fedlex legislation, and TED procurement in parallel
- Five category toggles — Enable or disable business, construction, health, legal, and procurement independently
- Structured JSON output — Every record includes
_product_id,_source,_search_term, and_collected_atmetadata - Multilingual search — Swiss APIs accept German, French, and Italian queries
- Configurable result limits — Control output volume with
maxResultsPerSource(up to 200 per source) - No upstream API keys needed — SIP handles authentication with all upstream Swiss government APIs
Why use Switzerland Government Data Search?
- One search, 25 sources — Query company registries, building data, clinical trials, legislation, and procurement simultaneously
- Official Swiss data — All sources are public databases from Swiss cantons, federal agencies, SNB, and opendata.swiss
- Cantonal company registries — Basel-Stadt, Basel-Landschaft, and Thurgau commercial registers plus GLEIF LEI
- Swiss clinical trials — SNCTP Swiss National Clinical Trials Portal with WHO health indicators
- Fedlex legislation — Swiss federal law and EUR-Lex bilateral agreements with the EU
Use cases
| Who | What |
|---|---|
| Due diligence teams | Search cantonal company registries and GLEIF LEI for Swiss entity verification |
| Financial professionals | Access SNB exchange rates and Swiss-registered LEI entities |
| Pharma companies | Search Swiss clinical trials and WHO health indicators |
| Property professionals | Access Basel building permits, cantonal building registries, and geo.admin data |
| Legal professionals | Query Fedlex legislation, parliament affairs, and EU bilateral agreements |
| Government suppliers | Monitor TED procurement notices for Swiss public tenders |
What data can Switzerland Government Data Search extract?
| Source | Data type | Example fields |
|---|---|---|
| Basel-Stadt companies | Cantonal commercial register | company_name, uid, status, legal_form |
| Basel-Landschaft companies | BL commercial register | company_name, uid, domicile |
| Thurgau companies | TG commercial register | company_name, uid, purpose |
| GLEIF LEI | Swiss LEI-registered entities | legal_name, lei, entity_status |
| SNB exchange rates | Swiss National Bank FX rates | currency, rate, date |
| Basel building permits | BS building permit applications | address, type, status, date |
| Basel buildings | BS/BL building registries | address, building_id, type |
| geo.admin buildings | Federal building data | address, coordinates, type |
| Swiss clinical trials | SNCTP registered trials | title, sponsor, status, phase |
| WHO health indicators | Health statistics for Switzerland | indicator, value, year |
| Fedlex legislation | Swiss federal law | title, sr_number, status |
| Parliament affairs | Federal parliament business | title, type, council, status |
| EUR-Lex bilateral | CH-EU bilateral agreements | title, celex_number, date |
| TED procurement | EU procurement for Switzerland | title, buyer, value, deadline |
Example Output
[{"legal_name": "Nestlé S.A.","lei": "KY37LUS27QQX7BB93L28","entity_status": "ACTIVE","_product_id": "ch_gleif_lei","_source": "gleif_lei","_search_term": "Nestlé","_collected_at": "2026-04-13T10:00:00Z"},{"company_name": "UBS Group AG","uid": "CHE-395.345.924","status": "Active","legal_form": "AG","_product_id": "ch_basel_city_companies","_source": "basel_city_companies","_search_term": "UBS","_collected_at": "2026-04-13T10:00:00Z"}]
How to search Swiss data
- Open the Actor in Apify Console
- Enter search terms (e.g. "Nestlé", "Zurich", "pharma", "Baugesuch")
- Select data categories — business, construction, and health are on by default
- Click Start — the Actor queries all enabled sources in parallel
- Download results as JSON, CSV, or Excel
Example input
{"searchTerms": ["Nestlé", "Novartis"],"includeBusiness": true,"includeConstruction": false,"includeHealth": false,"includeLegal": false,"includeProcurement": false,"maxResultsPerSource": 50}
Output
{"company_name": "Nestlé S.A.","uid": "CHE-116.281.710","domicile": "Vevey","legal_form": "AG","_product_id": "ch_gleif_lei","_source": "gleif_lei","_search_term": "Nestlé","_collected_at": "2026-04-08T14:00:00Z"}
How much does it cost?
Pay-per-event pricing at $2.00 per 1,000 records returned.
- Company lookup (1 term, business only): ~$0.01–0.03
- Full scan (3 terms, all 25 sources): ~$0.30–2.00
No browser overhead. Control costs with maxResultsPerSource.
Data sources (25 Swiss products)
| Category | Sources | Count |
|---|---|---|
| Business | Basel-Stadt/BL/Thurgau companies, GLEIF LEI, SNB rates, opendata business, business aggregate | 7 |
| Construction | BS building permits, BS/BL buildings, geo.admin buildings, opendata construction, construction aggregate | 6 |
| Health | Swiss clinical trials (SNCTP), WHO indicators, opendata health, health aggregate | 4 |
| Legal | Fedlex legislation, parliament affairs, EUR-Lex bilateral, opendata legal, legal aggregate | 5 |
| Procurement | TED CH procurement, opendata procurement, procurement aggregate | 3 |
FAQ
Which cantons are covered? Currently Basel-Stadt (BS), Basel-Landschaft (BL), and Thurgau (TG) have dedicated company registry products. The business aggregate and opendata catalog provide broader coverage.
Does it support German, French, and Italian? Swiss government APIs accept queries in all national languages. Use the language relevant to the canton or data source you're targeting.
What is the opendata catalog? opendata.swiss dataset catalog searches — these return dataset metadata (title, description, publisher) rather than individual records. Useful for discovering available Swiss open data.
Use as MCP Tool (AI Agent Integration)
This Actor works as an MCP tool — AI agents (Claude, GPT, Cursor) can discover and run it automatically.
Quick setup (Claude Desktop / Cursor / VS Code)
Add to your MCP config:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com","headers": {"Authorization": "Bearer YOUR_APIFY_TOKEN"}}}}
Then ask your AI: "Search for Nestlé in Swiss government databases"
Direct API call
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("lentic_clockss/switzerland-data-search").call(run_input={"searchTerms": ["Nestlé"], "maxResultsPerSource": 50})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Other Data API Actors
- EU Business & Company Registry API
- France Government Data API
- Denmark Government Data API
- US Financial Data API
🔗 Integrations
Connect this Actor to 1,000+ apps with zero code changes:
| Platform | How to Connect |
|---|---|
| Make | Search "Apify" in Make → select "Run Actor" → Actor ID: lentic_clockss/switzerland-data-search |
| n8n | Add Apify node → "Run Actor" action → Actor ID: lentic_clockss/switzerland-data-search |
| Zapier | Use the Apify integration → "Run Actor" action |
| LangChain | See Python example below |
| MCP | Connect via npx @anthropic-ai/mcp apify → this Actor is auto-discoverable |
Python (LangChain AI agent):
from langchain_apify import ApifyActorsTooltool = ApifyActorsTool("lentic_clockss/switzerland-data-search")result = tool.invoke({"searchTerms": ["Nestlé"], "maxResults": 5})
→ Browse all Actors: apify.com/lentic_clockss
Also Available
- Postman Collection: Fork and test in Postman — pre-built requests with example responses
- GitHub: Collection source files — import JSON into any API client
- Direct API:
https://opendata.best/api/v1/data— use with any HTTP client and your API key