Search people in plain language, network or global
village.people.searchSearch for people using natural language queries.
- 价格
- $0.006/result按目录价
- 成功率
- 100%近 30 天 · 10 次
- 延迟 p50
- 7.6 秒p95 33 秒
- 最后验证
- —尚未验证
POSThttps://toolswitch.dev/v1/tools/village.people.searchBeta- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
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.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
mode | 字符串 | 可选 | 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 | 整数 | 可选 | Maximum number of results per page. The price scales with the results returned. | 25 |
scope | 字符串 | 可选 | 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 | 可选 | Pagination cursor from the previous response (encoded string or cursor object). | |
prompt | 字符串 | 可选 | 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 | 对象 | 可选 | 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 | 对象 | 可选 | 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 | 字符串 | 可选 | Inline count scopes computed on the first page only. Ignored when cursor is sent, and adds latency. | |
network_filters | 对象 | 可选 | 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 | 布尔 | 可选 | 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 | 对象 | 可选 | 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. | |
- 请求体(JSON)
mode字符串可选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整数可选Maximum number of results per page. The price scales with the results returned.
示例:
25scope字符串可选Defaults: lookup=global, simple=network, complex=network. network searches your connections first, global searches everyone, specific_list needs specific_list_data.
示例:
globalcursorstring|object可选Pagination cursor from the previous response (encoded string or cursor object).
prompt字符串可选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 NYCfilters对象可选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对象可选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字符串可选Inline count scopes computed on the first page only. Ignored when cursor is sent, and adds latency.
network_filters对象可选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布尔可选Complex searches keep only objective constraints in SQL and return the subjective ones as metadata.screening_criteria for a downstream screening step.
示例:
falsespecific_list_data对象可选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.
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
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());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $0.006/result 计费,已含服务费。