Call it
curl https://api.peume.com/v1/call/linkedin-company-posts-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 10,
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/linkedin-company-posts-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 10,
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/linkedin-company-posts-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 10,
"url": "your url"
}
},
)
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-3.
Parameters
routestringUpstream source to run on; omit for "octopus". hedgehog ($0.00386 per call, 98.6% uptime); octopus ($0.00126 + $0.0021 per result, at most $0.107, 100% uptime). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.
hedgehog · octopus
includeRepostsbooleanInclude reposts (posts shared without an added comment). Defaults to true; set false to exclude them.
limitintegerMaximum number of posts to return.
Example: 10
postedLimitstringOnly return posts published within this window (default any).
any · 1h · 24h · week · month · 3months · 6months · year
includeQuotePostsbooleanInclude quote posts (posts shared with an added comment). Defaults to true; set false to exclude them.
urlRequiredstringFull LinkedIn company page URL.
