Switzerland Company Registry Scraper - Zefix UID & CHE Lookup avatar

Switzerland Company Registry Scraper - Zefix UID & CHE Lookup

Pricing

from $11.54 / 1,000 results

Go to Apify Store
Switzerland Company Registry Scraper - Zefix UID & CHE Lookup

Switzerland Company Registry Scraper - Zefix UID & CHE Lookup

Search the Swiss commercial register (Zefix) by company name, UID or CHE number, or browse a whole canton. Get company data: legal form, address, canton, status, purpose, audit firm, SOGC/SHAB publications and mutations. No API key. JSON, CSV, Excel.

Pricing

from $11.54 / 1,000 results

Rating

0.0

(0)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Share

Switzerland Company Registry Scraper - Zefix UID & CHE Lookup

Switzerland Company Registry Scraper (Zefix, UID, CHE)

The most complete Switzerland company registry scraper available. Search the Swiss commercial register (Zefix) by company name, UID lookup or CHE number, or browse every company in a canton, and get one clean, structured record per company. No API key, no login, no account on any registry. Export to JSON, CSV or Excel.

Ideal for KYB and onboarding, B2B lead generation, due diligence, sanctions and adverse-media screening, market mapping and CRM enrichment across Switzerland.

Here is one real result, with the fields the actor returns (trimmed for readability):

{
"uid": "CHE101329561",
"uidFormatted": "CHE-101.329.561",
"chid": "CH27030046464",
"chidFormatted": "CH-270-3004646-4",
"ehraid": 415520,
"name": "UBS AG",
"legalFormId": 3,
"legalForm": "Corporation",
"status": "EXISTIEREND",
"statusLabel": "Active",
"deleted": false,
"deleteDate": null,
"legalSeat": "Basel",
"legalSeatId": 2701,
"canton": "BS",
"registryOffice": "Handelsregisteramt des Kantons Basel-Stadt",
"registerOfficeId": 270,
"lastPublicationDate": "2026-07-31",
"rabId": null,
"cantonalExcerptUrl": "https://bs.chregister.ch/cr-portal/auszug/auszug.xhtml?uid=CHE-101.329.561",
"zefixUrl": "https://www.zefix.ch/en/search/entity/list/firm/415520",
"address": {
"organisation": "UBS AG",
"careOf": null,
"street": "Aeschenvorstadt",
"houseNumber": "1",
"addon": null,
"poBox": null,
"postalCode": "4051",
"town": "Basel",
"country": "CH"
},
"purpose": "Zweck der Gesellschaft ist der Betrieb einer Bank. [trimmed]",
"alternativeNames": ["UBS Inc.", "UBS SA"],
"oldNames": [
{ "name": "SBC AG", "translations": ["SBC Ltd", "SBC SA"] }
],
"auditFirms": [
{ "name": "Ernst & Young AG", "uidFormatted": "CHE-105.932.265", "legalForm": "Corporation", "legalSeat": "Basel", "canton": "BS", "status": "EXISTIEREND" }
],
"hasTakenOver": [
{ "name": "Swiss Company for Investment Securities", "uidFormatted": "CHE-103.001.798", "legalSeat": "Basel", "status": "GELOESCHT" }
],
"publications": [
{
"date": "2026-07-31",
"canton": "BS",
"journalDate": "2026-07-28",
"journalId": 5318,
"shabId": 1006721404,
"mutationTypes": ["aenderungorgane"],
"mutationTypeIds": [17],
"message": "Berichtigung des im SHAB vom 16.07.2026 publizierten TR-Eintrags [trimmed]"
}
],
"scrapedAt": "2026-09-06T00:00:00.000Z",
"error": null
}

Note: purpose, publications and the related-company arrays are trimmed above for readability; the real record returns the full statute of purpose and the complete lists. Every value shown is exactly as returned.

📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples

Apify Coverage Output Billing

Table of contents

What it does

