Search people in plain language, network or global
village.people.searchSearch for people using natural language queries.
- Price
- $0.006/resultZum Listenpreis
- Success rate
- 100 %Last 30 days · 10 calls
- Latency p50
- 7.6 sp95 33 s
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/village.people.searchBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameter
Search people in plain language, across your network or globally, to build lead lists, prospect lists, candidate shortlists and investor target lists. scope defaults to network for the simple and complex modes and to global for lookup, so pass scope global to search everyone. The Free plan returns at most 10 results. Complex searches usually take 20 to 60 seconds; wait rather than retry. Streaming (stream) is not accepted by this tool.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Anfragetext (JSON) | ||||
mode | Zeichenkette | Optional | auto classifies the query into lookup, simple or complex. lookup is for direct matches, simple for firmographic queries, complex for multi-step or subjective queries. | |
limit | Ganzzahl | Optional | Maximum number of results per page. The price scales with the results returned. | 25 |
scope | Zeichenkette | Optional | Defaults: lookup=global, simple=network, complex=network. network searches your connections first, global searches everyone, specific_list needs specific_list_data. | global |
cursor | string|object | Optional | Pagination cursor from the previous response (encoded string or cursor object). | |
prompt | Zeichenkette | Optional | Natural language search query. Send it as prompt, not query. Optional when filters or list_filter is sent. | VP Engineering at Series B fintechs in NYC |
filters | Objekt | Optional | Structured search filters. Multi-value keys accept an array of values (preferred) or a legacy comma-separated / JSON-array string. Keys include name, linkedinUrl, position, seniority, department, function, company, companyDomain, companyIndustry, companySize, country, city and yearsOfExperienceMin; the docs list them all. | |
list_filter | Objekt | Optional | Search within your saved lists: people_list_id, company_list_id, or both. A list alone is a valid search. Lists must belong to your active workspace. | {"people_list_id":123} |
include_counts | Zeichenkette | Optional | Inline count scopes computed on the first page only. Ignored when cursor is sent, and adds latency. | |
network_filters | Objekt | Optional | Network filtering options: connection_degrees, introducer_linkedin_ids, user_to_introducer_types, user_to_introducer_min_score, introducer_to_target_types, introducer_to_target_min_score, exclude_teams, exclude_community. | |
screening_handoff | Boolean | Optional | Complex searches keep only objective constraints in SQL and return the subjective ones as metadata.screening_criteria for a downstream screening step. | false |
specific_list_data | Objekt | Optional | Required when scope is specific_list: people_linkedin_identifiers, 1 to 50,000 entries, each a bare LinkedIn identifier or {id, score}. limit is then ignored and every match comes back in one response. | |
- Anfragetext (JSON)
modeZeichenketteOptionalauto classifies the query into lookup, simple or complex. lookup is for direct matches, simple for firmographic queries, complex for multi-step or subjective queries.
limitGanzzahlOptionalMaximum number of results per page. The price scales with the results returned.
Beispiel:
25scopeZeichenketteOptionalDefaults: lookup=global, simple=network, complex=network. network searches your connections first, global searches everyone, specific_list needs specific_list_data.
Beispiel:
globalcursorstring|objectOptionalPagination cursor from the previous response (encoded string or cursor object).
promptZeichenketteOptionalNatural language search query. Send it as prompt, not query. Optional when filters or list_filter is sent.
Beispiel:
VP Engineering at Series B fintechs in NYCfiltersObjektOptionalStructured search filters. Multi-value keys accept an array of values (preferred) or a legacy comma-separated / JSON-array string. Keys include name, linkedinUrl, position, seniority, department, function, company, companyDomain, companyIndustry, companySize, country, city and yearsOfExperienceMin; the docs list them all.
list_filterObjektOptionalSearch within your saved lists: people_list_id, company_list_id, or both. A list alone is a valid search. Lists must belong to your active workspace.
Beispiel:
{"people_list_id":123}include_countsZeichenketteOptionalInline count scopes computed on the first page only. Ignored when cursor is sent, and adds latency.
network_filtersObjektOptionalNetwork filtering options: connection_degrees, introducer_linkedin_ids, user_to_introducer_types, user_to_introducer_min_score, introducer_to_target_types, introducer_to_target_min_score, exclude_teams, exclude_community.
screening_handoffBooleanOptionalComplex searches keep only objective constraints in SQL and return the subjective ones as metadata.screening_criteria for a downstream screening step.
Beispiel:
falsespecific_list_dataObjektOptionalRequired when scope is specific_list: people_linkedin_identifiers, 1 to 50,000 entries, each a bare LinkedIn identifier or {id, score}. limit is then ignored and every match comes back in one response.
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X POST 'https://toolswitch.dev/v1/tools/village.people.search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"limit":1,"scope":"global","prompt":"CEO of Microsoft"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/village.people.search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"limit\":1,\"scope\":\"global\",\"prompt\":\"CEO of Microsoft\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/village.people.search", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"limit\":1,\"scope\":\"global\",\"prompt\":\"CEO of Microsoft\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist in der Beta; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.006/result einschließlich Servicegebühr abgerechnet.