Save a new lead
hunter.x.leads-createAdd a lead to your Hunter account, optionally attaching it to a leads list
- 价格
- free按目录价
- 成功率
- —暂无成功率数据暂无成功率数据
- 延迟 p50
- ——
- 最后验证
- —尚未验证
POSThttps://toolswitch.dev/v1/tools/hunter.x.leads-createBeta- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
writes real account state, deliberately no test_request
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
email | 字符串 | 可选 | ||
company | 字符串 | 可选 | ||
twitter | 字符串 | 可选 | ||
website | 字符串 | 可选 | ||
position | 字符串 | 可选 | ||
last_name | 字符串 | 可选 | ||
first_name | 字符串 | 可选 | ||
source_page | 字符串 | 可选 | ||
company_size | 字符串 | 可选 | ||
country_code | 字符串 | 可选 | ||
linkedin_url | 字符串 | 可选 | ||
phone_number | 字符串 | 可选 | ||
leads_list_id | 字符串 | 可选 | ||
confidence_score | 整数 | 可选 | ||
- 请求体(JSON)
email字符串可选company字符串可选twitter字符串可选website字符串可选position字符串可选last_name字符串可选first_name字符串可选source_page字符串可选company_size字符串可选country_code字符串可选linkedin_url字符串可选phone_number字符串可选leads_list_id字符串可选confidence_score整数可选
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/hunter.x.leads-create' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/hunter.x.leads-create",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/hunter.x.leads-create", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。