The actor searches the Swiss central company index (Zefix), the official index of every company entered in the 26 cantonal commercial registers, and writes one normalized record per company to the run's dataset. It supports three ways to look up companies:

  • Name search: any text is matched against company names across all cantons.
  • UID / CHE lookup: a UID such as CHE-105.909.036 (or CHE105909036) is resolved directly. Pass many at once with the uids list for a bulk lookup.
  • Canton or legal-form browse: leave the query empty and set a canton and/or legalForm filter to walk every matching company, with no name needed.

With withDetails on (default), it fetches the full registered record for each company: registered address, statute of purpose, alternative and former names, audit firm, related companies (branches, main offices, merger counterparties) and the full list of SOGC/SHAB publications and mutations. Missing source values are returned as null.

Why this scraper

  • Complete coverage. Every field Zefix exposes, including UID and CHID identifiers, EHRAID, legal form, registered seat and canton, full address, statute of purpose, alternative and former names, audit firm with its own UID, related-company links and the whole publication and mutation history.
  • Three lookup modes. Name, UID/CHE (single or bulk list) and canton/legal-form browse, all in one actor.
  • KYB ready. Merger and takeover relationships (hasTakenOver, wasTakenOverBy), branch and main offices, and audit-firm links let you map corporate structures.
  • Filters. Restrict by canton, legal form and active vs struck-off companies.
  • Honest fields. Values absent at the source are returned as null, never invented.
  • No key, no login. Public data, exported to JSON, CSV or Excel.

Quickstart

Open the actor, paste this into the input, and press Run. It returns up to 10 active companies matching the name, each with its full registered record.

{
"query": "Nestlé",
"maxCompanies": 10,
"activeOnly": true,
"withDetails": true
}

Look up one company by UID:

{ "query": "CHE-105.909.036" }

Bulk UID lookup:

{ "uids": ["CHE-105.909.036", "CHE108731444", "CHE101329561"] }

Browse every corporation in a canton (no name needed):

{ "canton": "ZG", "legalForm": "3", "maxCompanies": 500 }

query, uids and the canton/legalForm filters are interchangeable entry points: provide at least one of them.

Input reference

FieldTypeRequiredDefaultDescription
querystringnoNestléA company name (or part of it) to search, or a Swiss UID (for example CHE-105.909.036 or CHE105909036) to look up directly.
uidsstring[]no(empty)A list of UIDs (CHE numbers) to look up in one run. Overrides query when provided.
maxCompaniesintegerno10Maximum number of company records to collect. Range 1 to 5000.
cantonenumno(any)Restrict to, or browse, one Swiss canton (for example ZH, VD, GE). Empty covers all of Switzerland.
legalFormenumno(any)Restrict to, or browse, one legal form (for example 3 Corporation, 4 Limited liability company).
activeOnlybooleannotrueOnly companies still on the register. Turn off to also include deleted (struck off) companies.
withDetailsbooleannotrueFetch the full record per company: address, purpose, alternative and former names, audit firm, related companies and registry publications and mutations.

Provide at least one of query, uids, canton or legalForm. Filters combine with logical AND on a name search.

Output reference

One dataset item per company. Types: string, integer, boolean, object, object[], string[], or null when the source value is absent. Fields marked (details) require withDetails.

