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

# Apollo Bulk Organization Enrichment: Inputs, Cost & CLI

> Enriching multiple companies in one Apollo request. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## 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=apollo_bulk_organization_enrichment:{"domains":"{{domains}}"}' --json
```

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

## Input Schema

| Name              | Type    | Required | Default | Description                             |
| ----------------- | ------- | -------- | ------- | --------------------------------------- |
| `payload.domains` | `array` | Yes      |         | Company domains to enrich (1-10 items). |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Apollo bulk organization enrichment input.",
    "properties": {
      "domains": {
        "type": "array",
        "description": "Company domains to enrich (1-10 items).",
        "items": {
          "type": "string"
        }
      }
    },
    "required": [
      "domains"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                                                               |
| ------------- | -------- | -------- | ------- | ----------------------------------------------------------------------------------------- |
| `result.data` | `object` | Yes      |         | Apollo bulk enrichment payload with a top-level `organizations` array and batch metadata. |
| `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": "Apollo bulk organization enrichment result.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Apollo bulk enrichment payload with a top-level `organizations` array and batch metadata.",
        "properties": {
          "status": {
            "type": "string"
          },
          "error_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "error_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "organizations": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "website_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "blog_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "angellist_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "linkedin_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "twitter_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "facebook_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "primary_phone": {
                  "type": "object",
                  "properties": {
                    "number": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sanitized_number": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "languages": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "alexa_ranking": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "phone": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "linkedin_uid": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "founded_year": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "publicly_traded_symbol": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "publicly_traded_exchange": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "logo_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "crunchbase_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "primary_domain": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sanitized_phone": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "owned_by_organization_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "estimated_num_employees": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "industry": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "industries": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "secondary_industries": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "industry_tag_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "industry_tag_hash": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "sic_codes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "naics_codes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "short_description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "raw_address": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "street_address": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "postal_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "city": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "state": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "organization_revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "organization_revenue_printed": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "total_funding": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "latest_funding_round_date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "latest_funding_stage": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "keywords": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "technology_names": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "current_technologies": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "annual_revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "annual_revenue_printed": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "subindustry": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "intent_strength": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "show_intent": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "has_intent_signal_account": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "intent_signal_account": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": {}
                }
              },
              "additionalProperties": false
            }
          },
          "total_requested_domains": {
            "type": "number"
          },
          "unique_domains": {
            "type": "number"
          },
          "unique_enriched_records": {
            "type": "number"
          },
          "missing_records": {
            "type": "number"
          }
        },
        "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 apollo_bulk_organization_enrichment --payload '{
  "domains": "array"
}' --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.17` per pricing unit.
* Billing mode: `post_deduct`.
