Endpoint
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Content-Type | string | Yes | Must be application/json |
x-api-key | string | Yes | Your OutX API key |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
profile_urns | string[] | Yes | Non-empty array of LinkedIn person URNs (e.g., ["urn:li:person:ABC123"]) |
A LinkedIn person URN looks like
urn:li:person:ABC123. You can find this in LinkedIn page source or via the Fetch Profile endpoint’s output.Response
The endpoint returns immediately with a task ID:| Field | Type | Description |
|---|---|---|
success | boolean | Whether the task was created successfully |
api_agent_task_id | string | UUID to poll for results via Get Task Status |
message | string | Human-readable confirmation |
Polling for Results
Poll the Get Task Status endpoint until the status iscompleted:
Completed Response
When the task finishes,task_output contains the posts data:
Code Examples
Error Responses
| Status | Error | Description |
|---|---|---|
400 | Missing or invalid 'profile_urns' (must be a non-empty array) | The profile_urns field is missing, not an array, or empty |
401 | Missing API Key / Invalid API Key | API key is missing or invalid |
403 | Plugin installation required... | No team member has an active Chrome extension. See Authentication |
FAQ
Where do I get LinkedIn person URNs?
Where do I get LinkedIn person URNs?
LinkedIn person URNs (
urn:li:person:ABC123) can be found in LinkedIn page source, through the LinkedIn API, or from the output of the Fetch Profile endpoint. They are unique identifiers for LinkedIn members.How many profiles can I fetch posts for in one request?
How many profiles can I fetch posts for in one request?
You can pass multiple URNs in a single request. The
profile_urns array must contain at least one URN. For very large batches, consider splitting into smaller requests to ensure timely processing.How far back does the post data go?
How far back does the post data go?
The API returns recent posts visible on the profile’s activity feed. The exact range depends on LinkedIn’s own feed rendering and typically covers the most recent posts available on the profile page.
Can I use this to monitor posts over time?
Can I use this to monitor posts over time?
For one-off fetches, use this endpoint. For ongoing monitoring of LinkedIn profiles and their posts, consider the Intelligence API’s People Watchlist, which automatically tracks profiles and collects new posts on a schedule.
Related
- Fetch Profile - Get profile data (and find person URNs)
- Like Post - Like posts you have fetched
- Comment on Post - Comment on posts you have fetched
- Get Task Status - Poll for task results

