Authorizations
Query Parameters
Available options:
top, recent Example:
curl --request GET \
--url https://web-scraping-api2.p.rapidapi.com/get-company-posts \
--header 'x-rapidapi-key: <api-key>'{
"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
}
}Get posts from a LinkedIn company page. Pagination is supported to fetch all posts.
2 credits per call.
curl --request GET \
--url https://web-scraping-api2.p.rapidapi.com/get-company-posts \
--header 'x-rapidapi-key: <api-key>'{
"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
}
}top, recent