Reverse email-to-profile lookup: LinkedIn URL, job title
village.people.from_emailReverse email lookup: find out who an email address belongs to.
- Preço
- $0.02/successPelo preço de tabela
- Taxa de sucesso
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latência p50
- ——
- Última verificação
- —Ainda não verificado
POSThttps://toolswitch.dev/v1/tools/village.people.from_emailBeta- Usa a cota da plataforma
- Resposta síncrona
- Lê dados públicos
Parâmetros
Returns the same profile as village.people.enrich: full name, job title or headline, current company, location, profile photo URL and LinkedIn URL.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Corpo (JSON) | ||||
mode | string | Opcional | 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 | string | Obrigatório | Work or personal email address of the person to look up. | satyan@microsoft.com |
- Corpo (JSON)
modestringOpcionalcached_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.
Exemplo:
cached_firstemailstringObrigatórioWork or personal email address of the person to look up.
Exemplo:
satyan@microsoft.com
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
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());Esta API de gateway está em Beta; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.02/success, incluindo a taxa de serviço.