On this page5 sections
Social schedulers, sales tools, recruiting platforms and content repurposing apps all get LinkedIn post links from their users: a product demo, a founder clip, a webinar snippet. To repurpose, transcribe or archive it, the app needs the video file, and a post link isn't one.
What LinkedIn's own API covers
LinkedIn's Videos API (part of its Community Management API) can return a downloadUrl for a video. The catch is whose video:
- Company page videos: only if the signed-in user is an admin of that page.
- Member videos: only if the signed-in member owns the video.
- Your app also needs LinkedIn to approve it for the Community Management API before any of this works.
So if your users are posting their own videos through your app, use LinkedIn's API: it's the supported route. If your users paste links to other people's posts, there's no official endpoint for that, and scraping the post page from a server tends to hit LinkedIn's login wall.
One call with Importly
Importly takes a public LinkedIn post link and returns the video file, from servers where LinkedIn normally asks you to sign in.
curl https://api.importly.io/import \
-H "Authorization: Bearer $IMPORTLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/posts/<author>_<slug>-activity-<id>-<code>",
"webhookUrl": "https://example.com/webhooks/import"
}'When the job finishes, the webhook (or GET /import/status?id=<jobId>) gives you a link to the MP4, or puts it straight into your own S3, R2 or B2 bucket with "store": true.
A few things worth knowing:
- Send the post link your user copied from the post's menu (
linkedin.com/posts/...). - Public posts only. Posts visible only to connections, or inside a group, need a login, so they fail. Failed imports aren't charged.
- Transcript: add
"includeTranscript": trueto get a timestamped transcript in the same job, handy for turning a clip into a post or captions. If the video has no captions, add"transcriptProvider": "importly"for speech-to-text at $0.01 a minute. - Check before you pay:
POST /metadata/basicreturns the post's title and thumbnail for $0.003, so you can confirm the link is public first.
What it costs
Downloads are $0.002 per MB, with a $0.01 minimum per import, so a 30 MB clip costs about $0.06. Set maxCostDollars on a request and Importly checks the price before downloading anything. It's free to try, no card required. See pricing.
Have your AI agent build it in
Connect https://mcp.importly.io/mcp to Claude Code, Cursor or another coding agent and ask it to add LinkedIn video imports to your app. It gets working code for your stack, writes the integration and tests real calls with your API key, and your backend uses the same key. The steps are in Have your agent build Importly into your app.
FAQ
Can I download LinkedIn videos with the official API?
Only videos your app's user owns, or that belong to a company page they administer, and only once LinkedIn has approved your app for the Community Management API. It doesn't cover other people's posts.
Why does fetching a LinkedIn post from my server return a login page?
LinkedIn shows a sign-in wall to many anonymous requests, especially from cloud and datacenter IPs, even for posts that load fine in your own logged-in browser.
Does it work for posts visible only to connections?
No. Only posts anyone can see without logging in. Others fail and aren't charged.
Can I get a transcript instead of the file?
Yes. Use POST /transcribe with the post link, or add includeTranscript to an import to get both from one job.
Related: Video downloader API, Loom video download API, Supported sites.