> ## 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.

# Prospeo Enrich Company: Inputs, Cost & CLI Example

> Firmographic company enrichment (industry, headcount, technologies) from website, name, or LinkedIn. Includes inputs, outputs, costs, and Deepline CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=prospeo_enrich_company:{}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                           | Type     | Required | Default | Description                                                                           |
| ------------------------------ | -------- | -------- | ------- | ------------------------------------------------------------------------------------- |
| `payload.company_website`      | `string` | No       |         | Prospeo public API company website field (for example stripe.com).                    |
| `payload.website`              | `string` | No       |         | Deepline alias for company\_website. Sent to Prospeo as company\_website.             |
| `payload.company_name`         | `string` | No       |         | Company name.                                                                         |
| `payload.company_id`           | `string` | No       |         | Prospeo company identifier.                                                           |
| `payload.company_linkedin_url` | `string` | No       |         | Prospeo public API LinkedIn company page URL field.                                   |
| `payload.linkedin_url`         | `string` | No       |         | Deepline alias for company\_linkedin\_url. Sent to Prospeo as company\_linkedin\_url. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Enrich a company profile with firmographic data.",
    "properties": {
      "company_website": {
        "type": "string",
        "description": "Prospeo public API company website field (for example stripe.com)."
      },
      "website": {
        "type": "string",
        "description": "Deepline alias for company_website. Sent to Prospeo as company_website."
      },
      "company_name": {
        "type": "string",
        "description": "Company name."
      },
      "company_id": {
        "type": "string",
        "description": "Prospeo company identifier."
      },
      "company_linkedin_url": {
        "type": "string",
        "description": "Prospeo public API LinkedIn company page URL field."
      },
      "linkedin_url": {
        "type": "string",
        "description": "Deepline alias for company_linkedin_url. Sent to Prospeo as company_linkedin_url."
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `record` | 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": "object",
        "description": "Provider response payload.",
        "properties": {
          "error": {
            "type": "boolean"
          },
          "free_enrichment": {
            "type": "boolean"
          },
          "company": {
            "type": "object",
            "description": "Prospeo company record.",
            "properties": {
              "company_id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "website": {
                "type": "string"
              },
              "domain": {
                "type": "string"
              },
              "linkedin_url": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute prospeo_enrich_company --payload '{}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.55` per pricing unit.
* Billing mode: `post_deduct`.
