linkedin.com/in/) and receive a task ID to poll for results.
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_slug | string | Yes | The LinkedIn profile slug (e.g., "williamhgates" from linkedin.com/in/williamhgates) |
Response
The endpoint returns immediately with a task ID. The actual profile data is fetched asynchronously.| 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
After creating the task, poll the Get Task Status endpoint until the status iscompleted:
Completed Response
When the task finishes,task_output contains the profile data:
Code Examples
Error Responses
| Status | Error | Description |
|---|---|---|
400 | Missing or invalid 'profile_slug' | The profile_slug field is missing or not a string |
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
What data does the profile response include?
What data does the profile response include?
The profile data typically includes: name, headline, location, profile URL, number of connections and followers, about/summary, work experience, education, and skills. The exact fields depend on what the LinkedIn profile has publicly available.
Can I fetch private profiles?
Can I fetch private profiles?
The API fetches profile data that is visible to the LinkedIn account running the Chrome extension. If the team member’s LinkedIn account can see a profile, the API can fetch it. Profiles with restricted visibility may return limited data.
What format should the profile_slug be in?
What format should the profile_slug be in?
The
profile_slug is the last segment of the LinkedIn profile URL. For https://www.linkedin.com/in/john-doe-123abc, the slug is john-doe-123abc. Do not include the full URL or the /in/ prefix.How long does the task take to complete?
How long does the task take to complete?
Most profile fetch tasks complete within seconds to a few minutes, depending on when the Chrome extension picks up the task. We recommend polling every 5 seconds with a timeout of 2-3 minutes.
Related
- Get Task Status - Poll for task results
- Fetch Posts - Get posts from a profile
- Quick Start - End-to-end tutorial
- Intelligence API - For ongoing monitoring of LinkedIn profiles

