Reverse email-to-profile lookup: LinkedIn URL, job title
village.people.from_emailReverse email lookup: find out who an email address belongs to.
- Price
- $0.02/successZum Listenpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/village.people.from_emailBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameter
Returns the same profile as village.people.enrich: full name, job title or headline, current company, location, profile photo URL and LinkedIn URL.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Anfragetext (JSON) | ||||
mode | Zeichenkette | Optional | 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 | Zeichenkette | Erforderlich | Work or personal email address of the person to look up. | satyan@microsoft.com |
- Anfragetext (JSON)
modeZeichenketteOptionalcached_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.
Beispiel:
cached_firstemailZeichenketteErforderlichWork or personal email address of the person to look up.
Beispiel:
satyan@microsoft.com
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist in der Beta; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.02/success einschließlich Servicegebühr abgerechnet.