Call it
curl https://api.peume.com/v1/call/linkedin-post-search-full-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "your query",
"limit": 10,
"sort": "relevance",
"datePosted": "last-day"
}
}'const res = await fetch("https://api.peume.com/v1/call/linkedin-post-search-full-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "your query",
"limit": 10,
"sort": "relevance",
"datePosted": "last-day"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/linkedin-post-search-full-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "your query",
"limit": 10,
"sort": "relevance",
"datePosted": "last-day"
}
},
)
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-post-search-full-2.
Parameters
mentioningMemberUrlsarrayOnly return posts mentioning these LinkedIn member profile URLs.
routestringUpstream source to run on; omit for "octopus". walrus ($0.004 per call, 88.8% uptime); hedgehog ($0.005 per call, 95.4% uptime); octopus ($0 + $0.00144 per result, at most $0.144, 99% uptime); honeybee ($0.00126 + $0.0021 per result, at most $0.212, 95.4% uptime). Output fields only some routes return: attachmentDescription (hedgehog, octopus, honeybee); attachmentImage (hedgehog, octopus, honeybee); attachmentSubtitle (hedgehog, octopus, honeybee); attachmentTitle (hedgehog, octopus, honeybee); attachmentType (hedgehog, octopus, honeybee); attachmentUrl (hedgehog, octopus, honeybee); pollClos
walrus · hedgehog · octopus · honeybee
queryRequiredstringLinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.
authorKeywordsstringOnly return posts whose author headline or job title contains these keywords. To match any of several words, join them with OR (psicologa OR psicologo); spaces or commas between words do not do that. If an accented word returns no results, try it without accents.
limitintegerMaximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page.
Example: 10
sortstringOrder results by search relevance or publication date.
relevance · date
Example: relevance
authorUrlsarrayOnly return posts authored by these LinkedIn profile or company URLs.
datePostedstringOnly return posts published within this relative time window. Last-hour and windows beyond one month route to the provider that supports them.
last-hour · last-day · last-week · last-month · last-three-months · last-six-months · last-year
Example: last-day
contentTypestringOnly return posts carrying this content type.
all · videos · images · jobs · live-videos · documents · collaborative-articles
authorCompanyNamesarrayOnly return posts by people associated with these company names.
authorIndustryIdsarrayOnly return posts by authors associated with these LinkedIn industry IDs.
