Call it
curl https://api.peume.com/v1/call/linkedin-company-posts-by-url-full-text-dates \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://linkedin.com/company/shopify",
"page": "1"
}
}'const res = await fetch("https://api.peume.com/v1/call/linkedin-company-posts-by-url-full-text-dates", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://linkedin.com/company/shopify",
"page": "1"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/linkedin-company-posts-by-url-full-text-dates",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"url": "https://linkedin.com/company/shopify",
"page": "1"
}
},
)
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-company-posts-by-url-full-text-dates.
Parameters
urlRequiredstringThe URL of the LinkedIn company page to get
Example: https://linkedin.com/company/shopify
pagenumberThe page number to get
Example: 1
Other ways to do it
Same job, other sources, cheapest first.
LinkedIn company posts by URL or slugLinkedin: get company posts (web_v2)List a company's recent postsBest sourceList a company's recent posts. Checks the cheapest source first and moves to the next one until it finds an answer.Get a company’s LinkedIn postsGet LinkedIn company posts by company URL, ID, or universal name.
