Documentation · Search companies
Documentation / Data actions

Search companies

Search for companies on Classic LinkedIn using keywords.

POST /v1/actions/linkedin-search-companies/run/live

Authentication and cost

Use an API key in the Bearer header. This action costs 1 credit per returned record. The maximum result count is 100.

Request

bash
curl "$API_URL/v1/actions/linkedin-search-companies/run/live" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: unique-linkedin-search-companies-001" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "keywords": "artificial intelligence"
  },
  "max_results": 10,
  "max_credits": 10
}'
ParameterRequirement
input.keywordsRequired non-empty string, at most 500 characters.
max_resultsInteger from 1 to 100. Default 10.
max_creditsOptional positive integer; must cover the requested reservation.
Idempotency-KeyRequired; 8–128 letters, numbers, underscores, hyphens, or colons.

Output fields

The response contains an output array. Available record fields include:

  • company_name
  • description
  • followers
  • linkedin_company_url
  • linkedin_company_id
  • linkedin_company_handle

Fields not available from the source are omitted. Your parser must tolerate absent properties and empty arrays. Examples are illustrative, not live customer data.

Completion and retries

Both 200 and 202 are valid responses. Read status: a live call can remain queued when capacity is busy. Poll the run until it reaches a terminal state. A terminal failed run can have HTTP 200; inspect its error and status, not just the HTTP code.

Reuse the same idempotency key and request body after a network timeout. A changed request under the same key returns 409.

Coverage notes

Returns matching company pages from Classic LinkedIn search.

See coverage and limits before planning a production dependency. For async execution, replace /run/live with /run/async using the same input.