Enrich a person by LinkedIn URL: title, company, location
village.people.enrichGet detailed profile information for a person.
- Price
- $0.02/successZum Listenpreis
- Success rate
- —Noch keine ErfolgsratendatenLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/village.people.enrichBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameter
One of linkedin_url or url is required. Returns full name, job title or headline, current company, location, profile photo URL and LinkedIn URL.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Anfragetext (JSON) | ||||
url | Zeichenkette | Optional | Generic URL (auto-detected). Send this or linkedin_url. | https://linkedin.com/in/johndoe |
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 never fetches and is free; village.people.enrich.stored is that tier. | cached_first |
linkedin_url | Zeichenkette | Optional | LinkedIn person profile URL. Send this or url. | https://linkedin.com/in/johndoe |
- Anfragetext (JSON)
urlZeichenketteOptionalGeneric URL (auto-detected). Send this or linkedin_url.
Beispiel:
https://linkedin.com/in/johndoemodeZeichenketteOptionalcached_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.
Beispiel:
cached_firstlinkedin_urlZeichenketteOptionalLinkedIn person profile URL. Send this or url.
Beispiel:
https://linkedin.com/in/johndoe
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());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.