Verify a company against the official register (KYB)
corpoapi.companies.verifyResolve a company and compare the supplied claims with registry data
- 价格
- $0.05/success按目录价
- 成功率
- —暂无成功率数据近 30 天 · 0 次
- 延迟 p50
- ——
- 最后验证
- 2026年11月4日实测可用
POSThttps://toolswitch.dev/v1/tools/corpoapi.companies.verifyBeta- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
`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
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
name | 字符串 | 可选 | used when company_number is absent; must resolve to exactly one company | |
expected | 对象 | 可选 | claims to check, e.g. {legal_name: ...} | {"legal_name":"Volvo Business Services Aktiebolag"} |
reference | 字符串 | 可选 | your own id, echoed back | |
jurisdiction | 字符串 | 必填 | se | |
company_number | 字符串 | 可选 | preferred; any identifier the register publishes | 5560295197 |
- 请求体(JSON)
name字符串可选used when company_number is absent; must resolve to exactly one company
expected对象可选claims to check, e.g. {legal_name: ...}
示例:
{"legal_name":"Volvo Business Services Aktiebolag"}reference字符串可选your own id, echoed back
jurisdiction字符串必填示例:
secompany_number字符串可选preferred; any identifier the register publishes
示例:
5560295197
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
Beta
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());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $0.05/success 计费,已含服务费。