search
Search Posts Endpoint
Search LinkedIn posts with advanced filters
Authentification requise: Header api_key: <your_api_key>
Tarification: 1 credit per 10 posts returned
Search for LinkedIn posts using various filters like author company, industry, job title, content type, date, mentions, etc.
Available filters:
| Filter | Description | Example |
|---|---|---|
| keyword | Search in post content | "AI startup" |
| author_company | Author's company name | "Google" |
| author_industry | Author's industry | "Technology" |
| author_job_title | Author's job title | "CEO" |
| content_type | Post type | ARTICLE, VIDEO, PHOTO, DOCUMENT |
| date_posted | Time filter | past_24h, past_week, past_month |
| from_member | Author's member URN | "ACoAABxxxxxx" |
| from_organization | Company ID (numeric) | "1234567" |
| mentions_member | Mentioned member URN | "ACoAABxxxxxx" |
| mentions_organization | Mentioned org ID | "1234567" |
| posted_by | Relationship filter | first, following, first,following |
| sort_by | Sort order | date_posted (default), relevance |
Example request:
{
"keyword": "AI",
"author_company": "Google",
"content_type": "ARTICLE",
"date_posted": "past_week",
"sort_by": "date_posted",
"count": 20
}
Example response:
{
"total": 150,
"offset": 0,
"count": 20,
"has_next": true,
"credits_used": 2,
"results": [
{
"urn": "urn:li:share:xxx",
"url": "https://linkedin.com/feed/update/...",
"content": "Post content here...",
"likes": 150,
"comments": 25,
"shares": 10,
"posted_date": "2024-01-15",
"posted_days_ago": 3,
"author": {
"name": "John Doe",
"headline": "CEO at Google",
"profile_url": "https://linkedin.com/in/johndoe",
"profile_picture": "https://..."
},
"images": []
}
]
}
post/search/posts
Request
- Base URL: https://api.dataforb2b.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.dataforb2b.ai/search/posts
- Auth: none declared
Headers
api-keystring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.