Search Post Comments by URL

Retrieve the list of comments associated with a specific LinkedIn post (activity) by its URL. The results are paginated, allowing you to browse through all the comments page by page.

cURL 'https://api.enrich.so/v1/api/search-comment-by-url?post_url=https://www.linkedin.com/posts/marclouvion_ive-created-a-monster-datafast-realtime-ugcPost-7310642749228085248--KfN/&page=1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'

💡 Hint

Only LinkedIn post URLs in the following formats are accepted:

UGC Post format:

https://www.linkedin.com/posts/{author_slug}_{post-title}-ugcPost-{post_id}-{post_suffix}/

✅ Example:

https://www.linkedin.com/posts/marclouvion_ive-created-a-monster-datafast-realtime-ugcPost-7310642749228085248--KfN/

Activity Post format:

https://www.linkedin.com/posts/{author_slug}_{post-title}-activity-{post_id}-{post_suffix}/

✅ Example:

https://www.linkedin.com/posts/kgstrivers_javascript-interviewpdf-activity-7321374901855027200-qkvO/

The key identifiers are either ugcPost-{post_id} or activity-{post_id}. Query parameters (like ?utm_source=...) are allowed and will be ignored during parsing.

Example response

Status code: 200 OK

Status code: 404 NOT FOUND

Last updated