Extract LinkedIn Post

Extract full details of a LinkedIn post including text, images, engagement metrics, and author info for insights and reporting.

Edges is not related to LinkedIn and is not an official LinkedIn product.

API Endpoint

POST/v1/actions/linkedin-extract-post/run/live

Parameters

Input Parameters

Integration Parameters

Guide

What Extract LinkedIn Post does

Extract LinkedIn Post pulls the full payload of a single LinkedIn post — text, media, engagement metrics, and author metadata — into a structured object. Instead of scraping HTML yourself, you get a clean JSON document per post.

The action runs on the LinkedIn level and is the base primitive for any workflow that reasons about post content: reporting, intent scoring, competitive analysis, content performance.

How it works

You pass a LinkedIn post URL or URN, Edges fetches the post through your authenticated session, and it parses the content, embedded media, and live engagement counts. The run is synchronous — one post resolves in a single call.

Runs execute on Edges infrastructure with safe rate pacing. For fan-out over many post URLs, Edges handles parallel execution without you juggling rate limits.

When to use Extract LinkedIn Post

Reach for Extract LinkedIn Post whenever a post is an input to a workflow — you need its text for an LLM, its metrics for reporting, or its media for a dashboard. It maps to the LinkedIn profile & company data API use case.

Content teams use it to benchmark their posts against competitors. Sales uses it as context fuel for personalisation. Analytics teams use it to compute true engagement rates across the company's creators.

Use cases

  • Content performance dashboard. Push post-level metrics from Extract LinkedIn Post into your BI tool for longitudinal reporting.
  • Competitive benchmarking. Track competitor executive posts and compare engagement trends over time.
  • Personalised outreach context. Pull a prospect's recent post, feed it to an LLM, and generate a bespoke opener.
  • Content repurposing. Extract top-performing posts to repurpose as newsletter drops, blog intros, or short-form video scripts.
  • Virality analysis. Capture likesCount snapshots over time to understand half-life of high-performing posts.

Best practices

  • Cache aggressively. Post metrics change quickly; decide on a snapshot cadence (hourly for live content, daily for archive) and stick to it.
  • Normalise author IDs. The same author can appear under different URN formats — resolve to publicProfileUrl as your canonical key.
  • Chain from post-listing actions. Use Search LinkedIn Content or Extract LinkedIn People Post Activity to source URLs, then fan out Extract LinkedIn Post per item.
  • Mind media rehosting. mediaUrls[] links live on LinkedIn's CDN; mirror them if you need long-term retention.

Common questions

How many posts can I extract per run?

One post per call. For batches, fan out in parallel — Edges handles pacing so you stay within LinkedIn's guardrails.

Does Extract LinkedIn Post use my LinkedIn account or a shared pool?

Your LinkedIn account. The post is fetched through your authenticated session on Edges, which matches your browser view exactly.

Can I chain Extract LinkedIn Post with other Edges actions?

Yes. Common chains are Extract LinkedIn Post into Extract LinkedIn Post Likers and Extract LinkedIn Post Commenters for full engagement capture.

Get started

Run Extract LinkedIn Post from the Edges library, schedule it against your content feed, or call it from the Edges API. Browse the full Actions library for post-level primitives you can chain together.

Code Examples

bash
curl -X POST "https://api.edges.run/v1/actions/linkedin-extract-post/run/live" \
  -H "X-API-KEY: <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "identity_ids": [
    "your-identity-uuid"
  ],
  "identity_mode": "direct",
  "input": {
    "linkedin_post_url": "https://www.linkedin.com/in/example-profile",
    "custom_data": "example_value"
  }
}'

Output Example

{
  "published_date": "1990-01-01",
  "hyperlinks": [
    "item1",
    "item2",
    "item3"
  ],
  "post_media_url": [
    "item1",
    "item2",
    "item3"
  ],
  "content_text": "example_value",
  "linkedin_post_id": "example-123",
  "linkedin_post_url": "https://www.linkedin.com/in/example-profile",
  "full_name": "John Doe",
  "first_name": "John",
  "last_name": "Doe",
  "linkedin_profile_url": "https://www.linkedin.com/in/example-profile",
  "linkedin_profile_id": 42,
  "linkedin_original_post_url": "https://www.linkedin.com/in/example-profile",
  "linkedin_post_type": "example_value",
  "reaction_count": 42,
  "comment_count": 42,
  "repost_count": 42,
  "linkedin_job_url": "https://www.linkedin.com/in/example-profile"
}

Explore More Actions

Discover other powerful LinkedIn automation actions in our library.