enrichment
Extract Comments Endpoint
Extract comments made by a LinkedIn profile
Extracts the comments a user has made on LinkedIn posts.
Supported profile_identifier formats:
- Full URL: https://www.linkedin.com/in/john-doe-123456/
- Short URL: linkedin.com/in/john-doe
- Public ID only: john-doe
- Member identity: ACoAABxxxxxx
- Encoded profile ID: prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj
Pagination:
- offset: Number of comments to skip (default: 0)
- count: Number of comments to return (default: 10, max: 100)
Example request:
{
"profile_identifier": "john-doe",
"offset": 0,
"count": 20
}
Example response:
{
"total": 20,
"offset": 0,
"count": 20,
"has_next_page": true,
"credits_used": 1,
"results": [
{
"comment_id": "urn:li:comment:(activity:7xxx,xxx)",
"comment_content": "Great post! Thanks for sharing.",
"comment_time": "2d",
"comment_time_days": 2,
"commenter": {
"name": "John Doe",
"profile_url": "https://linkedin.com/in/john-doe",
"headline": "Software Engineer"
},
"post": {
"url": "https://linkedin.com/feed/update/urn:li:activity:xxx",
"content": "Original post content...",
"author": {
"name": "Jane Smith"
}
}
}
],
"profile_id": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj"
}
Credits: 1 credit per 10 comments (or fraction thereof)
post/enrich/comments
Request
- Base URL: https://api.dataforb2b.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.dataforb2b.ai/enrich/comments
- Auth: none declared
Headers
api-keystring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.