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/resultプロバイダー原価
- Success rate
- 100%Last 30 days · 21 calls
- Latency p50
- 3.8 sp95 4.7 s
- Last verified
- 2026/07/28Verified 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
パラメータ
same /dql endpoint as company search — the `type:` facet inside the query string is what switches the entity kind
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
from | 整数 | 任意 | 0 | |
size | 整数 | 任意 | entities to return, DEFAULT 50 — at 25 credits each that is a 1,250-credit call if you leave it unset | 1 |
type | 文字列 | 任意 | 'query' (default) | 'refresh' | |
query | 文字列 | 必須 | a DQL query string starting with type:Person, e.g. type:Person employments.employer.name:"Diffbot" | type:Person employments.employer.name:"Diffbot" |
format | 文字列 | 任意 | json (default) | jsonl | csv | xls | xlsx | |
jsonmode | 文字列 | 任意 | 'extended' adds provenance, 'id' returns bare DiffbotIds | |
- クエリパラメータ
from整数任意例:
0size整数任意entities to return, DEFAULT 50 — at 25 credits each that is a 1,250-credit call if you leave it unset
例:
1type文字列任意'query' (default) | 'refresh'
query文字列必須a DQL query string starting with type:Person, e.g. type:Person employments.employer.name:"Diffbot"
例:
type:Person employments.employer.name:"Diffbot"format文字列任意json (default) | jsonl | csv | xls | xlsx
jsonmode文字列任意'extended' adds provenance, 'id' returns bare DiffbotIds
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.0299/result です。サービス料を含みます。