Post Data
Get Company Posts
API Documentation
Personal Data
Company Data
Employee Search (via Sales Navigator)
Company Search (via Sales Navigator)
Post Data
Job Search
Post Data
Get Company Posts
-
Get posts from a LinkedIn company page. Pagination is supported to fetch all posts.
-
2 credits per call.
GET
/
get-company-posts
Copy
curl --request GET \
--url https://fresh-linkedin-profile-data.p.rapidapi.com/get-company-posts \
--header 'x-rapidapi-key: <api-key>'
Copy
{
"data": [
{
"images": [
{
"url": "https://media.licdn.com/dms/image/example.png"
}
],
"num_appreciations": 32,
"num_comments": 173,
"num_empathy": 139,
"num_interests": 4,
"num_likes": 4084,
"num_praises": 264,
"num_reposts": 68,
"posted": "2024-06-06 14:40:25",
"poster": {
"linkedin_url": "https://www.linkedin.com/company/example/",
"name": "Amazon"
},
"reshared": false,
"text": "🏋️♂️ Meet Amazon's very own strongman!",
"time": "6 days ago",
"url": "https://www.linkedin.com/posts/example_post",
"urn": "7204492333600440320",
"video": {
"duration": 70033,
"stream_url": "https://dms.licdn.com/playlist/vid/example.mp4"
}
}
],
"message": "Request successful.",
"paging": {
"total": 100,
"per_page": 10,
"current_page": 1,
"next_page": 2
}
}
Authorizations
Query Parameters
Required when fetching the next result page. Please use the token from the result of your previous call.
Possible values: top, recent
Available options:
top
, recent
Example:
"top"
Response
200
application/json
Example:
173
Example:
"🏋️♂️ Meet Amazon's very own strongman!"
Example:
32
Example:
139
Example:
4
Example:
4084
Example:
264
Example:
68
Example:
"2024-06-06 14:40:25"
Example:
false
Example:
"6 days ago"
Example:
"https://www.linkedin.com/posts/example_post"
Example:
"7204492333600440320"
Example:
"Request successful."
Copy
curl --request GET \
--url https://fresh-linkedin-profile-data.p.rapidapi.com/get-company-posts \
--header 'x-rapidapi-key: <api-key>'
Copy
{
"data": [
{
"images": [
{
"url": "https://media.licdn.com/dms/image/example.png"
}
],
"num_appreciations": 32,
"num_comments": 173,
"num_empathy": 139,
"num_interests": 4,
"num_likes": 4084,
"num_praises": 264,
"num_reposts": 68,
"posted": "2024-06-06 14:40:25",
"poster": {
"linkedin_url": "https://www.linkedin.com/company/example/",
"name": "Amazon"
},
"reshared": false,
"text": "🏋️♂️ Meet Amazon's very own strongman!",
"time": "6 days ago",
"url": "https://www.linkedin.com/posts/example_post",
"urn": "7204492333600440320",
"video": {
"duration": 70033,
"stream_url": "https://dms.licdn.com/playlist/vid/example.mp4"
}
}
],
"message": "Request successful.",
"paging": {
"total": 100,
"per_page": 10,
"current_page": 1,
"next_page": 2
}
}