API Direct
Endpoints
LinkedIn Posts

LinkedIn Posts

GET /v1/linkedin/posts

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.

Cost
$0.006 per request
Free tier
50 requests/month

Parameters

query *
Search keyword (max 500 characters)
page
Page number for pagination (default: 1)
sort_by
Sort order: most_recent or relevance (default: most_recent)

Example Request

curl "https://api.apidirect.io/v1/linkedin/posts?query=artificial%20intelligence&page=1&sort_by=most_recent" \
  -H "Authorization: Bearer YOUR_API_KEY"

Example Response

{
  "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
}

Your Usage

Free tier this month
Loading...
Recent Activity