FieldTypeDescription
uidstringUID without separators (for example CHE101329561).
uidFormattedstringFormatted UID (for example CHE-101.329.561).
chidstringCommercial register ID without separators.
chidFormattedstringFormatted commercial register ID.
ehraidintegerZefix internal entity ID.
namestringRegistered company name.
legalFormIdintegerLegal form ID.
legalFormstringLegal form label.
statusstringRaw registry status (for example EXISTIEREND).
statusLabelstringStatus label in English (for example Active, In liquidation, Deleted).
deletedbooleanWhether the company is struck off.
deleteDatestringDeletion date (YYYY-MM-DD), or null.
legalSeatstringRegistered legal seat (municipality).
legalSeatIdintegerCommunity ID of the legal seat.
cantonstringCanton code.
registryOfficestringCantonal registry office name.
registerOfficeIdintegerRegistry office ID.
lastPublicationDatestringDate of the most recent registry publication.
rabIdintegerAudit-oversight (RAB) ID, when the entity is a licensed audit firm.
cantonalExcerptUrlstringURL to the official cantonal register excerpt.
zefixUrlstringZefix entity page URL.
addressobjectRegistered address (organisation, street, houseNumber, postalCode, town, country, and more) (details).
purposestringFull statute of purpose text (details).
alternativeNamesstring[]Alternative registered names (details).
oldNamesobject[]Former names, each { name, translations } (details).
auditFirmsobject[]Audit firms with their own UID, legal form, seat, canton and status (details).
branchOfficesobject[]Branch offices, fully identified (details).
mainOfficesobject[]Main offices for a branch (details).
furtherMainOfficesobject[]Further main offices (details).
hasTakenOverobject[]Companies this entity absorbed via merger (details).
wasTakenOverByobject[]Company that absorbed this entity (details).
auditFirmForobject[]Companies this entity audits (details).
publicationsobject[]SOGC/SHAB publications and mutations, each with date, canton, journal, SHAB id, mutation types and the message text (details).
scrapedAtstringISO 8601 timestamp of when the record was collected.
errorstringnull on success. On a failed run, a single item with a populated error field is written instead.

Note on capital and VAT: the Swiss central index does not expose structured share-capital or VAT/MWST fields; where capital is announced it appears inside the free-text publications message. Those fields are therefore not shipped as separate columns.

How we compare

CapabilityThis actorTypical Zefix scrapers
Name searchYesYes
UID / CHE lookupYesYes
Bulk UID list in one runYesRare
Canton / legal-form browse (no name)YesSome
Active vs struck-off filterYesSome
UID + CHID + EHRAID identifiersYesPartial
Full statute of purposeYesYes
Audit firm with its own UIDYesPartial
Merger / takeover relationshipsYesRare
Branch and main officesYesRare
SOGC/SHAB publications and mutationsYesPartial
Cantonal excerpt + Zefix linksYesSome
Honest null for absent valuesYesVaries
JSON, CSV, Excel exportYesYes

We accept every input the common Zefix scrapers accept (name, UID, canton) and add a bulk UID list and a canton/legal-form browse, and we return every field they return plus merger relationships, branch and main offices, enriched audit-firm records and the full publication history.

Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.

Run synchronously and get dataset items in one call:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~switzerland-companies-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query":"Nestlé","maxCompanies":10,"withDetails":true}'

Start a run asynchronously:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~switzerland-companies-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query":"CHE-105.909.036","withDetails":true}'

Apify CLI:

apify call scrapers_lat/switzerland-companies-scraper \
--input '{"canton":"ZH","legalForm":"3","maxCompanies":50}'

Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.

Billing and limits

  • Pay per result. You are charged per company returned (result event). See the pricing tab for the current per-result price.
  • Detail add-on. When withDetails is on, each company whose full record is fetched charges a small details event on top of the result price. Turn withDetails off to pay for the lighter search fields only.
  • No charge on failure. If a run errors, the actor writes a single item with a populated error field and does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run; once reached, the actor stops emitting and charging further billable results and add-on events.
  • Free Apify plans are capped at 10 companies per run. Upgrade for higher maxCompanies.

FAQ and troubleshooting

A run returned 0 records. Why? The name or UID matched nothing, or your canton / legalForm filter excluded every match. Loosen the filters or check the UID. Zero-result runs are not charged.

How do I look up one company by UID or CHE number? Put the UID in query, for example CHE-105.909.036 or CHE105909036. It is resolved directly without a name search. For many companies, use the uids list.

Can I list every company in a canton? Yes. Leave query empty, set canton (and optionally legalForm), and raise maxCompanies. The actor browses the register without needing a name.

How do I include struck-off companies? Turn activeOnly off. Deleted companies are then included, with deleted true and a deleteDate.

Do you return share capital or VAT number? The Swiss central index does not expose these as structured fields. Where capital is announced, it appears inside the free-text publications message rather than a dedicated column.

