Skip to main content
Scrapes a LinkedIn person profile and returns comprehensive profile information including name, headline, experience, education, skills, and more. Cost: 3 credits

Endpoint

POST /v1/crawl/linkedin/person

Request

Headers

HeaderRequiredDescription
AuthorizationYesApiKey ck_...
Content-TypeYesapplication/json

Body

{
  "url": "https://www.linkedin.com/in/john-doe/",
  "options": {
    "timeout": 30000
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
urlstringYes-LinkedIn profile URL (e.g., https://www.linkedin.com/in/username/)
options.timeoutnumberNo30000Page load timeout in milliseconds (5000-60000)

Response

Success (200)

{
  "success": true,
  "data": {
    "person": {
      "id": "john-doe",
      "name": "John Doe",
      "first_name": "John",
      "last_name": "Doe",
      "city": "San Francisco, California",
      "country_code": "US",
      "location": "San Francisco",
      "avatar": "https://media.licdn.com/dms/image/...",
      "banner_image": "https://static.licdn.com/...",
      "followers": 1250,
      "connections": 500,
      "url": "https://linkedin.com/in/john-doe",
      "linkedin_id": "john-doe",
      "linkedin_num_id": "123456789",
      "current_company": {
        "name": "TechCorp",
        "link": "https://linkedin.com/company/techcorp",
        "company_id": "techcorp",
        "location": "San Francisco, CA"
      },
      "current_company_name": "TechCorp",
      "current_company_company_id": "techcorp",
      "experience": [
        {
          "title": "Senior Software Engineer",
          "company": "TechCorp",
          "company_url": "https://linkedin.com/company/techcorp",
          "location": "San Francisco, CA",
          "start_date": "2020-01",
          "end_date": null,
          "description": "Leading backend development..."
        }
      ],
      "education": [
        {
          "title": "Stanford University",
          "url": "https://linkedin.com/school/stanford-university/",
          "start_year": "2015-09",
          "end_year": "2017-06",
          "description": "Master of Science in Computer Science",
          "description_html": null,
          "institute_logo_url": "https://media.licdn.com/..."
        }
      ],
      "educations_details": "Stanford University",
      "certifications": [
        {
          "title": "AWS Solutions Architect",
          "subtitle": "Amazon Web Services",
          "meta": "Issued Jan 2023",
          "credential_url": "https://...",
          "credential_id": "ABC123"
        }
      ],
      "honors_and_awards": null,
      "activity": [
        {
          "interaction": "Liked by John Doe",
          "link": "https://linkedin.com/posts/...",
          "title": "Post title or content preview...",
          "img": "https://static.licdn.com/...",
          "id": "7312736134415970305"
        }
      ],
      "similar_profiles": [],
      "bio_links": [],
      "default_avatar": false,
      "memorialized_account": false,
      "timestamp": "2025-01-15T10:30:00.000Z",
      "input": {
        "url": "https://www.linkedin.com/in/john-doe"
      },
      "_originalUrl": "https://www.linkedin.com/in/john-doe",
      "_scrapedAt": "2025-01-15T10:30:05.000Z"
    },
    "timing": {
      "total": 14403
    },
    "creditsUsed": 3,
    "creditsRemaining": 995
  }
}

Response Fields

FieldTypeDescription
person.idstringLinkedIn profile slug
person.namestringPerson’s full name
person.first_namestringFirst name
person.last_namestringLast name
person.citystringCity and country
person.country_codestringISO country code
person.locationstringLocation name
person.avatarstringProfile photo URL
person.banner_imagestringBackground/banner image URL
person.followersnumberFollower count
person.connectionsnumberConnection count
person.urlstringLinkedIn profile URL
person.linkedin_idstringLinkedIn profile slug
person.linkedin_num_idstringLinkedIn numeric ID
person.current_companyobjectCurrent company details
person.current_company_namestringCurrent company name
person.experiencearray | nullWork experience list
person.educationarrayEducation history
person.educations_detailsstringEducation summary
person.certificationsarrayProfessional certifications
person.honors_and_awardsarray | nullAwards and honors
person.activityarrayRecent LinkedIn activity
person.similar_profilesarraySimilar profile suggestions
person.bio_linksarrayExternal links from bio
person.default_avatarbooleanWhether using default avatar
person.memorialized_accountbooleanWhether account is memorialized
person.timestampstringAPI response timestamp
person._scrapedAtstringISO timestamp of when data was scraped
timing.totalnumberTotal request time in milliseconds
creditsUsednumberCredits charged (3)
creditsRemainingnumberYour remaining credit balance
The response structure may vary based on the profile’s privacy settings and available information. Some fields may be null or empty if the user hasn’t provided that information or has restricted visibility.

Examples

Basic Request

curl -X POST https://api.crawlkit.com/v1/crawl/linkedin/person \
  -H "Authorization: ApiKey ck_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/in/john-doe/"}'

With Increased Timeout

curl -X POST https://api.crawlkit.com/v1/crawl/linkedin/person \
  -H "Authorization: ApiKey ck_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.linkedin.com/in/john-doe/",
    "options": {
      "timeout": 60000
    }
  }'

Error Responses

Invalid URL (400)

{
  "success": false,
  "error": {
    "code": "INVALID_URL",
    "message": "URL must be a valid LinkedIn profile URL"
  }
}

Unauthorized (401)

{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API key"
  }
}

Insufficient Credits (402)

{
  "success": false,
  "error": {
    "code": "INSUFFICIENT_CREDITS",
    "message": "You need at least 3 credits for this operation"
  }
}

Timeout (408)

{
  "success": false,
  "error": {
    "code": "TIMEOUT",
    "message": "Page load timed out after 30000ms"
  }
}

Scrape Failed (502)

{
  "success": false,
  "error": {
    "code": "CRAWL_FAILED",
    "message": "Failed to scrape LinkedIn profile"
  }
}

Use Cases

Recruiting

Research candidates for job positions

Sales Prospecting

Gather information about potential leads

Networking

Learn about professionals before meetings

Background Research

Verify professional backgrounds

Tips

LinkedIn profile URLs should follow the format: https://www.linkedin.com/in/username/. The trailing slash is optional.
Profile data varies based on what users have shared. Always handle cases where fields might be missing or empty.
LinkedIn profiles require more resources to scrape. Consider spacing out your requests to avoid rate limiting.