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

# Versium: Firmographic Append

> Append firmographic data. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Append firmographic data.

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

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'versium_firmographic_append',
  {
    "email": "jane.doe@example.com"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute versium_firmographic_append --input '{
  "email": "jane.doe@example.com"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "versium": {
      "version": "example",
      "num_matches": 123,
      "num_results": 123,
      "query_id": "query_123",
      "query_time": 123,
      "results": [
        {}
      ],
      "input_query": {}
    }
  }
}
```

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

## Input reference

Return company details from a domain, business email, business name and location, or business phone.

| Name               | Type     | Required | Default | Details                            |
| ------------------ | -------- | -------- | ------- | ---------------------------------- |
| `payload.domain`   | `string` | No       | —       | A business domain                  |
| `payload.email`    | `string` | No       | —       | A valid business email             |
| `payload.business` | `string` | No       | —       | A business name                    |
| `payload.address`  | `string` | No       | —       | An address                         |
| `payload.city`     | `string` | No       | —       | A city name                        |
| `payload.state`    | `string` | No       | —       | A US State two letter abbreviation |
| `payload.zip`      | `string` | No       | —       | A valid 5 digit US zip code        |
| `payload.phone`    | `string` | No       | —       | A business phone number            |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Return company details from a domain, business email, business name and location, or business phone.",
    "properties": {
      "domain": {
        "type": "string",
        "description": "A business domain"
      },
      "email": {
        "type": "string",
        "description": "A valid business email"
      },
      "business": {
        "type": "string",
        "description": "A business name"
      },
      "address": {
        "type": "string",
        "description": "An address"
      },
      "city": {
        "type": "string",
        "description": "A city name"
      },
      "state": {
        "type": "string",
        "description": "A US State two letter abbreviation"
      },
      "zip": {
        "type": "string",
        "description": "A valid 5 digit US zip code"
      },
      "phone": {
        "type": "string",
        "description": "A business phone number"
      }
    },
    "required": [],
    "anyOf": [
      {
        "required": [
          "email"
        ]
      },
      {
        "required": [
          "domain"
        ]
      },
      {
        "required": [
          "business",
          "address",
          "city",
          "state",
          "zip"
        ]
      },
      {
        "required": [
          "business",
          "phone"
        ]
      }
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                               | Type      | Required | Default | Details                                        |
| ---------------------------------- | --------- | -------- | ------- | ---------------------------------------------- |
| `result.data`                      | `object`  | Yes      | —       | Raw Versium REACH response.                    |
| `result.data.versium`              | `object`  | Yes      | —       | —                                              |
| `result.data.versium.version`      | `string`  | Yes      | —       | —                                              |
| `result.data.versium.match_counts` | `record`  | No       | —       | —                                              |
| `result.data.versium.num_matches`  | `integer` | Yes      | —       | Minimum: 0.                                    |
| `result.data.versium.num_results`  | `integer` | Yes      | —       | Minimum: 0.                                    |
| `result.data.versium.query_id`     | `string`  | Yes      | —       | —                                              |
| `result.data.versium.query_time`   | `number`  | Yes      | —       | Minimum: 0.                                    |
| `result.data.versium.results`      | `array`   | Yes      | —       | —                                              |
| `result.data.versium.input_query`  | `record`  | Yes      | —       | —                                              |
| `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": "Raw Versium REACH response.",
        "properties": {
          "versium": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "match_counts": {
                "type": "object",
                "additionalProperties": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              "num_matches": {
                "type": "integer",
                "minimum": 0
              },
              "num_results": {
                "type": "integer",
                "minimum": 0
              },
              "query_id": {
                "type": "string"
              },
              "query_time": {
                "type": "number",
                "minimum": 0
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "input_query": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "required": [
              "version",
              "num_matches",
              "num_results",
              "query_id",
              "query_time",
              "results",
              "input_query"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "versium"
        ],
        "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: `2.1` per pricing unit.

## Related documentation

* [Versium provider guide](/docs/providers/versium/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)