Is this an official Zefix or federal tool? No. This actor is independent and has no affiliation with Zefix or the Swiss Federal Office of Justice. It reads only data that is publicly available in the Swiss commercial register.

More scrapers at scrapers.lat

Built and maintained by scrapers.lat, where we publish scrapers for company registries, government data, finance, and e-commerce worldwide. Browse the catalog or request a custom scraper at scrapers.lat.

Independent tool, not affiliated with Zefix or the Swiss Federal Office of Justice. Accesses only publicly available commercial register data.


Switzerland Company Registry Scraper (Zefix, UID, CHE)

El scraper del registro de empresas de Suiza mas completo disponible. Busca en el registro mercantil suizo (Zefix) por nombre de empresa, busqueda de UID o numero CHE, o recorre todas las empresas de un canton, y obten un registro limpio y estructurado por empresa. Sin clave de API, sin inicio de sesion, sin cuenta en ningun registro. Exporta a JSON, CSV o Excel.

Ideal para KYB y onboarding, generacion de leads B2B, due diligence, screening de sanciones y adverse media, mapeo de mercado y enriquecimiento de CRM en Suiza.

Aqui tienes un resultado real, con los campos que devuelve el actor (recortado para facilitar la lectura):

{
"uid": "CHE101329561",
"uidFormatted": "CHE-101.329.561",
"chid": "CH27030046464",
"chidFormatted": "CH-270-3004646-4",
"ehraid": 415520,
"name": "UBS AG",
"legalFormId": 3,
"legalForm": "Corporation",
"status": "EXISTIEREND",
"statusLabel": "Active",
"deleted": false,
"deleteDate": null,
"legalSeat": "Basel",
"legalSeatId": 2701,
"canton": "BS",
"registryOffice": "Handelsregisteramt des Kantons Basel-Stadt",
"registerOfficeId": 270,
"lastPublicationDate": "2026-07-31",
"rabId": null,
"cantonalExcerptUrl": "https://bs.chregister.ch/cr-portal/auszug/auszug.xhtml?uid=CHE-101.329.561",
"zefixUrl": "https://www.zefix.ch/en/search/entity/list/firm/415520",
"address": {
"organisation": "UBS AG",
"careOf": null,
"street": "Aeschenvorstadt",
"houseNumber": "1",
"addon": null,
"poBox": null,
"postalCode": "4051",
"town": "Basel",
"country": "CH"
},
"purpose": "Zweck der Gesellschaft ist der Betrieb einer Bank. [recortado]",
"alternativeNames": ["UBS Inc.", "UBS SA"],
"oldNames": [
{ "name": "SBC AG", "translations": ["SBC Ltd", "SBC SA"] }
],
"auditFirms": [
{ "name": "Ernst & Young AG", "uidFormatted": "CHE-105.932.265", "legalForm": "Corporation", "legalSeat": "Basel", "canton": "BS", "status": "EXISTIEREND" }
],
"hasTakenOver": [
{ "name": "Swiss Company for Investment Securities", "uidFormatted": "CHE-103.001.798", "legalSeat": "Basel", "status": "GELOESCHT" }
],
"publications": [
{
"date": "2026-07-31",
"canton": "BS",
"journalDate": "2026-07-28",
"journalId": 5318,
"shabId": 1006721404,
"mutationTypes": ["aenderungorgane"],
"mutationTypeIds": [17],
"message": "Berichtigung des im SHAB vom 16.07.2026 publizierten TR-Eintrags [recortado]"
}
],
"scrapedAt": "2026-09-06T00:00:00.000Z",
"error": null
}

Nota: purpose, publications y las listas de empresas relacionadas aparecen recortadas arriba para facilitar la lectura; el registro real devuelve el objeto social completo y las listas completas. Cada valor mostrado es exactamente el que se devuelve.

📥 Entrada · 📤 Salida · 💰 Precios · ▶️ Ejemplos

Apify Coverage Output Billing

Tabla de contenidos

Que hace

