Skip to main content
POST
Extract Post Comments
Extract detailed comments from a LinkedIn post, including information about who commented and the comment content.
Credit Usage: 1 credit per 10 results (or fraction thereof). For example:
  • 1-10 results = 1 credit
  • 11-20 results = 2 credits
  • 300 results = 30 credits

Header Parameters

string
required
Your API key

Body Parameters

string
required
URL of the LinkedIn post to extract comments from
string
default:"FR"
Country code for proxy selection. Available: (US, UK, FR, DE, NL, IT, IL, CA, BR, ES, IN)
integer
default:"10"
Number of comments to retrieve (used when not in pagination mode)
boolean
default:"false"
Use pagination mode instead of total results mode
integer
Starting page number for pagination mode (required if use_pagination is true)
integer
Ending page number for pagination mode (optional if use_pagination is true)

Response

string
Request status (success/error)
object

Error Responses

Notes

  • The API supports LinkedIn post URLs in various formats
  • Results are paginated with configurable page ranges when using pagination mode
  • The created_time field is provided as a Unix timestamp
  • Each comment includes a unique comment_urn and tracking_id for identification
  • The commenter object contains detailed information about the comment author
  • Pagination Mode vs. Total Results Mode:
    • Total Results Mode: Use the total_results parameter to specify how many comments you want (default)
    • Pagination Mode: Set use_pagination to true and use start_page and end_page parameters
  • Rate limits apply to comment extraction requests
  • The total_available field shows the total number of comments available on the post