Recent LinkedIn posts by profile URL, with engagement
village.people.postsFetch a person's recent LinkedIn activity.
- 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.postsBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameter
Returns posts newest first with content, author, engagement, mentions and links. The feed mixes the person's own posts with posts they reshared from others, so check author and reposted_by before attributing a post to them.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Anfragetext (JSON) | ||||
limit | Ganzzahl | Optional | Posts to return per call (1-50, default 20). Follow pagination.cursor to reach the rest. | 1 |
cursor | Zeichenkette | Optional | Pagination token from a previous response's pagination.cursor. | |
linkedin_url | Zeichenkette | Erforderlich | LinkedIn person profile URL. | https://linkedin.com/in/johndoe |
- Anfragetext (JSON)
limitGanzzahlOptionalPosts to return per call (1-50, default 20). Follow pagination.cursor to reach the rest.
Beispiel:
1cursorZeichenketteOptionalPagination token from a previous response's pagination.cursor.
linkedin_urlZeichenketteErforderlichLinkedIn person profile 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.posts' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"limit":1,"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.posts",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"limit\":1,\"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.posts", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"limit\":1,\"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.