Enrich a person by name, email or employer
diffbot.people.enrichEnrich a person from name, email or employer — role, employment history, profiles
- Price
- $0.0299/callPelo preço do provedor
- Success rate
- 100%Last 30 days · 220 calls
- Latency p50
- 2.6 sp95 12 s
- Last verified
- 28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.people.enrich?name=Mike+Tung&size=1&type=Person&employer=DiffbotPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
same /enhance endpoint as company enrichment — `type` is what switches it between Organization and Person
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
url | string | Opcional | a profile URL for the person (e.g. LinkedIn) | |
name | string | Opcional | full name; pair with employer to disambiguate | Mike Tung |
size | inteiro | Opcional | candidate entities to return, default 1 — you pay 25 credits per record | 1 |
type | string | Obrigatório | must be Person for people enrichment | Person |
email | string | Opcional | work email — the strongest identifier | |
phone | string | Opcional | ||
title | string | Opcional | job title, as a further disambiguator | |
school | string | Opcional | a school the person attended, as a further disambiguator | |
search | booleano | Opcional | widen to a search when no exact entity matches; default false | |
refresh | booleano | Opcional | force a live re-crawl — QUADRUPLES the price to 100 credits per record; default false | |
employer | string | Opcional | employer name, to disambiguate a common name | Diffbot |
jsonmode | string | Opcional | 'extended' adds provenance for every fact | |
location | string | Opcional | ||
threshold | número | Opcional | match-confidence floor | |
- Parâmetros de consulta
urlstringOpcionala profile URL for the person (e.g. LinkedIn)
namestringOpcionalfull name; pair with employer to disambiguate
Exemplo:
Mike TungsizeinteiroOpcionalcandidate entities to return, default 1 — you pay 25 credits per record
Exemplo:
1typestringObrigatóriomust be Person for people enrichment
Exemplo:
PersonemailstringOpcionalwork email — the strongest identifier
phonestringOpcionaltitlestringOpcionaljob title, as a further disambiguator
schoolstringOpcionala school the person attended, as a further disambiguator
searchbooleanoOpcionalwiden to a search when no exact entity matches; default false
refreshbooleanoOpcionalforce a live re-crawl — QUADRUPLES the price to 100 credits per record; default false
employerstringOpcionalemployer name, to disambiguate a common name
Exemplo:
DiffbotjsonmodestringOpcional'extended' adds provenance for every fact
locationstringOpcionalthresholdnúmeroOpcionalmatch-confidence floor
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.0299/call, incluindo a taxa de serviço.