Reverse email-to-profile lookup, free cached lookup
village.people.from_email.storedReverse email lookup: find out who an email address belongs to.
- Precio
- freeA precio de catálogo
- Tasa de éxito
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latencia p50
- ——
- Última verificación
- —Aún no verificado
POSThttps://toolswitch.dev/v1/tools/village.people.from_email.storedBeta- Usa la cuota de la plataforma
- Respuesta síncrona
- Lee datos públicos
Parámetros
Returns the same profile as village.people.from_email from the cache only, for free. An email or profile not in the cache answers 404. The call still needs a balance of at least 1 credit to start.
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Cuerpo (JSON) | ||||
mode | cadena | Obligatorio | Fixed to cached_only: answer from the cache only, never look up live. | cached_only |
email | cadena | Obligatorio | Work or personal email address of the person to look up. | satyan@microsoft.com |
- Cuerpo (JSON)
modecadenaObligatorioFixed to cached_only: answer from the cache only, never look up live.
Ejemplo:
cached_onlyemailcadenaObligatorioWork or personal email address of the person to look up.
Ejemplo:
satyan@microsoft.com
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/village.people.from_email.stored' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"mode":"cached_only","email":"satyan@microsoft.com"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/village.people.from_email.stored",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"mode\":\"cached_only\",\"email\":\"satyan@microsoft.com\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/village.people.from_email.stored", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"mode\":\"cached_only\",\"email\":\"satyan@microsoft.com\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());La API de la pasarela está en Beta; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a free, incluida la tarifa de servicio.