Search companies in plain language, network or global
village.companies.searchSearch for companies using natural language queries.
- 価格
- $0.006/resultカタログ価格で提供
- 成功率
- —成功率データはまだありません直近 30 日 · 0 回
- レイテンシ p50
- ——
- 最終確認
- —未確認
POSThttps://toolswitch.dev/v1/tools/village.companies.searchBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
Search companies in plain language, across your network or globally, to build account and investor target lists. By default this searches only companies connected to your network; pass scope global to search everyone. Results carry relevance scores and connection strength. Complex searches usually take 20 to 60 seconds; wait rather than retry. Streaming (stream) is not accepted by this tool.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| リクエストボディ(JSON) | ||||
mode | 文字列 | 任意 | Search mode for prompt-only searches: auto lets the system decide, lookup is a direct match, simple is LLM-powered, complex adds thinking and high-reasoning SQL generation. Structured filters always compile deterministically. | auto |
limit | 整数 | 任意 | Maximum number of results per page. The price scales with the results returned. | 25 |
scope | 文字列 | 任意 | network searches companies connected to your network first, global searches all companies. | 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. | Find B2B SaaS companies with 50-200 employees in California |
filters | オブジェクト | 任意 | Structured company filters, compiled deterministically. Send filters without a prompt. Keys include name, domain, linkedinUrl, industry, companySize, companyType, country, city, fundingStage, foundedAfter, hiring and totalFundingMinUsd; the docs list them all. | |
list_filter | オブジェクト | 任意 | Search within your saved lists: company_list_id, people_list_id, or both. A list alone is a valid search. Lists must belong to your active workspace. | {"company_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 path and relationship filters: 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 |
- リクエストボディ(JSON)
mode文字列任意Search mode for prompt-only searches: auto lets the system decide, lookup is a direct match, simple is LLM-powered, complex adds thinking and high-reasoning SQL generation. Structured filters always compile deterministically.
例:
autolimit整数任意Maximum number of results per page. The price scales with the results returned.
例:
25scope文字列任意network searches companies connected to your network first, global searches all companies.
例:
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.
例:
Find B2B SaaS companies with 50-200 employees in Californiafiltersオブジェクト任意Structured company filters, compiled deterministically. Send filters without a prompt. Keys include name, domain, linkedinUrl, industry, companySize, companyType, country, city, fundingStage, foundedAfter, hiring and totalFundingMinUsd; the docs list them all.
list_filterオブジェクト任意Search within your saved lists: company_list_id, people_list_id, or both. A list alone is a valid search. Lists must belong to your active workspace.
例:
{"company_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 path and relationship filters: 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
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X POST 'https://toolswitch.dev/v1/tools/village.companies.search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"limit":1,"scope":"global","prompt":"Stripe"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/village.companies.search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"limit\":1,\"scope\":\"global\",\"prompt\":\"Stripe\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/village.companies.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\":\"Stripe\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.006/result です。サービス料を含みます。