> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Edges.run: Edges Linkedin Extract Company Affiliates

> Run linkedin-extract-company-affiliates action live. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Run linkedin-extract-company-affiliates action live.

<Info>
  Tool ID: `edges_linkedin_extract_company_affiliates`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get edges_linkedin_extract_company_affiliates --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": [
    {
      "industry": "example",
      "followers_count": 123,
      "linkedin_company_id": "https://www.linkedin.com/in/jane-doe"
    }
  ]
}
```

Use `deepline tools get edges_linkedin_extract_company_affiliates --json` for the latest machine-readable contract.

## Input reference

Run linkedin-extract-company-affiliates action live

| Name            | Type     | Required | Default | Details |
| --------------- | -------- | -------- | ------- | ------- |
| `payload.input` | `object` | Yes      | —       | —       |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Run linkedin-extract-company-affiliates action live",
    "properties": {
      "input": {
        "type": "object",
        "properties": {
          "custom_data": {
            "type": "object",
            "description": "Custom data (ex-metadata)",
            "additionalProperties": true
          },
          "linkedin_company_url": {
            "type": "string",
            "description": "A LinkedIn Company URL should start with 'https://www.linkedin.com/sales/company', 'https://www.linkedin/showcase' 'https://www.linkedin.com/company' or 'https://www.linkedin.com/school'\"",
            "pattern": "^https:\\/\\/(?:(www|[a-z]{2})\\.)?linkedin\\.com\\/(?:sales\\/)?(?:school|pub|company|showcase)\\/[\\w%-]+(?:\\/(?:\\w+)?)?",
            "format": "uri"
          },
          "linkedin_company_id": {
            "type": "number"
          }
        },
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "linkedin_company_url": {
                "type": "string",
                "description": "A LinkedIn Company URL should start with 'https://www.linkedin.com/sales/company', 'https://www.linkedin/showcase' 'https://www.linkedin.com/company' or 'https://www.linkedin.com/school'\"",
                "pattern": "^https:\\/\\/(?:(www|[a-z]{2})\\.)?linkedin\\.com\\/(?:sales\\/)?(?:school|pub|company|showcase)\\/[\\w%-]+(?:\\/(?:\\w+)?)?",
                "format": "uri"
              }
            },
            "required": [
              "linkedin_company_url"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "linkedin_company_id": {
                "type": "number"
              }
            },
            "required": [
              "linkedin_company_id"
            ],
            "additionalProperties": false
          }
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "input"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                 | Type     | Required | Default | Details                                        |
| ------------------------------------ | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data`                        | `array`  | Yes      | —       | Provider response payload.                     |
| `result.data[].industry`             | `string` | No       | —       | —                                              |
| `result.data[].followers_count`      | `number` | No       | —       | —                                              |
| `result.data[].linkedin_company_id`  | `string` | No       | —       | —                                              |
| `result.data[].company_name`         | `string` | No       | —       | —                                              |
| `result.data[].linkedin_company_url` | `string` | No       | —       | Format: `uri`.                                 |
| `result.data[].affiliate_status`     | `string` | No       | —       | —                                              |
| `result.meta`                        | `object` | No       | —       | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "array",
        "description": "Provider response payload.",
        "items": {
          "type": "object",
          "properties": {
            "industry": {
              "type": "string"
            },
            "followers_count": {
              "type": "number"
            },
            "linkedin_company_id": {
              "type": "string"
            },
            "company_name": {
              "type": "string"
            },
            "linkedin_company_url": {
              "type": "string",
              "format": "uri"
            },
            "affiliate_status": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.42` per pricing unit.

## Related documentation

* [Edges.run provider guide](/docs/providers/edges/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
