LinkedIn Get Post Comments

103.27 credits/call
ae_linkedin_get_post_comments

Retrieve comments on a LinkedIn post by its activity identifier. Inputs: - urn (required string): the numeric activity identifier from the post URL, for example "7267273010393358336" from .../urn:li:activity:7267273010393358336/. - sort_by (optional): "Most relevant" (default) or "Most recent". - page (optional integer): page number, starting at 1. - pagination_token (optional string): use the token returned by the previous response when fetching another page. - share_urn (optional string): an additional share URN for a shared post. Returns comment data, which may include commenter details, text, time, pinned status and replies. The documented result includes data for the comments, pagination_token for the next page and total for the number of items returned in this response; total is not the post's overall comment count. Each call retrieves a page rather than necessarily all comments. Intermittent 400 or other errors may be transient. Up to three retries are recommended for transient failures; retries are not guaranteed to resolve every error.

Social
103.27 credits/call

Pricing

103.27 credits/call
ConditionCharge
Each call103.27 credits/call

103.27 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
urnstringYes帖子 activity urn/Post activity urn—
pageinteger | nullNo页码,从 1 开始/Page number, starts at 1—
sort_bystring | nullNoMost relevant(默认)| Most recent—
share_urnstring | nullNo分享类帖子的 share urn(可选)/Share urn (optional)—
pagination_tokenstring | nullNo上一次响应返回的翻页令牌/Pagination token—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_linkedin_get_post_comments' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "urn": "xxx"
  }
}'

No response example available yet.