Enrich a person by LinkedIn URL: title, company, location
village.people.enrichGet detailed profile information for a person.
- Prix
- $0.02/successAu prix catalogue
- Taux de réussite
- —Aucune donnée de taux de réussite pour le moment30 derniers jours · 0 appels
- Latence p50
- ——
- Dernière vérification
- —Pas encore vérifié
POSThttps://toolswitch.dev/v1/tools/village.people.enrichBeta- Utilise le quota de la plateforme
- Réponse synchrone
- Lit des données publiques
Paramètres
One of linkedin_url or url is required. Returns full name, job title or headline, current company, location, profile photo URL and LinkedIn URL.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Corps (JSON) | ||||
url | chaîne | Facultatif | Generic URL (auto-detected). Send this or linkedin_url. | https://linkedin.com/in/johndoe |
mode | chaîne | Facultatif | cached_first returns the profile Village holds when it is recent and otherwise fetches it live. realtime_only always fetches live. cached_only never fetches and is free; village.people.enrich.stored is that tier. | cached_first |
linkedin_url | chaîne | Facultatif | LinkedIn person profile URL. Send this or url. | https://linkedin.com/in/johndoe |
- Corps (JSON)
urlchaîneFacultatifGeneric URL (auto-detected). Send this or linkedin_url.
Exemple :
https://linkedin.com/in/johndoemodechaîneFacultatifcached_first returns the profile Village holds when it is recent and otherwise fetches it live. realtime_only always fetches live. cached_only never fetches and is free; village.people.enrich.stored is that tier.
Exemple :
cached_firstlinkedin_urlchaîneFacultatifLinkedIn person profile URL. Send this or url.
Exemple :
https://linkedin.com/in/johndoe
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X POST 'https://toolswitch.dev/v1/tools/village.people.enrich' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"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",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"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", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"linkedin_url\":\"https://www.linkedin.com/in/satyanadella\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en version Beta ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.02/success, frais de service inclus.