Facebook Pixel
APILinkedIn Profiles

Fetch LinkedIn profile information

Retrieve detailed profile information for a LinkedIn member including name, headline, location, experience, education, and connections. Optionally include geo location details and contact information (email, phone if visible).

POST/profile

Fetch LinkedIn profile information

Retrieve detailed profile information for a LinkedIn member including name, headline, location, experience, education, and connections. Optionally include geo location details and contact information (email, phone if visible).

Authentication requiredProfile

Code Examples

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

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
profileIdstringYesLinkedIn profile public ID (e.g., "john-doe-123")
includeGeoLocationbooleanNoInclude detailed geo location data (city, country, coordinates)
includeContactbooleanNoInclude contact info (email, phone) if visible to viewer

Example

{
  "profileId": "john-doe-123"
}

Responses

StatusDescription
200Profile information retrieved successfully