Skip to main content
POST
/
actions
/
linkedin-extract-company-employees-insights
/
run
/
live
Run linkedin-extract-company-employees-insights action live
curl --request POST \
  --url https://api.edges.run/v1/actions/linkedin-extract-company-employees-insights/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "parameters": {},
  "identity_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "identity_mode": "direct",
  "input": {
    "linkedin_company_url": "<string>",
    "custom_data": {}
  }
}'
{
  "linkedin_company_url": "<string>",
  "linkedin_company_handle": "<string>",
  "linkedin_company_id": 123,
  "locations": [
    {
      "name": "<string>",
      "count": 123
    }
  ],
  "schools": [
    {
      "name": "<string>",
      "linkedin_school_id": "<string>",
      "count": 123
    }
  ],
  "functions": [
    {
      "name": "<string>",
      "count": 123
    }
  ],
  "skills": [
    {
      "name": "<string>",
      "count": 123
    }
  ],
  "fields_of_study": [
    {
      "name": "<string>",
      "count": 123
    }
  ],
  "connection_degrees": [
    {
      "connection_degree": "<string>",
      "count": 123
    }
  ]
}
This Action extracts employee insights data from LinkedIn company pages, such as the Clay’s People Insights page.
Default Behavior: This Action extracts data only for the main company, giving you more control and accuracy over the results.LinkedIn’s Behavior: Data is displayed for both the company and all its affiliates.To replicate LinkedIn’s behavior: Set parameters.affiliates to true. This will include data for the company and all its affiliates.For complete affiliate data: Use the dedicated Extract LinkedIn Company Affiliates Action to get the full list of affiliates, then extract detailed data for each one.
To run LinkedIn actions, you must first create an identity and connect a LinkedIn account, either using our Chrome Extension, username/password login, or Rented Accounts for a hassle-free setup.

Authorizations

X-API-Key
string
header
required

Body

application/json
input
object
required
  • Option 1
  • Option 2
parameters
object
identity_ids
string<uuid>[] | null

An array of Identity UUIDs linked to identities (e.g. LinkedIn) used to execute the Action. You must provide at least one valid UID with access to the integration. Do not use account_uid values — only user_uid is supported.

identity_mode
enum<string> | null
default:direct

If "auto", the Action will use any identities from the current workspace (unless you have provided a list of identity_ids). "managed" will use the Edges pool of identities for an extra credit cost

Available options:
direct,
auto,
managed

Response

Successful response

linkedin_company_url
string
linkedin_company_handle
string
linkedin_company_id
integer
locations
object[]
schools
object[]
functions
object[]
skills
object[]
fields_of_study
object[]
connection_degrees
object[]
I