Search LinkedIn posts by keyword. Returns post title, URL, publication date, author name, and a text snippet for each matching result. Results are sourced from public LinkedIn posts and articles.
curl "https://api.apidirect.io/v1/linkedin/posts?query=artificial%20intelligence&page=1&sort_by=most_recent" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"posts": [
{
"title": "@John Doe on LinkedIn",
"url": "https://linkedin.com/posts/...",
"date": "2024-01-15 14:30:00",
"author": "John Doe",
"source": "LinkedIn",
"snippet": "Exciting developments in artificial intelligence..."
}
],
"page": 1,
"count": 10
}
You can search all public LinkedIn posts. This includes posts from individuals and company pages. Private posts or connections-only content is not accessible.
Currently, the LinkedIn Posts API returns the post content, author, date, and URL. Engagement metrics (likes, comments, shares) are not included in the response.
You can access posts from the past several years to a few seconds ago. Use the sort_by parameter to get most_recent posts first, or sort by relevance to find the best matches regardless of date.
You only pay for successful requests. The LinkedIn Posts API costs $0.006 per request. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.
No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.
Yes, there's a concurrency limit of 3 simultaneous requests per endpoint per user. If you need more, just get in touch.
Get your API key and start making requests in minutes. 50 requests/month free every month.
Get API Key