CormorantDocs
Menu

Switzerland

Swiss companies come from the federal commercial register (Zefix), the federal UID register, the Swiss Official Gazette of Commerce (SOGC) and the cantonal register excerpts. All five sources are official and open. Four of them need no account. A sixth source, the register of admitted health insurers of the Federal Office of Public Health (BAG), adds the insurer number (see Health insurers). Of the five, the Zefix REST API needs credentials (see Zefix REST).

Sources#

Source Gives Access Default
lindas_zefix (Zefix on LINDAS) legal name and its de/fr/it/en versions, UID, CH-ID, EHRA-ID, legal form, seat municipality (BFS number), registered address, purpose SPARQL, no login; active entities only, updated daily on
uid_register (UID register, BFS) master data of every UID, also outside the commercial register (administrations, sole traders, associations, VAT-only entities): names, legal form, UID and register status, legal and postal addresses, register entry and deletion dates, VAT status and number, LEI SOAP, no login; about 20 requests per minute on
zefix_rest (Zefix Public REST API) the full register record, deleted companies included: status and deletion date, nominal capital, former names, SOGC publications, head and branch offices, mergers, audit firms, link to the cantonal excerpt HTTP basic credentials from the Federal Office of the Commercial Register off until credentials are set
sogc (Swiss Official Gazette of Commerce) the events timeline: incorporation, name, seat, address, purpose and capital changes, officer changes (who joined or left, with dates), mergers, liquidation, deletion; the company as its latest publication states it; daily change feed Amtsblattportal public API, no login; robots.txt not applied (official API, see Access) on
ch_cantonal_excerpt (cantonal register excerpts) officers and signatories: name, role, signing authority, since/until, residence, origin or nationality as published public excerpt pages through the residential network; robots.txt not applied (official register, see Access) on
bag_insurers (BAG register of admitted health insurers) the BAG insurer number of a company as the identifier ch_bag_insurer, and one licences entry saying the company is on the register the newest workbook linked from the BAG's page, no login; read once a day on

Where sources disagree, the register (Zefix, UID register, cantonal excerpts) ranks above the gazette; every value keeps its source, and conflicts are shown (see Company data sources).

Access#

Two of the sources need special handling. Both are official public registers, and both are read at a slow, fixed pace.

  • SOGC. The gazette's host disallows all automated access in its robots.txt, its documented public API included. Cormorant reads that API regardless, for this source only. A /v1/fetch of the same host still obeys robots.txt.
  • Cantonal excerpts. The cantonal register portals refuse datacenter addresses, so excerpt pages are read through the residential network. Their robots.txt is not applied either, again for this source only. Excerpts exist for ZH, BE, LU, ZG, BS, TI and VD; Geneva's portal sits behind a CAPTCHA and is not asked.

Reading these sources is part of keeping the register current and is never charged to your key as a fetch; your own company requests are metered as usual. When a portal refuses, the source answers blocked, and not_configured while the route it needs is unavailable.

Identifiers#

Scheme Example Notes
ch_uid CHE-101.049.653 Enterprise identification number; the check digit is verified. CHE101049653, CHE-101.049.653 MWST and che 101 049 653 are accepted.
ch_chid CH02030216152 The former 11-digit commercial-register number (CH-ID); CH-020.3.021.615-2 is accepted.
ch_ehraid 460530 Internal id of the federal register office, one per register entry.
ch_bag_insurer 8 Number of a health insurer in the BAG's register of admitted insurers, the Versicherer column of the premium files. Leading zeros do not matter: 0008 is 8.
vat CHE101049653 Swiss VAT numbers are UIDs. A company in a VAT group is taxed under the group's number; that number is not added to the members, so they stay separate records.

A company with two head offices (Nestlé AG in Cham and Nestlé S.A. in Vevey) has one UID and two register entries: the record carries both EHRA-IDs and CH-IDs, the entry with the lower EHRA-ID gives the name, and the second seat appears as an address of type other.

