Search companies by industry, country and size
tomba.companies.search.revealStructured filters (or a natural-language query) → matching companies with firmographics, socials, revenue band, headcount band and how many contacts are available for each
- 价格
- $0.000178/call按目录价
- 成功率
- 100%近 30 天 · 29,047 次
- 延迟 p50
- 525 毫秒p95 2.3 秒
- 最后验证
- 2026年8月20日实测可用
POSThttps://toolswitch.dev/v1/tools/tomba.companies.search.revealBeta- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
POST with Content-Type: application/json. Either filters or query
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
page | 整数 | 可选 | 1-1000, default 1 | 1 |
query | 字符串 | 可选 | natural-language search, 8-100 chars. WARNING: this mode failed live with 422 {"type":"openai_error"} — it routes through an LLM upstream and is not reliable. Prefer `filters` | |
filters | 对象 | 可选 | structured criteria — each field an {include, exclude} object, e.g. {"location_country":{"include":["IE"]},"industry":{"include":["financial services"]}}; fields: company, industry, keywords, location_city, location_country, location_state, size, founded, revenue. The older flat {"country":[...]} shape is silently ignored | {"industry":{"include":["financial services"]},"location_country":{"include":["IE"]}} |
webhook_url | 字符串 | 可选 | deliver the results asynchronously instead | |
- 请求体(JSON)
page整数可选1-1000, default 1
示例:
1query字符串可选natural-language search, 8-100 chars. WARNING: this mode failed live with 422 {"type":"openai_error"} — it routes through an LLM upstream and is not reliable. Prefer `filters`
filters对象可选structured criteria — each field an {include, exclude} object, e.g. {"location_country":{"include":["IE"]},"industry":{"include":["financial services"]}}; fields: company, industry, keywords, location_city, location_country, location_state, size, founded, revenue. The older flat {"country":[...]} shape is silently ignored
示例:
{"industry":{"include":["financial services"]},"location_country":{"include":["IE"]}}webhook_url字符串可选deliver the results asynchronously instead
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X POST 'https://toolswitch.dev/v1/tools/tomba.companies.search.reveal' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"page":1,"filters":{"industry":{"include":["financial services"]},"location_country":{"include":["IE"]}}}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tomba.companies.search.reveal",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"page\":1,\"filters\":{\"industry\":{\"include\":[\"financial services\"]},\"location_country\":{\"include\":[\"IE\"]}}}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tomba.companies.search.reveal", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"page\":1,\"filters\":{\"industry\":{\"include\":[\"financial services\"]},\"location_country\":{\"include\":[\"IE\"]}}}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $0.000178/call 计费,已含服务费。