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

# Openmart Lookup Business Email: Inputs, Cost & CLI Example

> Launch an async search for shared company mailboxes such as info@, support@, or sales@. 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=openmart_lookup_business_email:{"tasks":"{{tasks}}"}' --json
```

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

## Input Schema

| Name                          | Type      | Required | Default | Description                                                                                                                                          |
| ----------------------------- | --------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.tasks`               | `array`   | Yes      |         |                                                                                                                                                      |
| `payload.wait_for_completion` | `boolean` | No       | `true`  | When true or omitted, wait for the Openmart batch to finish and return completed task results. Set false to return only the async launcher response. |
| `payload.poll_interval_ms`    | `integer` | No       | `5000`  | Polling interval used while wait\_for\_completion is true. Defaults to 5000 ms.                                                                      |
| `payload.max_wait_ms`         | `integer` | No       | `30000` | Maximum time to wait for terminal Openmart batch results. Defaults to 30000 ms; larger values are clamped to the Deepline async sync-wait ceiling.   |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Submit async tasks to discover shared company mailboxes for known domains.",
    "properties": {
      "tasks": {
        "type": "array",
        "minItems": 1,
        "maxItems": 100,
        "items": {
          "type": "object",
          "properties": {
            "domain": {
              "type": "string"
            },
            "company_name": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "tracking_id": {
              "type": "string"
            },
            "notify_url": {
              "type": "string"
            }
          },
          "required": [
            "domain",
            "company_name"
          ],
          "additionalProperties": false
        }
      },
      "wait_for_completion": {
        "type": "boolean",
        "description": "When true or omitted, wait for the Openmart batch to finish and return completed task results. Set false to return only the async launcher response.",
        "default": true
      },
      "poll_interval_ms": {
        "type": "integer",
        "description": "Polling interval used while wait_for_completion is true. Defaults to 5000 ms.",
        "default": 5000,
        "minimum": 250,
        "maximum": 30000
      },
      "max_wait_ms": {
        "type": "integer",
        "description": "Maximum time to wait for terminal Openmart batch results. Defaults to 30000 ms; larger values are clamped to the Deepline async sync-wait ceiling.",
        "default": 30000,
        "minimum": 1000,
        "maximum": 600000
      }
    },
    "required": [
      "tasks"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `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": "object",
        "description": "Provider response payload.",
        "properties": {
          "batch_id": {
            "type": "string"
          },
          "submit_for": {
            "type": "string"
          },
          "status": {
            "type": "object",
            "properties": {
              "processing": {
                "type": "integer"
              },
              "completed": {
                "type": "integer"
              },
              "errored": {
                "type": "integer"
              },
              "total": {
                "type": "integer"
              },
              "batch_ready": {
                "type": "boolean"
              }
            },
            "required": [
              "processing",
              "completed",
              "errored",
              "total",
              "batch_ready"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "batch_id",
          "status"
        ],
        "additionalProperties": true
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

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

```bash theme={null}
deepline tools execute openmart_lookup_business_email --payload '{
  "tasks": "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: `1.26` per pricing unit.
* Billing mode: `post_deduct`.
