Documentation · Get post comments
Documentation / Data actions

Get post comments

Retrieve comments and available commenter context for a post.

POST /v1/actions/linkedin-extract-post-commenters/run/live

Authentication and cost

Use an API key in the Bearer header. This action costs 1 credit per returned record. The maximum result count is 100.

Request

bash
curl "$API_URL/v1/actions/linkedin-extract-post-commenters/run/live" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: unique-linkedin-extract-post-commenters-001" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "social_id": "urn:li:ugcPost:1234567890123456789"
  },
  "max_results": 10,
  "max_credits": 10
}'

Output fields

  • social_id
  • full_name
  • linkedin_profile_handle
  • linkedin_profile_url
  • linkedin_member_id
  • linkedin_member_number
  • headline
  • comment_text
  • comment_time
  • comment_like_count
  • comment_reply_count
  • linkedin_comment_id
  • linkedin_post_id