El actor busca en el indice central de empresas de Suiza (Zefix), el indice oficial de todas las empresas inscritas en los 26 registros mercantiles cantonales, y escribe un registro normalizado por empresa en el dataset de la ejecucion. Admite tres formas de buscar empresas:

  • Busqueda por nombre: cualquier texto se coteja con los nombres de empresa de todos los cantones.
  • Busqueda por UID / CHE: un UID como CHE-105.909.036 (o CHE105909036) se resuelve directamente. Pasa muchos a la vez con la lista uids para una consulta masiva.
  • Recorrido por canton o forma juridica: deja la consulta vacia y define un filtro canton o legalForm para recorrer todas las empresas que coincidan, sin necesidad de nombre.

Con withDetails activado (por defecto), obtiene el registro completo de cada empresa: direccion inscrita, objeto social, nombres alternativos y anteriores, sociedad de auditoria, empresas relacionadas (sucursales, sedes principales, contrapartes de fusion) y la lista completa de publicaciones y mutaciones de la SOGC/SHAB. Los valores ausentes en la fuente se devuelven como null.

Por que este scraper

  • Cobertura completa. Todos los campos que Zefix expone, incluidos los identificadores UID y CHID, EHRAID, forma juridica, sede inscrita y canton, direccion completa, objeto social, nombres alternativos y anteriores, sociedad de auditoria con su propio UID, enlaces a empresas relacionadas y todo el historial de publicaciones y mutaciones.
  • Tres modos de busqueda. Nombre, UID/CHE (individual o en lista masiva) y recorrido por canton o forma juridica, todo en un solo actor.
  • Listo para KYB. Las relaciones de fusion y absorcion (hasTakenOver, wasTakenOverBy), las sucursales y sedes principales y los enlaces a la sociedad de auditoria permiten mapear estructuras corporativas.
  • Filtros. Restringe por canton, forma juridica y empresas activas frente a canceladas.
  • Campos honestos. Los valores ausentes en la fuente se devuelven como null, nunca se inventan.
  • Sin clave, sin inicio de sesion. Datos publicos, exportados a JSON, CSV o Excel.

Inicio rapido

Abre el actor, pega esto en la entrada y pulsa Run. Devuelve hasta 10 empresas activas que coinciden con el nombre, cada una con su registro completo.

{
"query": "Nestlé",
"maxCompanies": 10,
"activeOnly": true,
"withDetails": true
}

Consulta una empresa por UID:

{ "query": "CHE-105.909.036" }

Consulta masiva de UID:

{ "uids": ["CHE-105.909.036", "CHE108731444", "CHE101329561"] }

Recorre todas las sociedades anonimas de un canton (sin nombre):

{ "canton": "ZG", "legalForm": "3", "maxCompanies": 500 }

query, uids y los filtros canton/legalForm son puntos de entrada intercambiables: proporciona al menos uno de ellos.

Referencia de entrada

CampoTipoObligatorioPor defectoDescripcion
querystringnoNestléUn nombre de empresa (o parte de el) a buscar, o un UID suizo (por ejemplo CHE-105.909.036 o CHE105909036) para consultar directamente.
uidsstring[]no(vacio)Una lista de UID (numeros CHE) a consultar en una sola ejecucion. Sustituye a query cuando se proporciona.
maxCompaniesintegerno10Numero maximo de registros de empresa a recopilar. Rango 1 a 5000.
cantonenumno(cualquiera)Restringe o recorre un canton suizo (por ejemplo ZH, VD, GE). Vacio abarca toda Suiza.
legalFormenumno(cualquiera)Restringe o recorre una forma juridica (por ejemplo 3 Sociedad anonima, 4 Sociedad de responsabilidad limitada).
activeOnlybooleannotrueSolo empresas aun en el registro. Desactivalo para incluir tambien las empresas canceladas (dadas de baja).
withDetailsbooleannotrueObtiene el registro completo por empresa: direccion, objeto social, nombres alternativos y anteriores, sociedad de auditoria, empresas relacionadas y publicaciones y mutaciones del registro.

