Swiss Official Gazette Scraper (SHAB / FOSC / Handelsregister) avatar

Swiss Official Gazette Scraper (SHAB / FOSC / Handelsregister)

Pricing

from $0.0175 / result

Go to Apify Store
Swiss Official Gazette Scraper (SHAB / FOSC / Handelsregister)

Swiss Official Gazette Scraper (SHAB / FOSC / Handelsregister)

Extract real-time Swiss corporate data. Monitor the commercial register (Handelsregister / Registre du commerce) and bankruptcies (Konkurse / Faillites).

Pricing

from $0.0175 / result

Rating

0.0

(0)

Developer

Remo

Remo

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

🇨🇭 SHAB Scraper — Swiss Official Gazette of Commerce Extractor

The industry-standard, enterprise-grade extraction tool for the Swiss Official Gazette of Commerce (Schweizerisches Handelsamtsblatt - SHAB / Feuille officielle suisse du commerce - FOSC / Foglio ufficiale svizzero di commercio - FUSC).

Stop wrestling with complex, deeply nested APIs. The SHAB Scraper transforms raw Swiss commercial registry and bankruptcy data into clean, flattened, fully enriched, and AI-ready JSON records. Whether you are building compliance monitors, conducting due diligence, or training financial LLMs, this is the most robust and reliable way to access Swiss corporate data.

