Skip to main content

Companies

Retrieve company stats

The Linked API allows you to retrieve detailed company statistics programmatically. You can specify whether to retrieve only the company stats using the include query parameter. Below is an example of how to retrieve company statistics using a GET request.

Endpoint

GET /v1/companies

Parameters

  • url (required, string): The URL of the LinkedIn company page to retrieve statistics from.
  • include (optional, string): Set to stats to retrieve only the company's statistics.

Example

curl -X GET "https://api.linkedapi.io/v1/companies?include=stats" \
-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": {
    "stats": {
      "followersCount": 50000,
      "engagementRate": 4.5,
      "postsCount": 120,
      "likesCount": 1000,
      "commentsCount": 300
    }
  },
  "success": true
}

Errors

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