Call it
curl https://api.peume.com/v1/call/linkedin-posts-by-member-url-slug-or-urn \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"profileUrlOrUrn": "satyanadella",
"count": 10,
"includeReposts": false
}
}'const res = await fetch("https://api.peume.com/v1/call/linkedin-posts-by-member-url-slug-or-urn", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"profileUrlOrUrn": "satyanadella",
"count": 10,
"includeReposts": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/linkedin-posts-by-member-url-slug-or-urn",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"profileUrlOrUrn": "satyanadella",
"count": 10,
"includeReposts": False
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: linkedin-posts-by-member-url-slug-or-urn.
Parameters
profileUrlOrUrnRequiredstringProfile URL, public identifier or profile URN.
Example: satyanadella
countintegerExample: 10
paginationTokenstringPass the token from the previous response unchanged.
includeRepostsbooleanWhen true, also return plain reposts (postType repost, original under resharedPost) and collaborative posts. When false or omitted, leaves those items out of posts but still counts them in pageSize and hasMore. The price does not change. Accepts true, false, 1, or 0.
Example: false
Other ways to do it
Same job, other sources, cheapest first.
