API referenceLinkedIn
LinkedIn details (v2)
Request model for /linkedin-single-v2.
Deliberately url-only: the model is extra="forbid", so keeping include_comments off it means v2 keeps rejecting the flag with a 422 instead of silently accepting and ignoring it.
The example response below is real output from this endpoint, not an illustration. Long lists and long strings are shortened to keep the page readable, and each place that happens is marked. This example took 2.7s.
Authorization
ApiKeyAuth X-API-Key<token>
Your API key. Sent on every request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/scrapers/linkedin-details-v2" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.linkedin.com/posts/joshejsanders_90-of-a-viral-linkedin-post-the-hook-activity-7298318111240257536-MZHu" }'{ "request_id": "req_8f2c1d94e7b0", "success": true, "status": { "code": "OK", "message": "Scrape completed.", "retryable": false }, "data": { "data": { "article_body": "90% of a viral LinkedIn post? The hook. \n\nSteal this to write top 1% hooks:\n\nThis sheet from the main man Chris Donnelly shares everything! \n\nAfter writing 1000+ posts for multiple different people. \nAnd growing my own brand to 100k+ in 9 months. \n\nI’ve trailled and tested a huge variety of hooks. \n\nStatistics, quotes… (+1697 chars)", "author": { "follower_count": 181443, "handle": "joshejsanders", "name": "Josh S.", "profile_picture_url": null, "profile_url": "https://uk.linkedin.com/in/joshejsanders" }, "caption": "90% of a viral LinkedIn post? The hook. \n\nSteal this to write top 1% hooks:\n\nThis sheet from the main man Chris Donnelly shares everything! \n\nAfter writing 1000+ posts for multiple different people. \nAnd growing my own brand to 100k+ in 9 months. \n\nI’ve trailled and tested a huge variety of hooks. \n\nStatistics, quotes… (+1697 chars)", "captions_vtt_url": null, "comment_count": 269, "comments": [ { "author": "Rick Retherford", "like_count": 2, "text": "Attention is the currency of LinkedIn, and the right hook is the key to unlocking it. Mastering concise, curiosity-driven openings isn’t just a growth hack—it’s the difference between being seen and being scrolled past.", "timestamp": "2025-02-20T15:39:08.541Z" }, { "author": "UBAID UR REHMAN", "like_count": 0, "text": "Josh S. This is gold!\n\n Hooks are everything on LinkedIn if you can’t grab attention in those first two lines, the rest of the post doesn’t matter.\n\nI love the focus on simplicity and spacing. Too many people overcomplicate hooks when clarity and curiosity are what really drive engagement.", "timestamp": "2025-02-20T14:33:24.378Z" }, "… 1 more item in the full response" ], "comments_returned": 3, "creator_handle": "joshejsanders", "duration_seconds": null, "hashtags": [], "headline": "90% of a viral LinkedIn post?", "image_urls": [ "https://media.licdn.com/dms/image/v2/D4E22AQGBmj0FC8vKvw/feedshare-shrink_800/B4EZUjVpMQHgAk-/0/1740054632154?e=2147483647&v=beta&t=vaHk_S3R3MeJeWVWI1flYdTaztfHbdqZoyzJUrfIqQg" ], "like_count": 873, "post_id": "7298318111240257536", "post_type": "discussion", "post_url": "https://www.linkedin.com/posts/joshejsanders_90-of-a-viral-linkedin-post-the-hook-activity-7298318111240257536-MZHu", "reaction_types": [ "APPRECIATION", "EMPATHY", "… 3 more items in the full response" ], "thumbnail_url": null, "transcript": null, "transcript_language": null, "upload_timestamp": "2025-02-20T12:30:33.879Z", "video_height": null, "video_url": null, "video_urls_by_quality": { "high": null, "low": null, "medium": null, "watermarked": null }, "video_width": null, "view_count": null } }, "error": null, "meta": { "client_id": "client_abc123", "scraper": "linkedin-details-v2", "billable": true, "duration_ms": 2127 }}