> ## 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: Demographic Append

> Append consumer demographic data. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Append consumer demographic data.

<Info>
  Tool ID: `versium_demographic_append`
</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 versium_demographic_append --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_demographic_append --json` for the latest machine-readable contract.

## Input reference

Return requested demographic, financial, lifestyle, political, or full-demographic fields for a US consumer.

| Name                  | Type      | Required | Default | Details                                                  |
| --------------------- | --------- | -------- | ------- | -------------------------------------------------------- |
| `payload.output`      | `unknown` | Yes      | —       | Minimum items: 1. Items must be unique.                  |
| `payload.first`       | `string`  | No       | —       | A person's first name                                    |
| `payload.last`        | `string`  | No       | —       | A person's last name                                     |
| `payload.address`     | `string`  | No       | —       | A house/building number and street                       |
| `payload.address_2`   | `string`  | No       | —       | The unit number of an address                            |
| `payload.city`        | `string`  | No       | —       | A city name                                              |
| `payload.state`       | `string`  | No       | —       | A US state two letter abbreviation                       |
| `payload.zip`         | `string`  | No       | —       | A 5 digit US ZIP code                                    |
| `payload.country`     | `string`  | No       | `"US"`  | A 2 letter country code (only US is currently supported) |
| `payload.email`       | `string`  | No       | —       | A valid email address (consumer or business)             |
| `payload.phone`       | `string`  | No       | —       | A valid 10 digit North American phone number             |
| `payload.cfg_maxrecs` | `string`  | No       | `"1"`   | The number of returned records                           |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Return requested demographic, financial, lifestyle, political, or full-demographic fields for a US consumer.",
    "properties": {
      "output": {
        "minItems": 1,
        "uniqueItems": true,
        "items": {
          "type": "string",
          "enum": [
            "demographic",
            "financial",
            "lifestyle",
            "political",
            "full_demographic"
          ]
        }
      },
      "first": {
        "type": "string",
        "description": "A person's first name"
      },
      "last": {
        "type": "string",
        "description": "A person's last name"
      },
      "address": {
        "type": "string",
        "description": "A house/building number and street"
      },
      "address_2": {
        "type": "string",
        "description": "The unit number of an address"
      },
      "city": {
        "type": "string",
        "description": "A city name"
      },
      "state": {
        "type": "string",
        "description": "A US state two letter abbreviation"
      },
      "zip": {
        "type": "string",
        "description": "A 5 digit US ZIP code"
      },
      "country": {
        "type": "string",
        "description": "A 2 letter country code (only US is currently supported)",
        "default": "US"
      },
      "email": {
        "type": "string",
        "description": "A valid email address (consumer or business)"
      },
      "phone": {
        "type": "string",
        "description": "A valid 10 digit North American phone number"
      },
      "cfg_maxrecs": {
        "type": "string",
        "description": "The number of returned records",
        "default": "1"
      }
    },
    "required": [
      "output"
    ],
    "anyOf": [
      {
        "required": [
          "email"
        ]
      },
      {
        "required": [
          "phone"
        ]
      },
      {
        "required": [
          "address",
          "city",
          "state",
          "zip"
        ]
      },
      {
        "required": [
          "first",
          "last",
          "city",
          "state"
        ]
      },
      {
        "required": [
          "first",
          "last",
          "zip"
        ]
      }
    ],
    "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: `0.7` 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)