Proporciona al menos uno de query, uids, canton o legalForm. Los filtros se combinan con AND logico en una busqueda por nombre.

Referencia de salida

Un elemento del dataset por empresa. Tipos: string, integer, boolean, object, object[], string[], o null cuando el valor de la fuente esta ausente. Los campos marcados (detalle) requieren withDetails.

CampoTipoDescripcion
uidstringUID sin separadores (por ejemplo CHE101329561).
uidFormattedstringUID formateado (por ejemplo CHE-101.329.561).
chidstringID del registro mercantil sin separadores.
chidFormattedstringID del registro mercantil formateado.
ehraidintegerID interno de entidad de Zefix.
namestringNombre inscrito de la empresa.
legalFormIdintegerID de la forma juridica.
legalFormstringEtiqueta de la forma juridica.
statusstringEstado bruto del registro (por ejemplo EXISTIEREND).
statusLabelstringEtiqueta de estado en ingles (por ejemplo Active, In liquidation, Deleted).
deletedbooleanSi la empresa esta dada de baja.
deleteDatestringFecha de baja (YYYY-MM-DD), o null.
legalSeatstringSede legal inscrita (municipio).
legalSeatIdintegerID de la comunidad de la sede legal.
cantonstringCodigo del canton.
registryOfficestringNombre de la oficina cantonal del registro.
registerOfficeIdintegerID de la oficina del registro.
lastPublicationDatestringFecha de la publicacion mas reciente del registro.
rabIdintegerID de la supervision de auditoria (RAB), cuando la entidad es una sociedad de auditoria autorizada.
cantonalExcerptUrlstringURL del extracto oficial del registro cantonal.
zefixUrlstringURL de la pagina de la entidad en Zefix.
addressobjectDireccion inscrita (organisation, street, houseNumber, postalCode, town, country, y mas) (detalle).
purposestringTexto completo del objeto social (detalle).
alternativeNamesstring[]Nombres inscritos alternativos (detalle).
oldNamesobject[]Nombres anteriores, cada uno { name, translations } (detalle).
auditFirmsobject[]Sociedades de auditoria con su propio UID, forma juridica, sede, canton y estado (detalle).
branchOfficesobject[]Sucursales, plenamente identificadas (detalle).
mainOfficesobject[]Sedes principales de una sucursal (detalle).
furtherMainOfficesobject[]Otras sedes principales (detalle).
hasTakenOverobject[]Empresas que esta entidad absorbio por fusion (detalle).
wasTakenOverByobject[]Empresa que absorbio a esta entidad (detalle).
auditFirmForobject[]Empresas que esta entidad audita (detalle).
publicationsobject[]Publicaciones y mutaciones de la SOGC/SHAB, cada una con fecha, canton, diario, id SHAB, tipos de mutacion y el texto del mensaje (detalle).
scrapedAtstringMarca de tiempo ISO 8601 de cuando se recopilo el registro.
errorstringnull en caso de exito. Si una ejecucion falla, se escribe un solo elemento con el campo error poblado.

Nota sobre capital y IVA: el indice central suizo no expone campos estructurados de capital social ni de IVA/MWST; cuando se anuncia el capital, aparece dentro del texto libre del mensaje de publications. Por eso esos campos no se entregan como columnas separadas.

Como nos comparamos

CapacidadEste actorScrapers de Zefix habituales
Busqueda por nombreSiSi
Busqueda por UID / CHESiSi
Lista masiva de UID en una ejecucionSiRaro
Recorrido por canton / forma juridica (sin nombre)SiAlgunos
Filtro activas vs canceladasSiAlgunos
Identificadores UID + CHID + EHRAIDSiParcial
Objeto social completoSiSi
Sociedad de auditoria con su propio UIDSiParcial
Relaciones de fusion / absorcionSiRaro
Sucursales y sedes principalesSiRaro
Publicaciones y mutaciones SOGC/SHABSiParcial
Enlaces al extracto cantonal + ZefixSiAlgunos
null honesto para valores ausentesSiVaria
Exportacion a JSON, CSV, ExcelSiSi

