LinkedIn Post Search
Search LinkedIn posts by keyword, with optional filters for date posted, sort order, and content type — returning each post's title/text, url, activity counts, author, and attached content — with pagination, as JSON. Costs 4 credits.
POST/api/v1/linkedin/search/posts
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonsearchstringrequiredKeyword to search post content for.
Example: AI agents
cursorstringPagination cursor (page number) from a previous response. Keep passing it while has_more is true.
date_postedstringFilter by how recently a post was published (e.g. past-24h, past-week, past-month).
sort_bystringSort order for results (e.g. relevance, recent).
content_typestringFilter by post content type (e.g. videos, images, articles, jobs).
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.linkedin.search_posts(search="AI agents")
print(results)Response
"page": 1,
"total": 14200,
"has_more": true
},
"response_time": 3560,
"credits_used": 4,
"credits_remaining": 4718
}