Recent posts of a LinkedIn company page: full text, link, publish date, author, engagement with a per-reaction breakdown, articles and media.
4 credits/ call
Never more than 26 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/linkedin.company_posts" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.linkedin.com/company/google/","limit":10}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"items": [
{
"articleImageWidth": "<integer | null>",
"articleImageHeight": "<integer | null>",
"repostArticleImageWidth": "<integer | null>",
"repostArticleImageHeight": "<integer | null>", …
}
]
}
},
"credits": 4
}Input and output
6 fields
https://www.linkedin.com/company/google/.10.51 fields
Good to know
Newest first, up to `limit` posts per call. Pass nextCursor for older posts.
Unknown company pages return found: false. A miss is an answer, not an error.
Terms of use. Public LinkedIn data only. LinkedIn’s User Agreement restricts automated collection and LinkedIn enforces it; use the data for lawful purposes, keep copies only as long as you need them, and treat post and article text as the author’s content (analysis, not republication).
The same key and credits work for every API.