LinkedIn Profiles API
Retrieve enriched LinkedIn profile data via API. Get work history, skills, education, and contact information for lead enrichment and CRM sync.
LinkedIn Profiles API
Profile enrichment powers personalized outreach sequences. Use the ConnectSafely profile endpoints to gather headline, experience, education, company affiliations, and more for comprehensive prospect research.
Capabilities
- Full Profile Data: Access name, headline, summary, current company, location, and profile picture
- Experience History: Retrieve work history with company names, titles, and dates
- Education Details: View education background, certifications, and skills
- Contact Information: Optionally fetch email and phone when available (requires connection)
- Geo Location: Get precise location data for targeting and segmentation
- Profile Visitors: See who viewed your LinkedIn profile
Endpoints
Click on any endpoint below to view detailed documentation, parameters, example requests, and try it live in the interactive playground.
Fetch Profile →
POST /linkedin/profile
Retrieve detailed public profile information from LinkedIn. Returns name, headline, current position, location, profile picture, and summary. Provide either a public profile ID (e.g., 'john-doe-123') or a LinkedIn member URN.
Get Profile Visitors →
POST /linkedin/profile/visitors
Retrieve a list of people who have viewed your LinkedIn profile. Filter by time range and paginate through results. Useful for identifying warm leads who have shown interest.
Get Organizations →
GET /linkedin/organizations
Get organizations (companies) associated with a LinkedIn account. Useful for identifying company page admin access and organizational relationships.
Use Cases
Lead Enrichment
Enhance CRM records with up-to-date LinkedIn profile data. Keep your sales database current with accurate job titles, company information, and contact details.
// Enrich a CRM contact with LinkedIn data
const profile = await fetch('https://api.connectsafely.ai/linkedin/profile', {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({ profileId: 'jane-smith-456' })
});
const data = await profile.json();
// Update CRM with: data.headline, data.currentCompany, data.locationPersonalized Outreach
Craft targeted messages based on prospect's experience and interests. Reference their current role, recent career moves, or shared connections.
Sales Intelligence
Research prospects before calls and meetings. Understand their background, decision-making authority, and potential pain points based on their role.
Recruitment
Evaluate candidate backgrounds and qualifications at scale. Compare experience across multiple candidates and identify top matches for open positions.
Warm Lead Identification
Monitor profile visitors to identify prospects who are actively researching your company. Profile visitors who return multiple times are often high-intent leads.
Response Data Structure
The profile endpoint returns comprehensive data including:
| Field | Description |
|---|---|
firstName, lastName | Full name |
headline | Professional headline |
summary | About section content |
location | Geographic location |
profilePictureUrl | Profile photo URL |
currentPositions | Array of current job positions |
pastPositions | Array of previous job positions |
education | Array of education history |
skills | Array of listed skills |
connections | Connection count (if visible) |
Best Practices
- Cache profile data: Profile information doesn't change frequently - cache results to reduce API calls
- Batch requests efficiently: When enriching multiple profiles, space out requests to respect rate limits
- Handle private profiles: Some profiles have limited visibility - gracefully handle partial data
- Use profile visitors strategically: Follow up with repeat visitors who show genuine interest
- Respect privacy settings: Only access data that users have made publicly available
Related API Categories
- LinkedIn Search - Find profiles to enrich
- LinkedIn Actions - Act on profile information
- LinkedIn Analytics - Track engagement metrics
No-Code Alternatives
Prefer visual automation? Use these integrations:
- n8n LinkedIn Profiles
- Make.com LinkedIn Profiles
- Zapier LinkedIn Profiles
- HubSpot Integration - Automatic CRM enrichment
Scrape LinkedIn post details
Extract detailed information from a LinkedIn post URL including content, author, engagement metrics, and media. Uses caching to reduce API calls. Supports both authenticated and public scraping with proxy rotation for reliability.
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).
