Facebook Pixel
ApiLinkedin profiles

Fetch LinkedIn profile information (GET)

Retrieve detailed profile information for a LinkedIn member via query parameters. Same functionality as POST /profile but using GET method for simpler integration. Results are cached for 6 hours. Rate limit: 120 unique profiles per day per LinkedIn account (cached requests do not count against limit).

GET/profile
Authentication requiredProfile

Code Examples

curl -X GET 'https://api.connectsafely.ai/linkedin/profile' \
-H 'Authorization: Bearer <your_api_key>'

Parameters

NameInRequiredTypeDescription
profileIdqueryYesstringLinkedIn profile public ID (e.g., "john-doe-123")
accountIdqueryNostringLinkedIn account ID to use. If not provided, uses the default account.
includeGeoLocationqueryNobooleanInclude detailed geo location data
includeContactqueryNobooleanInclude contact info if visible
forceRefreshqueryNobooleanSkip cache and fetch fresh data

Request Body

No request body.

Responses

StatusDescription
200Profile information retrieved successfully
400Bad request - Missing profileId
401Unauthorized

200 Example

{
  "success": true,
  "profileId": "anandi-devi",
  "accountId": "696ce9e780e0483585e4e553",
  "profile": {
    "firstName": "Anandi",
    "lastName": "Devi",
    "headline": "Go-To-Market (GTM) Engineer @ ConnectSafely | MBA",
    "entityUrn": "urn:li:fsd_profile:ACoAAFpqSoMB8vTqRbg4mN_wbabO8w0gjgFu-6o",
    "publicIdentifier": "anandi-devi",
    "isPremium": true,
    "isConnected": true,
    "connectionDegree": "DISTANCE_1"
  }
}

400 Example

{
  "error": "profileId query parameter is required",
  "success": false
}

401 Example

{
  "error": "Unauthorized"
}