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

# ZeroBounce: Validate

> Validate (verify) one email address: final deliverability gate before outbound sends with detailed status and sub_status.

Validate (verify) one email address: final deliverability gate before outbound sends with detailed status and sub\_status.

> [!NOTE]
>
> Tool ID: `zerobounce_validate`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

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

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zerobounce_validate --input '{
  "email": "jane.doe@example.com"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "address": "example",
    "status": "example",
    "sub_status": "example"
  }
}
```

Use `deepline describe zerobounce_validate --json` for the latest machine-readable contract.

## Input reference

Validate one email address with optional signup IP context using ZeroBounce real-time validation.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.email` | `string` | Yes | — | Email address to validate. |
| `payload.ip_address` | `string` | No | — | Optional signup IP address used by ZeroBounce for IP enrichment. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Validate one email address with optional signup IP context using ZeroBounce real-time validation.",
    "properties": {
      "email": {
        "type": "string",
        "description": "Email address to validate."
      },
      "ip_address": {
        "type": "string",
        "description": "Optional signup IP address used by ZeroBounce for IP enrichment."
      }
    },
    "required": [
      "email"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.address` | `string` | No | — | — |
| `result.data.status` | `string` | No | — | — |
| `result.data.sub_status` | `string \| null` | No | — | — |
| `result.data.free_email` | `boolean \| string \| null` | No | — | — |
| `result.data.did_you_mean` | `string \| null` | No | — | — |
| `result.data.account` | `string \| null` | No | — | — |
| `result.data.domain` | `string \| null` | No | — | — |
| `result.data.domain_age_days` | `string \| null` | No | — | — |
| `result.data.smtp_provider` | `string \| null` | No | — | — |
| `result.data.mx_found` | `string \| boolean \| null` | No | — | — |
| `result.data.mx_record` | `string \| null` | No | — | — |
| `result.data.firstname` | `string \| null` | No | — | — |
| `result.data.lastname` | `string \| null` | No | — | — |
| `result.data.gender` | `string \| null` | No | — | — |
| `result.data.country` | `string \| null` | No | — | — |
| `result.data.region` | `string \| null` | No | — | — |
| `result.data.city` | `string \| null` | No | — | — |
| `result.data.zipcode` | `string \| null` | No | — | — |
| `result.data.processed_at` | `string \| null` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "address": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "sub_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "free_email": {
            "type": [
              "boolean",
              "string",
              "null"
            ]
          },
          "did_you_mean": {
            "type": [
              "string",
              "null"
            ]
          },
          "account": {
            "type": [
              "string",
              "null"
            ]
          },
          "domain": {
            "type": [
              "string",
              "null"
            ]
          },
          "domain_age_days": {
            "type": [
              "string",
              "null"
            ]
          },
          "smtp_provider": {
            "type": [
              "string",
              "null"
            ]
          },
          "mx_found": {
            "type": [
              "string",
              "boolean",
              "null"
            ]
          },
          "mx_record": {
            "type": [
              "string",
              "null"
            ]
          },
          "firstname": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastname": {
            "type": [
              "string",
              "null"
            ]
          },
          "gender": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "zipcode": {
            "type": [
              "string",
              "null"
            ]
          },
          "processed_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "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.28` per pricing unit.

## Related documentation

* [ZeroBounce provider guide](https://deepline.com/docs/providers/zerobounce/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.