SocialToAIStart freeConsole

LinkedIn API

Posts, accounts.

The LinkedIn API lets you search posts and read post details, account profiles and an account's posts, with no LinkedIn account or login. Each call costs 2 credits ($0.004 to $0.0067); failed calls are free. LinkedIn does not give view counts, so that field is returned as null. Use it over HTTP with an API key, or through MCP from your AI client. Last tested 2026-11-05.

4 of 6actions available
From 2 creditsper call
Same formatas every other call

Last tested: Last updated:

POST/v1/search200 OK2 credits
platform: "linkedin" · query: "ai agents"
@…·237,136 followers·
likes 404comments 74shares nullcollects nullviews null
Always null here:formattitleauthor.idauthor.verified+5
pageNext pagecursor
billingThis call2 credits
Sample data1 of the 10 items recorded

4 actions.
Plus 2 only LinkedIn has.

Open a row to see its request. Its full parameters and response fields are on its own page.

ActionsCredits per call
SearchFind posts by keyword: text, author, likes, comment count and publish time./v1/search2 credits≈ $0.0067$0.67 per 1,000 (up to 10 a page)
You send
platformquery+1 optional
LinkedIn Search API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl https://socialtoai.app/v1/search \  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "platform": "linkedin",    "query": "ai agents"  }'
POST /v1/searchYour key goes in the Authorization header
DetailOne post by ID or link: text, author, likes, comment count and publish time./v1/detail2 credits≈ $0.0067
You send
platformid or url
include=transcriptthe transcript of the video2 credits
LinkedIn Detail API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl https://socialtoai.app/v1/detail \  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "platform": "linkedin",    "id": "7514400676702195712"  }'
POST /v1/detailYour key goes in the Authorization header
User ProfileOne account: name and bio./v1/user_profile2 credits≈ $0.0067
You send
platformusername or url
LinkedIn User Profile API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl https://socialtoai.app/v1/user_profile \  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "platform": "linkedin",    "username": "nasa"  }'
POST /v1/user_profileYour key goes in the Authorization header
User PostsThe recent posts of one account./v1/user_posts2 credits≈ $0.0067$0.67 per 1,000 (up to 10 a page)
You send
platformusername or url
LinkedIn User Posts API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl https://socialtoai.app/v1/user_posts \  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "platform": "linkedin",    "username": "unesco"  }'
POST /v1/user_postsYour key goes in the Authorization header

Not offered on LinkedIn: trending and comments.

Compared with X: LinkedIn posts do not give saves, reposts or views; its accounts do not give verified, followers, following or posts.

Only on LinkedIn · AdsCredits per call
Ad detailGet one ad of the LinkedIn Ad Library by its ID or link.linkedin.ad_detail2 credits≈ $0.0067

Get one ad of the LinkedIn Ad Library by its ID or link: advertiser, text, headline, images and videos, landing page, first and last day shown, bracket of impressions, the languages and locations targeted.

id or url
LinkedIn ad detail API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl https://socialtoai.app/v1/call/linkedin.ad_detail \  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "id": "1588761774"  }'
POST /v1/call/linkedin.ad_detailYour key goes in the Authorization header
Ad Library searchSearch the ads of the LinkedIn Ad Library by keyword or by the company that advertises.linkedin.ad_search2 credits≈ $0.0067$0.28 per 1,000 (up to 24 a page)

Search the ads of the LinkedIn Ad Library by keyword or by the company that advertises: advertiser, text, headline, images and videos, landing page, first and last day shown, bracket of impressions, the languages and locations targeted; can be limited to a country.

query or advertiser+1 optional
LinkedIn Ad Library search API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl https://socialtoai.app/v1/call/linkedin.ad_search \  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "query": "cloud security"  }'
POST /v1/call/linkedin.ad_searchYour key goes in the Authorization header

What a whole job costs.

The jobHow it adds upCreditsAbout
Search 1,000 results on LinkedInusually 10 a page, 100 pages200 creditsabout $0.67
Watch 1 LinkedIn account daily, at most a month12 credits × 31 days372 creditsabout $1.24

