Person profile by LinkedIn URL, free cached lookup
village.people.enrich.storedGet detailed profile information for a person.
- 价格
- free按目录价
- 成功率
- —暂无成功率数据近 30 天 · 0 次
- 延迟 p50
- ——
- 最后验证
- —尚未验证
POSThttps://toolswitch.dev/v1/tools/village.people.enrich.storedBeta- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
One of linkedin_url or url is required. Returns the same profile as village.people.enrich from the cache only, for free. A person not in the cache answers 404.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
url | 字符串 | 可选 | Generic URL (auto-detected). Send this or linkedin_url. | https://linkedin.com/in/johndoe |
mode | 字符串 | 必填 | Fixed to cached_only: answer from the cache only, never fetch live. | cached_only |
linkedin_url | 字符串 | 可选 | LinkedIn person profile URL. Send this or url. | https://linkedin.com/in/johndoe |
- 请求体(JSON)
url字符串可选Generic URL (auto-detected). Send this or linkedin_url.
示例:
https://linkedin.com/in/johndoemode字符串必填Fixed to cached_only: answer from the cache only, never fetch live.
示例:
cached_onlylinkedin_url字符串可选LinkedIn person profile URL. Send this or url.
示例:
https://linkedin.com/in/johndoe
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/village.people.enrich.stored' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"mode":"cached_only","linkedin_url":"https://www.linkedin.com/in/satyanadella"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/village.people.enrich.stored",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"mode\":\"cached_only\",\"linkedin_url\":\"https://www.linkedin.com/in/satyanadella\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/village.people.enrich.stored", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"mode\":\"cached_only\",\"linkedin_url\":\"https://www.linkedin.com/in/satyanadella\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。