Search people by title, company, skills or location
pdl.people.searchSearch PDL people by title, company, seniority, skills or location — pays per record
- Price
- $0.28/resultPelo preço do provedor
- Success rate
- 92,7%Last 30 days · 78 calls
- Latency p50
- 223 msp95 5.3 s
- Last verified
- 31 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/pdl.people.search?sql=SELECT+*+FROM+person+WHERE+location_country%3D%27united+states%27&size=1Preview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
exactly one of sql | query. GET caps `size` at 100, POST at 1000 — the only real difference between the two methods. Always set an explicit small size while iterating: you pay per record, so a size=100 call is a 100-credit call. Rate limit 10 req/min
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
sql | string | Opcional | SQL WHERE clause over the Person schema, e.g. "SELECT * FROM person WHERE job_title_role='engineering' AND location_country='united states'" | SELECT * FROM person WHERE location_country='united states' |
size | inteiro | Opcional | records to return, 1-100, default 1 — THIS IS THE PRICE DIAL: you pay 1 credit per record | 1 |
query | string | Opcional | Elasticsearch JSON query — the alternative to sql, more expressive | |
pretty | booleano | Opcional | ||
dataset | string | Opcional | restrict to a licensed dataset, e.g. resume, email, phone | |
titlecase | booleano | Opcional | ||
scroll_token | string | Opcional | cursor from the previous response, for paging past 100 | |
- Parâmetros de consulta
sqlstringOpcionalSQL WHERE clause over the Person schema, e.g. "SELECT * FROM person WHERE job_title_role='engineering' AND location_country='united states'"
Exemplo:
SELECT * FROM person WHERE location_country='united states'sizeinteiroOpcionalrecords to return, 1-100, default 1 — THIS IS THE PRICE DIAL: you pay 1 credit per record
Exemplo:
1querystringOpcionalElasticsearch JSON query — the alternative to sql, more expressive
prettybooleanoOpcionaldatasetstringOpcionalrestrict to a licensed dataset, e.g. resume, email, phone
titlecasebooleanoOpcionalscroll_tokenstringOpcionalcursor from the previous response, for paging past 100
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X GET 'https://toolswitch.dev/v1/tools/pdl.people.search?sql=SELECT+*+FROM+person+WHERE+location_country%3D%27united+states%27&size=1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/pdl.people.search?sql=SELECT+*+FROM+person+WHERE+location_country%3D%27united+states%27&size=1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/pdl.people.search?sql=SELECT+*+FROM+person+WHERE+location_country%3D%27united+states%27&size=1", {
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.28/result, incluindo a taxa de serviço.