Reverse email-to-profile lookup: LinkedIn URL, job title
village.people.from_emailReverse email lookup: find out who an email address belongs to.
- 価格
- $0.02/successカタログ価格で提供
- 成功率
- —成功率データはまだありません成功率データはまだありません
- レイテンシ p50
- ——
- 最終確認
- —未確認
POSThttps://toolswitch.dev/v1/tools/village.people.from_emailBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
Returns the same profile as village.people.enrich: full name, job title or headline, current company, location, profile photo URL and LinkedIn URL.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| リクエストボディ(JSON) | ||||
mode | 文字列 | 任意 | cached_first returns the profile Village holds when it is recent and otherwise fetches it live. realtime_only always fetches live. cached_only answers from the cache only, for free; village.people.from_email.stored is that tier. | cached_first |
email | 文字列 | 必須 | Work or personal email address of the person to look up. | satyan@microsoft.com |
- リクエストボディ(JSON)
mode文字列任意cached_first returns the profile Village holds when it is recent and otherwise fetches it live. realtime_only always fetches live. cached_only answers from the cache only, for free; village.people.from_email.stored is that tier.
例:
cached_firstemail文字列必須Work or personal email address of the person to look up.
例:
satyan@microsoft.com
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/village.people.from_email' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"email":"satyan@microsoft.com"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/village.people.from_email",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"email\":\"satyan@microsoft.com\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/village.people.from_email", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"email\":\"satyan@microsoft.com\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.02/success です。サービス料を含みます。