Extract highly structured data from the Commercial Register (Handelsregister / Registre du commerce), Bankruptcy notices (Konkurse / Faillites), Debt Enforcement (Schuldbetreibungen / Poursuites), and official cantonal gazettes (Amtsblatt / Feuille d'avis).


🏆 Why this is the definitive SHAB integration

  • Enterprise-Grade Data Flattening: We've done the heavy lifting. Complex, nested debtor data and legal texts are automatically flattened into easy-to-digest fields (debtorName, debtorUid, legalRemedy), saving you hours of data engineering.
  • AI & Agent Ready: Fully documented dataset and output schemas make this Actor plug-and-play for AI Agents, LLMs, and Apify's MCP (Model Context Protocol).
  • Unmatched Reliability (Auto-Chunking): The SHAB API strictly limits queries to 3,000 results. Our built-in auto-chunking engine automatically detects massive queries (like multi-year historical backfills) and recursively splits them into safe sub-windows, ensuring you never drop a single record.
  • Comprehensive Coverage: Native support for all 16 federal rubrics and 15 hosted cantonal gazettes (including Zürich, Bern, Basel, Ticino).
  • Human-Readable Enrichment: Arcane API codes (e.g., HR01, KK02) are instantly enriched with human-readable, translated names (Neueintragung, Konkurspublikation), paired with full municipality lookups.

🚀 Strategic Use Cases

  • Due Diligence & KYC: Set up daily monitors on new commercial register entries (HR01 / Neueintragung), mutations (HR02 / Mutation), or deletions (HR03 / Löschung) for automated risk profiling.
  • Credit Risk & Bankruptcy Intelligence: Feed real-time bankruptcy (KK / Faillites) and debt enforcement (SB) publications directly into your CRM or risk models.
  • Legal & Regulatory Research: Execute full-text extraction of court rulings (UV), inheritance proceedings (ES / Erbschaft), or debt restructuring (NA / Nachlassverfahren).
  • B2B Lead Generation: Automatically extract fresh company UIDs (CHE-XXX.XXX.XXX), legal forms, registered addresses, and executive board changes.

⚙️ Input Parameters

Configure your extraction with granular precision:

ParameterTypeDefaultDescription
rubricsarray[] (all)Target specific categories (e.g., ["HR", "KK"]). Leave empty for all 16.
subRubricsarray[]Laser-target sub-categories (e.g. ["HR01", "HR02"]).
publicationStatesarray["PUBLISHED"]Fetch PUBLISHED and/or CANCELLED notices.
languagestring"" (all)Filter strictly by language: de, fr, it, en.
tenantsarray["shab"]Target the federal gazette (shab) or cantonal gazettes (e.g., kabzh).
searchPeriodstringLAST7DAYSQuick filters: TODAY, LAST7DAYS, LAST30DAYS, or CUSTOM.
startDatestringRequired if using CUSTOM. Format: YYYY-MM-DD.
endDatestringRequired if using CUSTOM. Format: YYYY-MM-DD.
includeContentbooleantrueExtract the full, structured payload (highly recommended).
enrichLookupsbooleantrueEmbed human-readable names and translated rubrics directly into the data.
autoChunkOnLargeResultsbooleantrueAutomatically bypass the 3,000-item API limit by date-chunking huge queries.
maxItemsinteger0 (unlimit)Set a hard cap on results (ideal for testing and schema validation).
pageSizeinteger100Items per API request. Max 100.

📊 The Gold-Standard Output Dataset

Each publication is delivered as a single, perfectly flattened JSON object designed for immediate downstream processing.

Core Fields

FieldTypeDescription
idstringUnique SHAB identifier.
publicationNumberstringThe official publication sequence (e.g., HR02-1006640827).
publicationDatestringISO 8601 publication timestamp.
titlestringPublication title in the extracted language.
languagestringThe language of the publication (de, fr, it).
rubric / subRubricstringHuman-readable category and sub-category (e.g., "Bankruptcies").
tenantstringThe publishing gazette name.
cantonsarrayApplicable Swiss canton codes (e.g., ["ZH", "ZG"]).
debtorNamestring[Enriched] Automatically resolved name of the target person or company.
debtorAddressstring[Enriched] Formatted primary address of the debtor.
debtorTypestringPERSON or COMPANY.
debtorUidstringThe official Swiss UID (CHE-XXX.XXX.XXX), if applicable.
debtorPlaceOfOriginstringThe person's place of origin, if applicable.
registrationOfficestringResponsible office (e.g., "Konkursamt Zürich").
registrationOfficeAddressstringFormatted address of the registration office.
legalRemedystringCleaned legal basis text (HTML breaks converted to safe newlines).
claimDeadlinestringDeadline for creditors to file claims, if applicable.
urlstringDirect permalink to the official SHAB / FOSC publication.

Pristine JSON Example

{
"id": "00f4fc49-2b3d-4def-8bf3-271e5d50bde2",
"publicationNumber": "KK04-0000054869",
"publicationDate": "2026-01-30T00:00:00.000Z",
"title": "Kollokationsplan und Inventar Klara Hinterberger, ausgeschlagene Erbschaft",
"language": "de",
"rubric": "Konkurse",
"subRubric": "Kollokationsplan und Inventar",
"tenant": "Schweizerisches Handelsamtsblatt",
"cantons": ["SG"],
"debtorName": "Klara Hinterberger, ausgeschlagene Erbschaft",
"debtorAddress": "Langgasse 120 9008 St.Gallen",
"debtorType": "PERSON",
"debtorPlaceOfOrigin": "Altstätten SG",
"registrationOffice": "Konkursamt St.Gallen",
"registrationOfficeAddress": "Davidstrasse 27 9000 St. Gallen",
"legalRemedy": "Ein Gläubiger, der den Kollokationsplan anfechten will...",
"claimDeadline": "2026-02-19T00:00:00.000Z",
"url": "https://www.shab.ch/shab/publication-detail/00f4fc49-2b3d-4def-8bf3-271e5d50bde2?lang=de"
}

📈 Key-Value Store: Run Summary

For programmatic workflow control, the Actor generates a real-time analytics payload at the end of every successful run. Found in the default Key-Value Store under RUN-SUMMARY:

{
"publicationsPushed": 14205,
"dateWindows": 8
}

(Note: dateWindows indicates how many sub-queries the auto-chunker generated to safely bypass the SHAB 3,000-item limits).


🗂️ Reference: Rubrics & Data Scope

To optimize your searches, use the following codes for the rubrics and subRubrics arrays.

CodeGerman NameEnglish Equivalent
HRHandelsregistereintragungenCommercial Register Entries
KKKonkurseBankruptcies
SBSchuldbetreibungenDebt Enforcement
ESErbschaftInheritance
FMFinanzmarktFinancial Market
ABArbeitEmployment
AWAbhandengekommene WertpapiereLost Securities
AZAnzeigenNotices
BBWeitere Register und Bekanntmachungen BundFederal Register Announcements
BHBekanntmachungen nach HR-VerordnungCommercial Register Ordinance Notices
EKEdelmetallkontrollePrecious Metals Control
LSLiquidationsschuldenrufeLiquidation Calls to Creditors
NANachlassverfahrenDebt Restructuring Proceedings
SRWeitere gesellschaftsrechtliche SchuldenrufeOther Corporate Law Calls
UPMitteilungen an GesellschafterCompany Member Notifications
UVGerichtliche Entscheide und VorladungenCourt Rulings and Summons

Common Sub-Rubric Codes (Targeted Scraping)

CodeDescription (DE / EN / FR)
HR01Neueintrag / New commercial register entry / Nouvelle inscription
HR02Mutation / Change or amendment / Mutation
HR03Löschung / Deletion / Radiation
KK01Vorläufige Konkursanzeige / Preliminary bankruptcy notice
KK02Konkurspublikation (Schuldenruf) / Bankruptcy publication
KK06Schluss des Konkursverfahrens / Close of bankruptcy
SB01Betreibungsamtliche Grundstücksteigerung / Property auction
SB02Zahlungsbefehl / Payment order / Commandement de payer
ES02Erbenaufruf / Call to heirs / Appel aux héritiers
AW01Abhandengekommene Wertpapiere / Lost securities notice

🏛 Supported Tenants (Gazettes)

Filter by specific cantonal official gazettes using the tenants input parameter.

IDGazette / AmtsblattCanton
shabSHAB / FOSC / FUSC (Federal)
kabbeAmtsblatt des Kantons BernBE
kabzhAmtsblatt des Kantons ZürichZH
kabbsKantonsblatt Basel-StadtBS
kabblAmtsblatt des Kantons Basel-LandschaftBL
kabtiFoglio ufficiale del Canton TicinoTI
kabsoAmtsblatt des Kantons SolothurnSO
kabzgAmtsblatt des Kantons ZugZG
kabvsAmtsblatt des Kantons Wallis / Bulletin officielVS
kabshAmtsblatt des Kantons SchaffhausenSH
kabszAmtsblatt des Kantons SchwyzSZ
kabarAmtsblatt des Kantons Appenzell AusserrhodenAR
kabnwAmtsblatt des Kantons NidwaldenNW
kabowAmtsblatt des Kantons ObwaldenOW

Note on external cantons: Cantons running proprietary, non-federated portals (e.g., AG, GE, VD) are structurally isolated from the unified SHAB API and are currently not supported pending the planned 2027 national platform integration.


💡 Tips & Known Limits

  • 3,000-Item API Ceiling: Any single date-windowed query to the official API is capped at 3,000 results. Ensure autoChunkOnLargeResults is enabled so the Actor can automatically split large custom date ranges into safe sub-windows.
  • Language Filter Narrows Results: Adding language="de" typically reduces the result set by ~30% compared to fetching all languages, as publications are usually filed in the primary language of the canton.
  • Cancelled Publications: Over 90% of CANCELLED SHAB publications belong to AW01 (lost securities revocations). Searching for cancelled bankruptcies (KK) returns very few records.
  • Custom Date Ranges: When searchPeriod is set to CUSTOM, both startDate and endDate MUST be provided in YYYY-MM-DD format.

💰 Pricing Model

This Actor utilizes a strict Pay-per-event pricing model. You are charged a base fee for starting the Actor, plus a small fee for each publication successfully extracted and saved to the dataset. Empty runs only cost the Actor Start fee.

Base Pricing:

  • Actor Start: $0.10 per run
  • Result (Dataset Item): $0.025 per extracted publication

Volume Discounts: Apify automatically applies volume discounts based on your subscription tier:

Subscription TierActor Start FeePrice Per Result
No discount$0.10$0.0250
Bronze$0.09$0.0225
Silver$0.08$0.0200
Gold$0.07$0.0175

Example Calculation (No Discount Tier)

If you start the Actor on a daily schedule to fetch the latest publications, and it extracts 100 new items:

  • Actor Start: $0.10
  • Results (100 * $0.025): $2.50
  • Total Cost: $2.60