Call it
curl https://api.peume.com/v1/call/linkedin-list-profile-comments \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"profile": "your profile",
"profileId": "your profileId"
}
}'const res = await fetch("https://api.peume.com/v1/call/linkedin-list-profile-comments", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"profile": "your profile",
"profileId": "your profileId"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/linkedin-list-profile-comments",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"profile": "your profile",
"profileId": "your profileId"
}
},
)
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-profile-comments.
Parameters
profilestringLinkedIn profile URL, vanity slug, or @handle.
profileIdstringThe profile's socialId from a previous read.
postedLimitstringOnly comments from the last 24h, week, month, 3months, 6months, or year (any = no limit); spellings like '1 month' or '7 days' are accepted. 24h, week and month filter upstream; 3months, 6months and year (90, 180, 365 days) are applied by to each page, so a page can come back with fewer rows or none.
pagestringPage to read, 2 and up, sent together with the paginationToken of the previous response. Leave out for the first page.
paginationTokenstringdata.pagination.paginationToken of the previous response, sent together with page (the page it reads).
