Call it
curl https://api.peume.com/v1/call/linkedin-list-a-company-s-recent-posts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"linkedin_url": "your linkedin url",
"linkedin_id": "your linkedin id"
}
}'const res = await fetch("https://api.peume.com/v1/call/linkedin-list-a-company-s-recent-posts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"linkedin_url": "your linkedin url",
"linkedin_id": "your linkedin id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/linkedin-list-a-company-s-recent-posts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"linkedin_url": "your linkedin url",
"linkedin_id": "your linkedin id"
}
},
)
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-list-a-company-s-recent-posts.
Parameters
linkedin_urlstringidentity
linkedin_idstringidentity
limitintegerfilter; default 10
Other ways to do it
Same job, other sources, cheapest first.
LinkedIn company posts by URL or slugLinkedin: get company posts (web_v2)LinkedIn company posts by URL — full text, datesRetrieves paginated posts from a LinkedIn company page, including each post's URL, ID, publication date, and full text content.Get a company’s LinkedIn postsGet LinkedIn company posts by company URL, ID, or universal name.
