Person profile by LinkedIn URL, free cached lookup
village.people.enrich.storedGet detailed profile information for a person.
- Preço
- freePelo preço de tabela
- Taxa de sucesso
- —Ainda não há dados da taxa de sucessoÚltimos 30 dias · 0 chamadas
- Latência p50
- ——
- Última verificação
- —Ainda não verificado
POSThttps://toolswitch.dev/v1/tools/village.people.enrich.storedBeta- Usa a cota da plataforma
- Resposta síncrona
- Lê dados públicos
Parâmetros
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.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Corpo (JSON) | ||||
url | string | Opcional | Generic URL (auto-detected). Send this or linkedin_url. | https://linkedin.com/in/johndoe |
mode | string | Obrigatório | Fixed to cached_only: answer from the cache only, never fetch live. | cached_only |
linkedin_url | string | Opcional | LinkedIn person profile URL. Send this or url. | https://linkedin.com/in/johndoe |
- Corpo (JSON)
urlstringOpcionalGeneric URL (auto-detected). Send this or linkedin_url.
Exemplo:
https://linkedin.com/in/johndoemodestringObrigatórioFixed to cached_only: answer from the cache only, never fetch live.
Exemplo:
cached_onlylinkedin_urlstringOpcionalLinkedIn person profile URL. Send this or url.
Exemplo:
https://linkedin.com/in/johndoe
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
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());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 free, incluindo a taxa de serviço.