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/callAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 220 calls
- Latency p50
- 2.6 sp95 12 s
- Last verified
- 28 juil. 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
Paramètres
same /enhance endpoint as company enrichment — `type` is what switches it between Organization and Person
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
url | chaîne | Facultatif | a profile URL for the person (e.g. LinkedIn) | |
name | chaîne | Facultatif | full name; pair with employer to disambiguate | Mike Tung |
size | entier | Facultatif | candidate entities to return, default 1 — you pay 25 credits per record | 1 |
type | chaîne | Obligatoire | must be Person for people enrichment | Person |
email | chaîne | Facultatif | work email — the strongest identifier | |
phone | chaîne | Facultatif | ||
title | chaîne | Facultatif | job title, as a further disambiguator | |
school | chaîne | Facultatif | a school the person attended, as a further disambiguator | |
search | booléen | Facultatif | widen to a search when no exact entity matches; default false | |
refresh | booléen | Facultatif | force a live re-crawl — QUADRUPLES the price to 100 credits per record; default false | |
employer | chaîne | Facultatif | employer name, to disambiguate a common name | Diffbot |
jsonmode | chaîne | Facultatif | 'extended' adds provenance for every fact | |
location | chaîne | Facultatif | ||
threshold | nombre | Facultatif | match-confidence floor | |
- Paramètres de requête
urlchaîneFacultatifa profile URL for the person (e.g. LinkedIn)
namechaîneFacultatiffull name; pair with employer to disambiguate
Exemple :
Mike TungsizeentierFacultatifcandidate entities to return, default 1 — you pay 25 credits per record
Exemple :
1typechaîneObligatoiremust be Person for people enrichment
Exemple :
PersonemailchaîneFacultatifwork email — the strongest identifier
phonechaîneFacultatiftitlechaîneFacultatifjob title, as a further disambiguator
schoolchaîneFacultatifa school the person attended, as a further disambiguator
searchbooléenFacultatifwiden to a search when no exact entity matches; default false
refreshbooléenFacultatifforce a live re-crawl — QUADRUPLES the price to 100 credits per record; default false
employerchaîneFacultatifemployer name, to disambiguate a common name
Exemple :
DiffbotjsonmodechaîneFacultatif'extended' adds provenance for every fact
locationchaîneFacultatifthresholdnombreFacultatifmatch-confidence floor
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.0299/call, frais de service inclus.