Facebook Pixel
APILinkedIn Profiles

Get profile visitors

Retrieve a list of people who viewed your LinkedIn profile. Shows visitor name, headline, location, and visit timestamp. Some visitors may be anonymous depending on their privacy settings. Supports pagination and various time ranges.

POST/profile/visitors

Get profile visitors

Retrieve a list of people who viewed your LinkedIn profile. Shows visitor name, headline, location, and visit timestamp. Some visitors may be anonymous depending on their privacy settings. Supports pagination and various time ranges.

Authentication requiredProfile

Code Examples

curl -X POST 'https://api.connectsafely.ai/linkedin/profile/visitors' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"maxVisitors":20}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
timeRangestringNoTime range to filter visitors
countnumberNoPage size for pagination (visitors fetched per API request). Use maxVisitors to control the total limit.
startnumberNoPagination offset (0-indexed)
fetchAllbooleanNoWhen true, automatically paginates to fetch all visitors up to maxVisitors limit
maxVisitorsnumberYesTotal number of visitors to retrieve. This is the primary limit - use this parameter to specify how many visitors you want (e.g., maxVisitors: 50 for 50 visitors).

Example

{
  "maxVisitors": 20
}

Responses

StatusDescription
200Profile visitors retrieved successfully
403Access forbidden - LinkedIn Premium may be required