Company profile by domain or URL, free cached lookup
village.companies.enrich.storedGet detailed information about a company.
- 价格
- free按目录价
- 成功率
- —暂无成功率数据近 30 天 · 0 次
- 延迟 p50
- ——
- 最后验证
- —尚未验证
POSThttps://toolswitch.dev/v1/tools/village.companies.enrich.storedBeta- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
One of domain, linkedin_url or url is required. Returns the same profile as village.companies.enrich from the cache only, for free. A company not in the cache answers 404.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
url | 字符串 | 可选 | Generic URL (auto-detected). | |
mode | 字符串 | 必填 | Fixed to cached_only: answer from the cache only, never fetch live. | cached_only |
domain | 字符串 | 可选 | Company domain (normalized, without www prefix). Send one of domain, linkedin_url or url. | acme.com |
linkedin_url | 字符串 | 可选 | LinkedIn company page URL. | https://linkedin.com/company/acme-corp |
- 请求体(JSON)
url字符串可选Generic URL (auto-detected).
mode字符串必填Fixed to cached_only: answer from the cache only, never fetch live.
示例:
cached_onlydomain字符串可选Company domain (normalized, without www prefix). Send one of domain, linkedin_url or url.
示例:
acme.comlinkedin_url字符串可选LinkedIn company page URL.
示例:
https://linkedin.com/company/acme-corp
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/village.companies.enrich.stored' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"mode":"cached_only","domain":"stripe.com"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/village.companies.enrich.stored",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"mode\":\"cached_only\",\"domain\":\"stripe.com\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/village.companies.enrich.stored", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"mode\":\"cached_only\",\"domain\":\"stripe.com\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。