Simply paste any post URL to extract all comments with detailed commenter profiles. Support for UGC and activity post formats with automatic URL parsing.
Our API supports all major post URL formats with automatic parsing
Standard user-generated content posts
https://www.lin...../posts/{author_slug}_{post-title}-ugcPost-{post_id}-{post_suffix}/
Activity-based posts and shares
https://www.lin...../posts/{author_slug}_{post-title}-activity-{post_id}-{post_suffix}/
Parameters are automatically ignored during parsing
URLs with ?utm_source=... parameters
No more complex URN extraction - just paste the URL and get comprehensive comment data
Extract comments directly from post URLs without needing URNs
Support for both UGC post and activity post URL formats
Simply paste URLs to get comprehensive comment data
Get detailed commenter information including names, titles, and profile links
Analyze comment performance with detailed reaction and engagement data
Robust URL parsing handles query parameters and variations automatically
curl 'https://api.enrich.so/v1/api/search-comment-by-url?post_url=https://www.lin...../posts/marclouvion_ive-created-a-monsterdatafast-realtime-ugcPost-7310642749228085248--KfN/&page=1' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json'
{
"success": true,
"message": "Comments for post found.",
"data": {
"page": 1,
"total_page": 3,
"num": 10,
"data": [
{
"activity_id": "urn:li:comment:(ugcPost:7310642749228085248,7311696747326509056)",
"commentary": "What's the tech stack of this",
"reaction_breakdown": {
"likes": 0,
"empathy": 0,
"other": 0
},
"li_url": "https://www.lin...../feed/update/urn:li:ugcPost:7310642749228085248",
"commenter": {
"profile_id": "ACoAAERECx0BG5STlmUhZHtSWmYSdiplhaD1tyk",
"first_name": "Tushar",
"last_name": "kumar",
"sub_title": "--"
}
}
]
},
"total_credits": 36075,
"credits_used": 22455.05,
"credits_remaining": 13619.95
}
Extract valuable insights from posts with just a URL - no complex setup required
Instantly analyze comments from any post URL you find
Monitor engagement on competitor posts by simply copying their URLs
Research successful content by analyzing comments on viral posts
Find potential leads from people commenting on industry-relevant posts
Discover why leading companies trust us to power their data intelligence needs.
We support both UGC post format (ugcPost-{post_id}) and activity post format (activity-{post_id}). Query parameters like UTM parameters are automatically ignored during processing.
No, our API automatically handles URL parsing and ignores query parameters. You can send the URL exactly as you copy it from .
This endpoint accepts post URLs directly, making it more convenient when you have the URL. The URN-based endpoint requires you to extract the URN first but may be faster for batch processing.
The API can only access comments from posts that are publicly visible or accessible through 's standard visibility rules.
Start analyzing post comments with simple URL-based extraction. Perfect for quick insights and social media research.