Skip to content
Docs

Company Search

LinkedIn's classic company search, by keywords.

LinkedIn's classic company search, by keywords, in Unipile's LinkedinSearch shape.

Shell
curl -sS -X POST "https://direct.lempile.com/api/v1/linkedin/search?account_id=$ACCOUNT_ID&limit=10" \
  -H "X-API-KEY: $DIRECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "api": "classic", "category": "companies", "keywords": "outbound software" }'
JSON
{
  "object": "LinkedinSearch",
  "items": [
    {
      "type": "COMPANY",
      "id": "1035",
      "name": "Example Co",
      "location": "Cambridge, MA",
      "profile_url": "https://www.linkedin.com/company/example-co",
      "industry": "Software Development",
      "summary": "Grow better",
      "logo": "https://media.licdn.com/dms/image/logo1035/100.jpg",
      "followers_count": 1200000
    }
  ],
  "config": { "params": { "api": "classic", "category": "companies", "keywords": "outbound software" } },
  "paging": { "start": 0, "page_count": 1, "total_count": 2 },
  "cursor": "<cursor>"
}
Body field
api classic (or absent).
category companies.
keywords Required.
limit 1 to 100 (default 10). The query's limit wins over it.
  • account_id goes in the query, as on Unipile.
  • LinkedIn gives 10 results a call; a limit of 100 costs 10 calls.
  • id is the company's id: what as_organization, mentions and GET /users/{id}/posts?is_company=true take.
  • logo is the company's 100 px logo. summary is LinkedIn's own search snippet (Unipile's sometimes differs: a matched specialty, the tagline or the description) and followers_count LinkedIn's rounded count ("1.2M followers" → 1200000).
  • cursor (in the query) gives the next page.

Not Done#

Answer 501 errors/feature_not_implemented:

  • any other category (people, posts, jobs) or api (Sales Navigator, Recruiter);
  • any filter: industry, location, has_job_offers, headcount, network_distance;
  • GET /linkedin/search/parameters.

Was this page helpful?