Enrich a company by name or social profile
companyenrich.companies.enrich.by_propertiesEnriches a company using its properties — best match is used in case of ambiguity
- 价格
- $0.0098/call按目录价
- 成功率
- 100%近 30 天 · 25,480 次
- 延迟 p50
- 312 毫秒p95 684 毫秒
- 最后验证
- 2026年8月20日实测可用
POSThttps://toolswitch.dev/v1/tools/companyenrich.companies.enrich.by_propertiesBeta- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
at least ONE of the seven properties must be supplied. Use this only when you do not have a domain — the domain route is deterministic, this one is a best-match and can resolve to the wrong company for a generic name. Supplying both a name and a social URL narrows it considerably.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
expand | array[string] | 可选 | `workforce` costs 5 EXTRA credits | |
| 请求体(JSON) | ||||
name | 字符串 | 可选 | company name | Anthropic |
linkedinId | 字符串 | 可选 | numeric LinkedIn company id | |
twitterUrl | 字符串 | 可选 | company X/Twitter profile URL | |
youTubeUrl | 字符串 | 可选 | company YouTube channel URL | |
facebookUrl | 字符串 | 可选 | company Facebook page URL | |
linkedinUrl | 字符串 | 可选 | company LinkedIn page URL | https://www.linkedin.com/company/anthropicresearch |
instagramUrl | 字符串 | 可选 | company Instagram profile URL | |
- 查询参数
expandarray[string]可选`workforce` costs 5 EXTRA credits
- 请求体(JSON)
name字符串可选company name
示例:
AnthropiclinkedinId字符串可选numeric LinkedIn company id
twitterUrl字符串可选company X/Twitter profile URL
youTubeUrl字符串可选company YouTube channel URL
facebookUrl字符串可选company Facebook page URL
linkedinUrl字符串可选company LinkedIn page URL
示例:
https://www.linkedin.com/company/anthropicresearchinstagramUrl字符串可选company Instagram profile URL
示例响应
JSON
{
"id": "01925daf-4d65-7b71-b410-c66b43867984",
"name": "Anthropic",
"type": "private",
"domain": "anthropic.com",
"revenue": "50m-100m",
"website": "https://anthropic.com",
"industry": "Business Services",
"keywords": [
"ai safety research",
"... 38 more items truncated"
],
"employees": "1K-5K",
"legalName": "Anthropic PBC",
"_truncated": "7 more fields omitted",
"categories": [
"b2b",
"... 2 more items truncated"
],
"industries": [
"Software",
"... 3 more items truncated"
],
"description": "Anthropic is an AI safety and research company developing reliable, interpretable, and steerable artificial intelligence systems. The company conducts frontier AI research across areas including inter …[truncated]",
"naics_codes": [
"513210",
"... 1 more items truncated"
],
"founded_year": 2021,
"subsidiaries": null,
"technologies": [
"Cloudflare DNS",
"... 5 more items truncated"
],
"reported_employees": "501-1K"
}代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.by_properties' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"name":"Anthropic","linkedinUrl":"https://www.linkedin.com/company/anthropicresearch"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.by_properties",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"name\":\"Anthropic\",\"linkedinUrl\":\"https://www.linkedin.com/company/anthropicresearch\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.by_properties", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"name\":\"Anthropic\",\"linkedinUrl\":\"https://www.linkedin.com/company/anthropicresearch\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $0.0098/call 计费,已含服务费。