Aceptamos todas las entradas que aceptan los scrapers de Zefix habituales (nombre, UID, canton) y anadimos una lista masiva de UID y un recorrido por canton o forma juridica, y devolvemos todos los campos que ellos devuelven mas las relaciones de fusion, las sucursales y sedes principales, los registros enriquecidos de la sociedad de auditoria y el historial completo de publicaciones.

Ejecutar via API y CLI

Inicia una ejecucion y espera a que termine, luego lee el dataset. Sustituye <TOKEN> por tu token de la API de Apify.

Ejecuta de forma sincrona y obten los elementos del dataset en una sola llamada:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~switzerland-companies-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query":"Nestlé","maxCompanies":10,"withDetails":true}'

Inicia una ejecucion de forma asincrona:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~switzerland-companies-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query":"CHE-105.909.036","withDetails":true}'

Apify CLI:

apify call scrapers_lat/switzerland-companies-scraper \
--input '{"canton":"ZH","legalForm":"3","maxCompanies":50}'

Obtener resultados

Cada ejecucion escribe en un dataset. Obten los elementos como JSON, CSV o Excel cambiando format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginar datasets grandes
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> se devuelve como defaultDatasetId en el objeto de la ejecucion. Usa offset y limit para paginar grandes conjuntos de resultados. clean=true descarta los campos vacios e internos.

Facturacion y limites

  • Pago por resultado. Se te cobra por empresa devuelta (evento result). Consulta la pestana de precios para el precio actual por resultado.
  • Complemento de detalle. Cuando withDetails esta activado, cada empresa cuyo registro completo se obtiene cobra un pequeno evento details sobre el precio del resultado. Desactiva withDetails para pagar solo los campos ligeros de busqueda.
  • Sin cargo por fallo. Si una ejecucion falla, el actor escribe un solo elemento con el campo error poblado y no cobra por el. Las ejecuciones vacias no cuestan nada.
  • Limite de gasto respetado. Define maxTotalChargeUsd en la ejecucion; una vez alcanzado, el actor deja de emitir y cobrar resultados y eventos facturables adicionales.
  • Los planes gratuitos de Apify estan limitados a 10 empresas por ejecucion. Actualiza para un maxCompanies mayor.

Preguntas frecuentes

Una ejecucion devolvio 0 registros. Por que? El nombre o el UID no coincidio con nada, o tu filtro canton / legalForm excluyo todas las coincidencias. Relaja los filtros o revisa el UID. Las ejecuciones sin resultados no se cobran.

Como consulto una empresa por UID o numero CHE? Pon el UID en query, por ejemplo CHE-105.909.036 o CHE105909036. Se resuelve directamente sin una busqueda por nombre. Para muchas empresas, usa la lista uids.

Puedo listar todas las empresas de un canton? Si. Deja query vacio, define canton (y opcionalmente legalForm) y sube maxCompanies. El actor recorre el registro sin necesidad de un nombre.

Como incluyo empresas canceladas? Desactiva activeOnly. Se incluyen entonces las empresas dadas de baja, con deleted en true y una deleteDate.

Devuelven el capital social o el numero de IVA? El indice central suizo no expone estos datos como campos estructurados. Cuando se anuncia el capital, aparece dentro del texto libre del mensaje de publications y no en una columna dedicada.

Es una herramienta oficial de Zefix o federal? No. Este actor es independiente y no tiene afiliacion con Zefix ni con la Oficina Federal de Justicia de Suiza. Solo lee datos que estan disponibles publicamente en el registro mercantil suizo.

Otros scrapers

Mas scrapers en scrapers.lat

Creado y mantenido por scrapers.lat, donde publicamos scrapers de registros de empresas, datos gubernamentales, finanzas y comercio electronico de todo el mundo. Explora el catalogo o solicita un scraper a medida en scrapers.lat.

Herramienta independiente, sin afiliacion con Zefix ni con la Oficina Federal de Justicia de Suiza. Accede unicamente a datos del registro mercantil disponibles publicamente.