Fields#

  • Legal name (names.legal): for a listed company that market_data covers, its issuer name (the register's main authority; the register's form is then in names.alternates). Otherwise the commercial register's primary entry, as Zefix REST, Zefix on LINDAS, the UID register or the cantonal excerpt (in this order) publish it; the gazette, GLEIF and other sources never replace it, whatever order the sources are refreshed in. Legal form, register ids, the seat and the registered address always come from the register. Swiss firms often have equal-ranking versions in several languages (Nestlé AG / Nestlé S.A. / Nestlé Ltd.): the others are in names.translations, and other sources' forms (GLEIF's NESTLÉ S.A.) in names.alternates, each with its source.
  • Legal form: the eCH-0097 code as local_code (0106), the name in the canton's language as local_name (Aktiengesellschaft, société anonyme, società anonima), the ISO 20275 ELF code and the category. Examples: AG / SA MVII, GmbH / Sàrl / Sagl 3EKS, Genossenschaft QSI2, Verein H781, Stiftung 2JZ4, Einzelunternehmen AZA0, Kollektivgesellschaft MRSY, Kommanditgesellschaft CQMY, Swiss branch UNA9, branch of a foreign company JB25, federal administration 2XJA.
  • Status: active; in_liquidation (status BEING_CANCELLED, or "in Liquidation / en liquidation / in liquidazione" in the name); dissolved after deletion; merged when the company was taken over. local_value keeps the source's wording and since the deletion date.
  • Last register change (jurisdiction.register.last_change): the date of the newest publication about the company in the SOGC or the register, as one field. It is there without include=events; the publications themselves are in events.
  • Addresses: the registered address with the BFS municipality number, and the postal address (PO box) from the UID register.
  • Purpose: in the register's language (de, fr or it).
  • Capital: nominal capital, and paid-in capital from the SOGC.
  • Relationships: auditor, merged_into, absorbed, branch, head_office (Zefix REST).
  • Activities: NOGA codes, with their NACE class, when the UID register publishes them.
  • People (include=people): every officer and signatory the cantonal excerpt lists, current and former, with role (chair, director, ceo, managing_director, partner, auditor, liquidator, secretary, signatory, member) and the register's own wording, signing authority (individual, joint_two, joint, procuration_individual, procuration_joint_two, none), since/until from the register journal, residence and origin or nationality. Officer changes published in the SOGC are also in events with the people who joined or left. The register publishes no birth dates and Cormorant stores none.
  • Events (include=events): one entry per change and publication, with the publication link on shab.ch, the publication and journal numbers and dates, and details such as the old and new name or capital, the other company of a merger, or the people of an officer change.
curl
curl -s "https://api.cormorant.ch/v1/companies/ch_uid:CHE-105.909.036?include=people,events" \
  -H "Authorization: Bearer $CORMORANT_API_KEY"

Health insurers#

The premium files of the BAG name an insurer by a number (Versicherer, for example 0008). The BAG's register of admitted health insurers gives each number the UID of the legal carrier, so the number is an identifier like any other.

1. From the number to the legal carrier.

curl
curl -s "https://api.cormorant.ch/v1/companies/ch_bag_insurer:0008?include=events,relationships" \
  -H "Authorization: Bearer $CORMORANT_API_KEY"

The answer is the commercial register's record of the carrier. Its identifiers hold both the UID and the number, and licences says where the number comes from:

JSON
{
  "names": {"legal": "CSS Kranken-Versicherung AG"},
  "identifiers": [
    {"scheme": "ch_uid", "value": "CHE-110.130.047"},
    {"scheme": "ch_bag_insurer", "value": "8"}
  ],
  "jurisdiction": {
    "country": "CH",
    "subdivision": "CH-LU",
    "register": {"authority": "Commercial register", "court": "LU", "entity_id": "…", "last_change": "2026-03-17"}
  },
  "licences": [
    {"regime": "Zugelassener Krankenversicherer", "code": "8", "registry": "BAG register of admitted health insurers", "country": "CH", "status": "active", "source": "bag_insurers"}
  ]
}

The example is shortened and its date is an example. The same record answers ch_uid:CHE-110.130.047. A number the register does not list answers 404 company_not_found.

2. From a name to candidates.

curl
curl -s "https://api.cormorant.ch/v1/companies/search?q=Aquilana&country=CH" \
  -H "Authorization: Bearer $CORMORANT_API_KEY"

Every Swiss candidate states its UID in identifiers and its seat in city, with status and legal_form. Fetch the one you mean with its ref.

3. Where the history is.

You want Where it is
Former names names.previous, with valid_from and valid_to where the register states them; the change itself is an event of type name_change
A merger an event of type merger, and with include=relationships a relationship merged_into or absorbed that names the other company with its UID
Liquidation and deletion status.value (in_liquidation, dissolved, merged) with status.since, dates.deregistered, and events of type liquidation and deletion
A change of seat or legal form events of type seat_change and legal_form_change
The date of the last change jurisdiction.register.last_change

What the number does not tell you. The register lists the insurers admitted today, so the number of an insurer that has left it may not be found: use its UID. The insurer's name and address are taken from the commercial register, not from the BAG's workbook.

Freshness#

Field group Refreshed after Kept current by
core (name, legal form, status, address, purpose, capital) 24 hours the SOGC daily feed
people 7 days officer changes in the SOGC feed
events 24 hours the SOGC daily feed
relationships 24 hours Zefix REST

The gazette publishes every register change on the day it takes effect for third parties. Cormorant reads its daily feed and applies the publications to companies already in the register, without your request. LINDAS and the UID register update daily. A company that is not in LINDAS has been deleted or is not in the commercial register: the UID register and Zefix REST still know it.

Zefix REST#

Zefix REST adds deleted companies, capital, former names, mergers, branches and audit firms. It needs credentials from the Federal Office of the Commercial Register; GET /v1/companies/sources lists zefix_rest as active once they are in place.

Limits#

  • The VD portal has not yet been checked against production responses; ZH (chregister.ch) has.
  • Cantonal excerpts exist for the cantons in the source's URL table (ZH, BE, LU, ZG, BS, TI, VD); elsewhere officers come from the SOGC events only.
  • Cantonal excerpts need the residential network. Without it the source answers not_configured.
  • Some French-speaking register offices write officer changes as prose, not as labelled lists. Cormorant reads the usual sentences ("n'est plus administrateur", "Nouvel organe de révision: …", "Signature individuelle est conférée à …"). Unusual wording yields an officer-change event without the people.
  • The UID register allows about 20 requests per minute. Bulk lookups take their time, and the register answers in the meantime.

View as Markdown