Enrich a person by name, email or employer
diffbot.people.enrichEnrich a person from name, email or employer — role, employment history, profiles
- 价格
- $0.0299/call按供应商原价
- 成功率
- 100%近 30 天 · 220 次
- 延迟 p50
- 2.6 秒p95 12 秒
- 最后验证
- 2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/diffbot.people.enrich?name=Mike+Tung&size=1&type=Person&employer=Diffbot预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
same /enhance endpoint as company enrichment — `type` is what switches it between Organization and Person
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
url | 字符串 | 可选 | a profile URL for the person (e.g. LinkedIn) | |
name | 字符串 | 可选 | full name; pair with employer to disambiguate | Mike Tung |
size | 整数 | 可选 | candidate entities to return, default 1 — you pay 25 credits per record | 1 |
type | 字符串 | 必填 | must be Person for people enrichment | Person |
email | 字符串 | 可选 | work email — the strongest identifier | |
phone | 字符串 | 可选 | ||
title | 字符串 | 可选 | job title, as a further disambiguator | |
school | 字符串 | 可选 | a school the person attended, as a further disambiguator | |
search | 布尔 | 可选 | widen to a search when no exact entity matches; default false | |
refresh | 布尔 | 可选 | force a live re-crawl — QUADRUPLES the price to 100 credits per record; default false | |
employer | 字符串 | 可选 | employer name, to disambiguate a common name | Diffbot |
jsonmode | 字符串 | 可选 | 'extended' adds provenance for every fact | |
location | 字符串 | 可选 | ||
threshold | 数字 | 可选 | match-confidence floor | |
- 查询参数
url字符串可选a profile URL for the person (e.g. LinkedIn)
name字符串可选full name; pair with employer to disambiguate
示例:
Mike Tungsize整数可选candidate entities to return, default 1 — you pay 25 credits per record
示例:
1type字符串必填must be Person for people enrichment
示例:
Personemail字符串可选work email — the strongest identifier
phone字符串可选title字符串可选job title, as a further disambiguator
school字符串可选a school the person attended, as a further disambiguator
search布尔可选widen to a search when no exact entity matches; default false
refresh布尔可选force a live re-crawl — QUADRUPLES the price to 100 credits per record; default false
employer字符串可选employer name, to disambiguate a common name
示例:
Diffbotjsonmode字符串可选'extended' adds provenance for every fact
location字符串可选threshold数字可选match-confidence floor
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.people.enrich?name=Mike+Tung&size=1&type=Person&employer=Diffbot' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/diffbot.people.enrich?name=Mike+Tung&size=1&type=Person&employer=Diffbot",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/diffbot.people.enrich?name=Mike+Tung&size=1&type=Person&employer=Diffbot", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.0299/call 计费,已含服务费。