APIs / Social media / LinkedIn

1 credit per call11 endpointsChecked working 6 Dec 2026

LinkedIn API

LinkedIn API for company pages, company posts, job listings, public posts and the Ad Library as JSON. REST calls, 1 credit per successful call.

LinkedIn
GET/v1/linkedin/ads-search?keyword=Copilot&accountOwner=Microsoft
curl "https://api.perceptlayer.com/v1/linkedin/ads-search?keyword=Copilot&accountOwner=Microsoft" \
  -H "X-API-Key: $API_KEY"
cURL1 credit per successful call
Run this call below or from your dashboard to see a live response.

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/linkedin/ads-search?keyword=Copilot&accountOwner=Microsoft" \
  -H "X-API-Key: $API_KEY"

LinkedIn · 11 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

Note
Endpoints marked “Needs terms” return personal or social data. They work once you accept the restricted-endpoint terms in your dashboard.
EndpointRequired parametersReturnsCost
GET/v1/linkedin/ads-detail
ad_idNeeds terms
JSON1 credit
GET/v1/linkedin/ads-search
keyword+6 optionalNeeds terms
adsad_countpagination_tokenis_last_page
1 credit
GET/v1/linkedin/company
none+4 optionalNeeds terms
company_idurlnamedescriptionlogowebsite+10 more
1 credit
GET/v1/linkedin/company-posts
slugNeeds terms
companypostspost_countis_truncated
1 credit
GET/v1/linkedin/job
url+2 optionalNeeds terms
job_idtitlecompany_namecompany_urlcompany_websitelocation+9 more
1 credit
GET/v1/linkedin/jobs-search
query+12 optionalNeeds terms
organic_resultssearch_informationpagination
1 credit
GET/v1/linkedin/post
url+2 optionalNeeds terms
postcached
1 credit
GET/v1/linkedin/post-transcript
none+2 optionalNeeds terms
typeis_repostheadlineurldate_publishedimage+8 more
1 credit
GET/v1/linkedin/posts-search
query+12 optionalNeeds terms
organic_resultssearch_informationpagination
1 credit
GET/v1/linkedin/profile
none+4 optionalNeeds terms
profile_idnameimagelocationfollowersabout+7 more
1 credit
GET/v1/linkedin/search
query+12 optionalNeeds terms
organic_resultssearch_informationpagination
1 credit

Overview

About the LinkedIn API

What you can get

The LinkedIn API returns public LinkedIn data as JSON through 11 REST endpoints. These are restricted endpoints: the restricted-endpoint terms apply, and they don't permit collecting personal data without a lawful basis or using it to contact people.

  • Companies: company by url or company_id, and company-posts by the company slug.
  • Jobs: jobs-search for a query, and job for one listing by url.
  • Posts: posts-search for a query, post by url, and post-transcript by url or activity_id.
  • Ads: ads-search takes a keyword, with countries[], a dateOption (last 30 days or a custom range) and accountOwner; ads-detail takes an ad_id.
  • Search: search for a query, plus profile by url or profile_id.

The search endpoints also take num, start, page and sort (date, date:r or date:d).

How a call works

Search endpoints take a query; record endpoints take the LinkedIn URL of a job, post or company. For a known company, call GET /v1/linkedin/company?url=... with your key in the X-API-Key header. Every successful call costs 1 credit; failed calls cost nothing.

Social mediaJSONRESTMCPSome endpoints need terms

More social media APIs

Use cases

Track job openings at a set of companies for hiring-market research

Use the LinkedIn API to track job openings at a set of companies for hiring-market research

Follow what companies publish on their pages

Use the LinkedIn API to follow what companies publish on their pages

Review LinkedIn ads by keyword and country for competitive research

Use the LinkedIn API to review LinkedIn ads by keyword and country for competitive research

Watch public discussion of a topic in posts

Use the LinkedIn API to watch public discussion of a topic in posts

FAQ

Questions

How much does the LinkedIn API cost?

Each successful call costs one credit, on every endpoint. New accounts get free credits to start, and credit packs bring the price down as you scale.

Can I call it from Node.js?

Yes. It's a plain REST API: `fetch("https://api.perceptlayer.com/v1/linkedin/company?url=" + encodeURIComponent(url), { headers: { "X-API-Key": key } })` returns JSON. Any language with an HTTP client works the same way.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official LinkedIn API?

No. Perceptlayer is an independent service and is not affiliated with LinkedIn. It returns LinkedIn data as JSON with a Perceptlayer key, so there is no LinkedIn developer account, app review or partner approval to get first. It only reads data: if LinkedIn has an official API and you need to act on your own LinkedIn account, such as posting, managing orders or reading private data, use that one.

Should I build a LinkedIn scraper instead?

You can, but a LinkedIn scraper is code you maintain: page changes break it, requests get blocked, and LinkedIn's terms govern how you collect data. The LinkedIn API gives you 11 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first. Some of these endpoints return social or personal data and need the restricted-endpoint terms; collect only what you have a lawful basis for.

Try the LinkedIn API with 100 free credits

No credit card. Failed calls are never billed.