Skip to main content

Companies

Retrieve all company data

The Linked API allows you to retrieve comprehensive data about a company on LinkedIn programmatically. You can specify multiple include query parameters to retrieve a combination of basic info, posts, stats, employees, and decision makers.

Endpoint

GET /v1/companies

Parameters

  • url (required, string): The URL of the LinkedIn company page to retrieve data from.
  • include (optional, string): You can include one or more of the following values, separated by commas, to retrieve specific data:
    • basicInfo: Retrieve basic company information (e.g., name, industry, website).
    • posts: Retrieve company posts.
    • stats: Retrieve company statistics (e.g., followers, engagement rate).
    • employees: Retrieve employee information.
    • decisionMakers: Retrieve decision makers' information (key executives or managers).
  • limit (optional, integer): The maximum number of posts or employees to retrieve (applies to posts, employees, or decisionMakers includes). Default is 10.
  • sortBy (optional, string): Sort posts by either date or popularity (applies to posts include). Default is date.

Example

curl -X GET "https://api.linkedapi.io/v1/companies?include=basicInfo,posts,stats,employees,decisionMakers&limit=5&sortBy=date" \
-H "Content-Type: application/json" \
-H "x-api-token: your-api-token-here" \
-H "account-token: your-account-token-here" \
-d '{
  "url": "https://www.linkedin.com/company/abc-corp/"
}'

Response

{
  "data": {
    "basicInfo": {
      "name": "ABC Corp",
      "description": "A leading IT services company.",
      "headquarters": "New York, NY",
      "industry": "Information Technology",
      "website": "https://www.abccorp.com",
      "employeeCount": 1000,
      "yearFounded": 2000,
      "ventureFinancing": true
    },
    "posts": [
      {
        "postId": "123456789",
        "content": "We are excited to announce the launch of our new product!",
        "timestamp": "2024-09-21T12:34:00Z",
        "likes": 150,
        "comments": 20
      }
    ],
    "stats": {
      "followersCount": 50000,
      "engagementRate": 4.5,
      "postsCount": 120,
      "likesCount": 1000,
      "commentsCount": 300
    },
    "employees": [
      {
        "employeeId": "12345",
        "name": "John Doe",
        "title": "Software Engineer",
        "profileUrl": "https://www.linkedin.com/in/johndoe/",
        "location": "New York, NY",
        "joinedDate": "2022-06-15"
      }
    ],
    "decisionMakers": [
      {
        "employeeId": "67890",
        "name": "Jane Smith",
        "title": "Chief Financial Officer",
        "profileUrl": "https://www.linkedin.com/in/janesmith/",
        "location": "San Francisco, CA",
        "joinedDate": "2018-07-20"
      }
    ]
  },
  "success": true
}

Errors

  • 400 Bad Request: Invalid or missing parameters.
  • 401 Unauthorized: Missing or invalid authorization token.
  • 404 Not Found: Company profile or specific data not found.