Skip to main content

Companies

Search a company

The Linked API allows you to search for companies on LinkedIn programmatically. Below is an example of how to search for a company using a GET request.

Endpoint

GET /v1/companies/search

Parameters

  • companyName (required, string): The name or partial name of the company to search for.
  • industry (optional, string): Filter companies by industry (e.g., "Technology", "Finance").
  • location (optional, string): Filter companies by location (e.g., "San Francisco", "New York").
  • limit (optional, integer): The maximum number of companies to return. Default is 10.

Example

curl -X GET "https://api.linkedapi.io/v1/companies/search?companyName=LinkedIn&location=California&limit=5" \
-H "x-api-token: your-api-token-here" \
-H "account-token: your-account-token-here"

Response

{
  "companies": [
    {
      "companyId": "10234567",
      "companyName": "LinkedIn",
      "industry": "Technology",
      "location": "Sunnyvale, California",
      "profileUrl": "https://www.linkedin.com/company/linkedin/"
    },
    {
      "companyId": "22345678",
      "companyName": "LinkedIn Learning",
      "industry": "Education",
      "location": "Carpinteria, California",
      "profileUrl": "https://www.linkedin.com/company/linkedin-learning/"
    }
  ]
}

Errors

  • 400 Bad Request: Invalid or missing parameters.
  • 401 Unauthorized: Missing or invalid authorization token.
  • 404 Not Found: No matching companies found.
  • 500 Internal Server Error: Unexpected server error.