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.
curl "https://api.perceptlayer.com/v1/linkedin/ads-search?keyword=Copilot&accountOwner=Microsoft" \
-H "X-API-Key: $API_KEY"Playground
Run this API
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.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/linkedin/ads-detail | ad_idNeeds terms | JSON | 1 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:
companybyurlorcompany_id, andcompany-postsby the companyslug. - Jobs:
jobs-searchfor aquery, andjobfor one listing byurl. - Posts:
posts-searchfor aquery,postbyurl, andpost-transcriptbyurloractivity_id. - Ads:
ads-searchtakes akeyword, withcountries[], adateOption(last 30 days or a custom range) andaccountOwner;ads-detailtakes anad_id. - Search:
searchfor aquery, plusprofilebyurlorprofile_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.
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 researchFollow what companies publish on their pages
Use the LinkedIn API to follow what companies publish on their pagesReview LinkedIn ads by keyword and country for competitive research
Use the LinkedIn API to review LinkedIn ads by keyword and country for competitive researchWatch public discussion of a topic in posts
Use the LinkedIn API to watch public discussion of a topic in postsFAQ
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.