PeumeAPI

Social media data · LinkedIn

LinkedIn Comments

Read the comments on one LinkedIn post from its `url`.

$0.00083 per result

Call it

curl https://api.peume.com/v1/call/linkedin-comments \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "limit": 20,
    "url": "your url"
  }
}'

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-comments.

Parameters

num_commentsinteger

Provides a compatibility input for setting an upper cap on fetched comments rather than filtering for a minimum comment count. Results are not guaranteed to be truncated to this number.

limitinteger

Maximum number of results, 1 to 200 (default 20). For some actions it counts pages or items per parent rather than final rows.

Example: 20

num_likesinteger

Provides a compatibility input for setting an upper cap on retrieved like data rather than filtering posts by a minimum number of likes. It does not serve as a stable post popularity filter.

sortstring

Sets the sorting order to newest or relevance for post search and comment fetching. Because these actions target different object types, this parameter does not sort people, companies, or job listings. One of: newest, relevance.

newest · relevance

urlRequiredstring

Specifies the full LinkedIn post URL used by the comments action to fetch comments for that post; company or personal profile URLs are not supported. For other endpoints offering URL compatibility inputs, required parameters like username or company must still be supplied.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.