Search people by DQL filter — role, employer, skills
diffbot.people.searchSearch the Diffbot Knowledge Graph for people by DQL filter (role, employer, skills)
- Price
- $0.0299/resultAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 21 calls
- Latency p50
- 3.8 sp95 4.7 s
- Last verified
- 28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.people.search?size=1&query=type%3APerson+employments.employer.name%3A%22Diffbot%22Preview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
same /dql endpoint as company search — the `type:` facet inside the query string is what switches the entity kind
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
from | entier | Facultatif | 0 | |
size | entier | Facultatif | entities to return, DEFAULT 50 — at 25 credits each that is a 1,250-credit call if you leave it unset | 1 |
type | chaîne | Facultatif | 'query' (default) | 'refresh' | |
query | chaîne | Obligatoire | a DQL query string starting with type:Person, e.g. type:Person employments.employer.name:"Diffbot" | type:Person employments.employer.name:"Diffbot" |
format | chaîne | Facultatif | json (default) | jsonl | csv | xls | xlsx | |
jsonmode | chaîne | Facultatif | 'extended' adds provenance, 'id' returns bare DiffbotIds | |
- Paramètres de requête
fromentierFacultatifExemple :
0sizeentierFacultatifentities to return, DEFAULT 50 — at 25 credits each that is a 1,250-credit call if you leave it unset
Exemple :
1typechaîneFacultatif'query' (default) | 'refresh'
querychaîneObligatoirea DQL query string starting with type:Person, e.g. type:Person employments.employer.name:"Diffbot"
Exemple :
type:Person employments.employer.name:"Diffbot"formatchaîneFacultatifjson (default) | jsonl | csv | xls | xlsx
jsonmodechaîneFacultatif'extended' adds provenance, 'id' returns bare DiffbotIds
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.people.search?size=1&query=type%3APerson+employments.employer.name%3A%22Diffbot%22' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/diffbot.people.search?size=1&query=type%3APerson+employments.employer.name%3A%22Diffbot%22",
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.search?size=1&query=type%3APerson+employments.employer.name%3A%22Diffbot%22", {
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/result, frais de service inclus.