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/resultAt provider cost
- Success rate
- 100%Last 30 days · 21 calls
- Latency p50
- 3.8 sp95 4.7 s
- Last verified
- Jul 28, 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
Parameters
same /dql endpoint as company search — the `type:` facet inside the query string is what switches the entity kind
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
from | integer | Optional | 0 | |
size | integer | Optional | entities to return, DEFAULT 50 — at 25 credits each that is a 1,250-credit call if you leave it unset | 1 |
type | string | Optional | 'query' (default) | 'refresh' | |
query | string | Required | a DQL query string starting with type:Person, e.g. type:Person employments.employer.name:"Diffbot" | type:Person employments.employer.name:"Diffbot" |
format | string | Optional | json (default) | jsonl | csv | xls | xlsx | |
jsonmode | string | Optional | 'extended' adds provenance, 'id' returns bare DiffbotIds | |
- Query parameters
fromintegerOptionalExample:
0sizeintegerOptionalentities to return, DEFAULT 50 — at 25 credits each that is a 1,250-credit call if you leave it unset
Example:
1typestringOptional'query' (default) | 'refresh'
querystringRequireda DQL query string starting with type:Person, e.g. type:Person employments.employer.name:"Diffbot"
Example:
type:Person employments.employer.name:"Diffbot"formatstringOptionaljson (default) | jsonl | csv | xls | xlsx
jsonmodestringOptional'extended' adds provenance, 'id' returns bare DiffbotIds
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the 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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.0299/result, including the service fee.