Priced at the $10 pack; larger purchases bring it down. A watch runs only while it is on, and you can pause it at any time. There is no subscription.

Or skip the parameters.
Just ask.

Connect SocialToAI once over MCP. Your AI picks the calls, and you see what each one cost.

You ask01

Which is bigger on LinkedIn this week: home coffee or matcha?

Your AI calls
  • search“home coffee”2 credits
  • search“matcha”2 credits
Total4 credits
You ask02

How big is this LinkedIn account, and what has it posted lately?

Your AI calls
  • user_profilethe account you named2 credits
  • user_postsits latest page2 credits
Total4 credits
You ask03

Look up this LinkedIn account and tell me who it is.

Your AI calls
  • user_profilethe account you named2 credits
Total2 credits

LinkedIn MCP Server

Same shape on every platform.
Learn it once.

A LinkedIn post and a Xiaohongshu note come back with the same field names. What a platform cannot give comes back as null.

LinkedIndetail · 2 credits
{  "platform": "linkedin",  "id": "…",  "ref": "…",  "approx": [],  "extra": {},  "type": "content",  "url": "https://example.com/…",  "format": null,  "title": null,  "text": "…",  "published_at": "2026-10-09T19:05:32.138Z",  "author": {    "id": null,    "username": "…",    "name": "…",    "verified": null,    "followers": 7136644  },  "metrics": {    "likes": 474,    "comments": 11,    "shares": null,    "collects": null,    "views": null,    "reposts": null  },  "images": ["https://example.com/…"],  "hashtags": [],  "is_pinned": null}
Null on LinkedIn:formattitleauthor.idauthor.verifiedmetrics.sharesmetrics.collectsmetrics.viewsmetrics.repostsis_pinned
Xiaohongshudetail · 12 credits
{  "platform": "xiaohongshu",  "id": "…",  "ref": "…",  "approx": [],  "extra": {},  "type": "content",  "url": "https://example.com/…",  "format": "image",  "title": "…",  "text": "…",  "published_at": "2026-10-09T01:00:34.000Z",  "author": {    "id": "…",    "username": "…",    "name": "…",    "verified": null,    "followers": null  },  "metrics": {    "likes": 927,    "comments": 122,    "shares": 256,    "collects": 59,    "views": null,    "reposts": null  },  "images": ["https://example.com/…", "https://example.com/…"],  "hashtags": ["…", "…"],  "is_pinned": false}
Null on Xiaohongshu:author.verifiedauthor.followersmetrics.viewsmetrics.reposts
Sample dataThe fields are always there; only the values differ.

4 tools read LinkedIn.

All tools

Does LinkedIn have an official API?

LinkedIn's self-serve API permissions only cover signing in (the member's own name, headline, photo and email) and posting on a member's behalf. Other APIs require approval through LinkedIn's partner programs; none of the open permissions reads other members' posts.

Source: LinkedIn's developer documentation, checked 2026-10-30.

Who can use itCostLimitsSource
Self-serve permissionsAny developer app.LinkedIn's page states no price.Sign in (the member's own name, headline, photo and email) and posting on a member's behalf. None reads other members' posts.learn.microsoft.com, checked 2026-10-30
Partner program APIsApps approved through LinkedIn's partner programs.LinkedIn's page states no price.Every API beyond the self-serve permissions needs that approval.learn.microsoft.com, checked 2026-10-30
SocialToAIAnyone with a key; no LinkedIn account of yours and no review.From 2 credits a call (≈$0.0067); failed calls are free.Publicly visible content only; up to 10 items a call.Pricing

1,000 posts here: about 100 linkedin.search calls (typically 10 a page), 200 credits, $0.67 at the first pack. Estimate your cost

LinkedIn official API: access, prices and limits

The same calls work on 17 more.

All platforms and prices

Your AI is one URL away
from all of social media.

100 credits on sign-up, no card needed