Skip to main content

People

Search a person

The Linked API allows you to search for a person on LinkedIn programmatically using various search parameters such as name, title, and company. Below is an example of how to search for a person using a GET request.

Endpoint

GET /v1/people/search

Parameters

  • name (optional, string): The full or partial name of the person to search for.
  • title (optional, string): The job title of the person (e.g., "Software Engineer").
  • company (optional, string): The company where the person works or has worked.
  • location (optional, string): The location of the person (e.g., "San Francisco, CA").
  • limit (optional, integer): The maximum number of search results to return. Default is 10.

Example

curl -X GET "https://api.linkedapi.io/v1/people/search?name=John+Doe&title=Software+Engineer&company=Google&limit=5" \
-H "Content-Type: application/json" \
-H "x-api-token: your-api-token-here" \
-H "account-token: your-account-token-here"

Response

{
  "data": {
    "people": [
      {
        "profileUrl": "https://www.linkedin.com/in/johndoe/",
        "name": "John Doe",
        "title": "Software Engineer",
        "company": "Google",
        "location": "San Francisco, CA",
        "profilePicture": "https://www.linkedin.com/profile-photo.jpg"
      },
      {
        "profileUrl": "https://www.linkedin.com/in/johndoe2/",
        "name": "John Doe",
        "title": "Senior Software Engineer",
        "company": "Facebook",
        "location": "San Francisco, CA",
        "profilePicture": "https://www.linkedin.com/profile-photo2.jpg"
      }
    ]
  },
  "success": true
}

Errors

  • 400 Bad Request: Invalid or missing search parameters.
  • 401 Unauthorized: Missing or invalid authorization token.
  • 404 Not Found: No matching profiles found.