Verify a company against the official register (KYB)
corpoapi.companies.verifyResolve a company and compare the supplied claims with registry data
- Precio
- $0.05/successA precio de catálogo
- Tasa de éxito
- —Aún no hay datos de tasa de éxitoÚltimos 30 días · 0 llamadas
- Latencia p50
- ——
- Última verificación
- 4 nov 2026Verificado y operativo
POSThttps://toolswitch.dev/v1/tools/corpoapi.companies.verifyBeta- Usa la cuota de la plataforma
- Respuesta síncrona
- Lee datos públicos
Parámetros
`result` is verified, partial, mismatch, not_found or ambiguous, with a check per claim. A 200 with result not_found or ambiguous is free; only a company found is billed. An Idempotency-Key header returns the stored answer for 24 h and never bills twice
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Cuerpo (JSON) | ||||
name | cadena | Opcional | used when company_number is absent; must resolve to exactly one company | |
expected | objeto | Opcional | claims to check, e.g. {legal_name: ...} | {"legal_name":"Volvo Business Services Aktiebolag"} |
reference | cadena | Opcional | your own id, echoed back | |
jurisdiction | cadena | Obligatorio | se | |
company_number | cadena | Opcional | preferred; any identifier the register publishes | 5560295197 |
- Cuerpo (JSON)
namecadenaOpcionalused when company_number is absent; must resolve to exactly one company
expectedobjetoOpcionalclaims to check, e.g. {legal_name: ...}
Ejemplo:
{"legal_name":"Volvo Business Services Aktiebolag"}referencecadenaOpcionalyour own id, echoed back
jurisdictioncadenaObligatorioEjemplo:
secompany_numbercadenaOpcionalpreferred; any identifier the register publishes
Ejemplo:
5560295197
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
curl -X POST 'https://toolswitch.dev/v1/tools/corpoapi.companies.verify' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"expected":{"legal_name":"Volvo Business Services Aktiebolag"},"jurisdiction":"se","company_number":"5560295197"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/corpoapi.companies.verify",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"expected\":{\"legal_name\":\"Volvo Business Services Aktiebolag\"},\"jurisdiction\":\"se\",\"company_number\":\"5560295197\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/corpoapi.companies.verify", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"expected\":{\"legal_name\":\"Volvo Business Services Aktiebolag\"},\"jurisdiction\":\"se\",\"company_number\":\"5560295197\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());La API de la pasarela está en Beta; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.05/success, incluida la tarifa de servicio.