Use cases · 29.09.2026

Check a Swiss company by its UID number

Customer onboarding, supplier checks, invoicing: get the official legal name, legal form and address of a Swiss company in one request.

When a new B2B customer signs up, three questions come back every time: does the company exist? What is its exact legal name? Is its address up to date? The official answer is in the commercial register (Zefix). We synchronise it every night: about 800,000 companies with their UID, legal form, registered office and purpose.

The use case

Take a fiduciary that receives dozens of new mandates every week. Without an API, an employee copies each UID into Zefix and retypes the fields. With the API, their software calls our API when the UID is entered and pre-fills the customer record.

Search by UID

The UID is written CHE-138.647.564; the API expects it without dashes or dots:

curl -H "Authorization: Token YOUR_KEY" \
  "https://opendata.altius-group.ch/economics/swissenterprise/api/v1/companies/?uid=CHE138647564"
{"count": 1, "results": [{
  "uid": "CHE138647564", "uid_formatted": "CHE-138.647.564",
  "legal_name": "Altius Group SNC",
  "full_address": "Route d'Echallens 6, 1055 Froideville",
  "canton_code": "VD"}]}

A count of 0 means no active company has this UID: the signal for a manual check.

Search by name

If the user types a name instead of a UID, the search parameter ranks results by relevance (exact name, then name prefix, then content):

curl -H "Authorization: Token YOUR_KEY" \
  "https://opendata.altius-group.ch/economics/swissenterprise/api/v1/companies/?search=altius group"

Keep records up to date

Companies change their names and move. Our database follows these changes every night, and struck-off companies disappear. A monthly check of your customer records by UID is enough to detect a change.

Good to know

  • Searching by UID is exact and fast: it is the best identifier.
  • The data is published by the Federal Office of Justice; it does not replace a certified register extract.
  • The free plan (100 requests per day) is enough to test; commercial use requires a paid plan.

Search a company on the website · Plans and pricing

Read next

Buy us a coffee Explore the data