# Email Verifier, Phone & Lead Data Validator (DataTrust AI) (`as33/email-verifier-phone-lead-data-validator-datatrust-ai`) Actor

Enterprise data cleaning engine with MX DNS checks, disposable blocker, E.164 phone normalization, deduplication & AI quality scoring.

- **URL**: https://apify.com/as33/email-verifier-phone-lead-data-validator-datatrust-ai.md
- **Developed by:** [Abu Sufian](https://apify.com/as33) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 93.8% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.00 / 1,000 verified records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bulk Email Verifier, Phone & Lead Data Quality Assurance (DataTrust AI)

> **Enterprise-grade Apify Actor** for bulk email verification, live MX & DNS checks, 800+ disposable domain blocking, E.164 phone standardization, website redirect health checks, dataset deduplication, and AI semantic scoring.

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-orange?logo=apify)](https://apify.com)
[![Python 3.11+](https://img.shields.io/badge/Python-3.11+-blue.svg?logo=python)](https://python.org)
[![Gemini Powered](https://img.shields.io/badge/AI-Gemini%20Flash-brightgreen?logo=google)](https://ai.google.dev)
[![Docker Ready](https://img.shields.io/badge/Docker-Ready-2496ED?logo=docker)](https://www.docker.com)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

***

### 🔑 Key Verification & Data Cleaning Features

- **Bulk Email Verification:** Live DNS resolution, MX record lookup, and RFC 5322 syntax validation to drastically drop email bounce rates.
- **800+ Disposable Email Blocker:** Instantly filters out temporary/burner domains (TempMail, Mailinator, GuerrillaMail, etc.) to protect domain sender reputation.
- **Global Phone Standardization:** Converts messy phone inputs into standardized international E.164 format and validates national numbering plans.
- **Website & URL Health Monitor:** Performs HTTP ping checks, tracks redirect chains, extracts title/meta tags, and detects inactive domains.
- **Automated Lead Deduplication:** Smart multi-field composite matching across email, phone numbers, and entity names to eliminate duplicate entries.
- **0–100 Data Quality Scoring:** Transparent, explainable quality scoring and categorization (*High Quality*, *Needs Review*, *Low Quality*) for every record.
- **AI Semantic Enrichment (Gemini):** Categorizes business sectors, flags anomalous data, and generates natural-language executive audit reports.

***

### ⚡ Free Tier vs. Paid Tier Comparison

| Feature | Free Tier | Paid Tier |
|---|:---:|:---:|
| **Max Processed Records / Run** | **100 Records** | **Unlimited** |
| **Email & DNS Verification** | ✅ Included | ✅ Included |
| **Phone & Website Validation** | ✅ Included | ✅ Included |
| **Deduplication Engine** | ✅ Included | ✅ Included |
| **AI Executive Report & Scoring** | ✅ Included | ✅ Included |
| **CSV & Key-Value Export** | ✅ Included | ✅ Included |

> *Note: Non-paying users are automatically capped at 100 records per run. To remove artificial limits, upgrade your Apify subscription.*

***

### 🌟 Product Vision & SEO Overview

Modern businesses, lead generation agencies, CRM administrators, and researchers waste countless hours and marketing budgets sending emails to dead or disposable domains, dialing malformed phone numbers, and pushing duplicate leads into HubSpot, Salesforce, and Postgres.

**DataTrust AI** is an all-in-one lead verification, email list cleaner, and data quality assurance Actor built natively for the Apify Store.

#### 🏆 Why Choose DataTrust AI? (Comparison)

| Feature | DataTrust AI | NeverBounce / ZeroBounce | Manual Python Scripts |
|---|:---:|:---:|:---:|
| **Bulk Email Verification (MX & Syntax)** | ✅ Included | ✅ ($0.008/email) | ⚠️ Custom code required |
| **800+ Disposable Email Blocker** | ✅ Included | ✅ | ❌ Outdated lists |
| **Phone Normalization (E.164 Standard)** | ✅ Included | ❌ Email only | ⚠️ Complex regex |
| **Website & Redirect Chain Checker** | ✅ Included | ❌ | ❌ |
| **Automated Deduplication & Matching** | ✅ Included | ❌ | ⚠️ Memory intensive |
| **0–100 Data Quality Score & Tiers** | ✅ Included | ❌ | ❌ |
| **AI Semantic Industry Classification** | ✅ Included | ❌ | ❌ |
| **Apify Dataset Integration** | ✅ Native | ❌ API webhook only | ⚠️ Custom build |
| **Cost per 1,000 Records** | **~$2.00 - $3.00** | ~$8.00+ (Email only) | High developer cost |

***

### 🎯 Target Use Cases

- **Lead Generation Agencies:** Clean raw B2B lead lists scraped from LinkedIn, Google Maps, or directories before launching cold outreach campaigns.
- **Cold Email Deliverability:** Protect your domain reputation and stay out of spam filters by eliminating disposable, fake, and inactive mailboxes.
- **CRM Hygiene (HubSpot / Salesforce):** Deduplicate incoming contact records and standardize casing, phone numbers, and company titles.
- **Apify Scraper Post-Processing:** Connect this Actor directly to any Apify scraper dataset (e.g., Apollo, Google Maps, LinkedIn scrapers) to clean results before exporting.

***

### 🏗️ Architecture

```
                                ┌───────────────────────────────────────┐
                                │          Apify Actor Input            │
                                │   (JSON, CSV, or Dataset ID)          │
                                └──────────────────┬────────────────────┘
                                                   │
                                ┌──────────────────▼────────────────────┐
                                │     Field Mapping & Normalization     │
                                │  (Preserves original raw values)      │
                                └──────────────────┬────────────────────┘
                                                   │
                                ┌──────────────────▼────────────────────┐
                                │       Deduplication Engine            │
                                │ (Composite Email + Phone + Entity)    │
                                └──────────────────┬────────────────────┘
                                                   │
                ┌──────────────────────────────────┼──────────────────────────────────┐
                │                                  │                                  │
    ┌───────────▼───────────┐          ┌───────────▼───────────┐          ┌───────────▼───────────┐
    │    Email Verifier     │          │    Website Health     │          │  Phone Standardization│
    │  - RFC 5322 Syntax    │          │  - Safe HTTP Ping     │          │  - Country-Aware E.164│
    │  - 800+ Disposables   │          │  - Redirect Tracker   │          │  - National Format    │
    │  - Live DNS MX Query  │          │  - Meta Title/Desc    │          │  - Uncertainty Flag   │
    └───────────┬───────────┘          └───────────┬───────────┘          └───────────┬───────────┘
                │                                  │                                  │
                └──────────────────────────────────┼──────────────────────────────────┘
                                                   │
                                ┌──────────────────▼────────────────────┐
                                │   Permitted Public Enrichment         │
                                │   (Domain Brand, Sector, Metadata)    │
                                └──────────────────┬────────────────────┘
                                                   │
                                ┌──────────────────▼────────────────────┐
                                │   Gemini AI Intelligence (Optional)   │
                                │ (Semantic Industry, Executive Audit)  │
                                └──────────────────┬────────────────────┘
                                                   │
                                ┌──────────────────▼────────────────────┐
                                │  Explainable 0-100 Quality Scorer     │
                                │ (High Quality, Needs Review, Low Tier)│
                                └──────────────────┬────────────────────┘
                                                   │
                        ┌──────────────────────────┴──────────────────────────┐
                        │                                                     │
            ┌───────────▼───────────┐                             ┌───────────▼───────────┐
            │ Apify Default Dataset │                             │ Key-Value Store Output│
            │  (Clean Records JSON) │                             │ (Stats, Audit & CSV)  │
            └───────────────────────┘                             └───────────────────────┘
```

***

### ⚙️ Apify Input Schema Reference

The Actor's configuration is structured into **9 organized sections**:

#### 1. Input Source

| Parameter | Type | Default | Description |
|---|---|---|---|
| `inputRecords` | `array` | Sample records | Array of JSON objects containing contact/company information. |
| `rawCsvText` | `string` | `""` | Comma-separated CSV text with headers. |
| `apifyDatasetId`| `string` | `""` | Apify Dataset ID to pull records from automatically. |
| `fieldMapping` | `object` | `{}` | Custom column aliases (e.g. `{"Lead Mail": "email", "Tel": "phone"}`). |

#### 2. Cleaning Options

| Parameter | Type | Default | Description |
|---|---|---|---|
| `enableDeduplication` | `boolean` | `true` | Identify duplicate contacts within the dataset. |
| `deduplicationKeys` | `array` | `["email", "phone"]` | Fields used for composite uniqueness check. |
| `deduplicationAction` | `string` | `"flag_and_link"` | Strategy: `flag_and_link`, `filter_out`, or `keep_all_marked`. |
| `normalizeTextCasing` | `boolean` | `true` | Convert SHOUTING or all-lower text to Title Case while retaining acronyms (LLC, INC, USA, AI). |
| `preserveOriginalFields` | `boolean` | `true` | Store untouched input fields inside `_raw`. |

#### 3. Email Validation

| Parameter | Type | Default | Description |
|---|---|---|---|
| `verifyEmails` | `boolean` | `true` | Perform syntax, disposable, and domain DNS checks. |
| `checkMxRecords` | `boolean` | `true` | Live DNS resolution to confirm mail servers accept mail. |
| `detectDisposableEmails` | `boolean` | `true` | Compare against 800+ disposable/burner domains (Mailinator, TempMail, etc.). |
| `customDisposableDomains` | `array` | `[]` | Additional custom domains to block. |

#### 4. Website Validation

| Parameter | Type | Default | Description |
|---|---|---|---|
| `verifyWebsites` | `boolean` | `true` | Test reachability and track redirect chains. |
| `extractWebMetadata` | `boolean` | `true` | Extract public HTML `<title>` and `<meta name="description">`. |
| `httpTimeoutSeconds` | `integer` | `8` | Safe timeout limit per domain check. |

#### 5. Phone Normalization

| Parameter | Type | Default | Description |
|---|---|---|---|
| `normalizePhones` | `boolean` | `true` | Standardize phone numbers to international E.164. |
| `defaultCountryCode` | `string` | `"US"` | Fallback ISO 3166-1 alpha-2 code when international prefix is missing. |

#### 6. Data Enrichment

| Parameter | Type | Default | Description |
|---|---|---|---|
| `enableEnrichment` | `boolean` | `true` | Infer domain brand names, TLD categories, and public web metadata. |

#### 7. AI Intelligence (Gemini)

| Parameter | Type | Default | Description |
|---|---|---|---|
| `enableAiIntelligence` | `boolean` | `true` | Run semantic industry categorization and anomaly inspection. |
| `generateExecutiveReport` | `boolean` | `true` | Produce a natural-language executive dataset health audit. |

#### 8. Data Quality Scoring

| Parameter | Type | Default | Description |
|---|---|---|---|
| `highQualityThreshold` | `integer` | `80` | Score threshold for "High Quality" tier. |
| `needsReviewThreshold` | `integer` | `50` | Score threshold for "Needs Review" tier. |

#### 9. Performance Settings

| Parameter | Type | Default | Description |
|---|---|---|---|
| `maxConcurrency` | `integer` | `10` | Simultaneous network requests. |
| `batchSize` | `integer` | `25` | Push chunk size to Apify dataset. |
| `maxRecordsToProcess` | `integer` | `0` | Upper safety limit (`0` = process all). |

***

### 📊 Output Schema

#### 1. Default Dataset Record

Every processed record pushed to the Apify dataset contains:

```json
{
  "name": "Alice M. Johnson",
  "company": "Apex Global Solutions Inc",
  "email": "alice.j@apex-global.io",
  "phone": "+14155550138",
  "website": "https://apex-global.io",
  "country": "US",
  "_data_trust": {
    "record_id": "rec_0001",
    "quality_score": 95,
    "quality_tier": "High Quality",
    "score_breakdown": [
      "Email Verified (+0): Syntax valid and domain MX confirmed active",
      "Phone Verified (+0): E.164 and country plan valid",
      "Website Verified (+0): Web server active and responsive"
    ],
    "is_duplicate": false,
    "duplicate_of_id": null,
    "email_verification": {
      "syntax_valid": true,
      "domain": "apex-global.io",
      "mx_found": true,
      "is_disposable": false,
      "inbox_verified": false,
      "status": "valid",
      "details": "Syntax valid; Domain & MX DNS records confirmed active"
    },
    "website_verification": {
      "normalized_url": "https://apex-global.io/",
      "is_reachable": true,
      "status_code": 200,
      "is_redirected": false,
      "title": "Apex Global Solutions | Cloud Infrastructure",
      "status": "accessible"
    },
    "phone_verification": {
      "e164": "+14155550138",
      "national_format": "(415) 555-0138",
      "country_code": "1",
      "is_valid": true,
      "uncertain": false,
      "line_type": "fixed_or_mobile"
    },
    "enrichment": {
      "inferred_domain": "apex-global.io",
      "inferred_brand_name": "Apex Global",
      "domain_sector": "Technology / Software / SaaS"
    },
    "ai_insights": {
      "predicted_industry": "Software & Technology",
      "completeness_score": 100,
      "trust_index": "Verified Entity"
    },
    "processed_at": "2026-11-02T11:28:51Z"
  },
  "_raw": {
    "name": "  ALICE M. JOHNSON  ",
    "company": "apex global solutions inc",
    "email": "alice.j@apex-global.io",
    "phone": "+1 (415) 555-0138",
    "website": "https://apex-global.io",
    "country": "US"
  }
}
```

#### 2. Key-Value Store Artifacts

- **`OUTPUT` / `DATA_TRUST_SUMMARY`:** JSON summary containing high-level stats, issue distributions, paywall details, and the markdown Executive Health Audit.
- **`CLEANED_DATASET_CSV`:** Downloadable tabular CSV containing all cleaned and scored rows.

***

### 💻 Local Testing & CLI Execution

You can run `main.py` locally without Apify SDK using built-in CLI flags:

```bash
## Run with JSON input file
python3 main.py --input test_data.json --output output_processed.json

## Run with CSV input file
python3 main.py --csv test_data.csv --output output_processed.json
```

***

### 🚀 Apify Store Deployment Guide

#### Option A: Deploy via Apify CLI

1. Install the Apify CLI:
   ```bash
   npm install -g apify-cli
   ```
2. Log in to your Apify account:
   ```bash
   apify login
   ```
3. Push the Actor from this directory:
   ```bash
   apify push
   ```

#### Option B: Deploy via GitHub Integration

1. Commit and push this repository to GitHub.
2. Navigate to **Apify Console > Actors > Create New > Git Repository**.
3. Link your repository to build and release.

***

### 🛠 Environment Variables

- `APIFY_USER_IS_PAYING`: Controls user entitlements (`1` = Paying User, `0` = Free User).
- `GEMINI_API_KEY`: (Optional) Custom Gemini API key for advanced AI Insights.

***

### ⚖️ Ethics, Limitations & Compliance

- **Truthful Inbox Status:** We explicitly do not send simulated SMTP `RCPT TO` probes or claim that an email inbox exists unless confirmed by a permitted mailbox provider. This protects users and the Actor's IP from being placed on Spamhaus / SpamCop blacklists.
- **Privacy & Robots Compliance:** Public domain checks respect timeout thresholds and robots.txt constraints.
- **No Hallucination Policy:** If a phone number or URL cannot be verified, DataTrust AI marks it as `uncertain: true` or `inaccessible` rather than inventing false validity.
- **Security:** API keys and sensitive credentials are never stored in output datasets or logged to consoles.

***

### 🏷️ Tags & Search Keywords

`email verifier` | `bulk email validator` | `lead list cleaner` | `phone number validator` | `dataset deduplication` | `email deliverability check` | `b2b lead enrichment` | `apify dataset cleaner`

© 2026 DataTrust AI. Built for Apify Store.

# Actor input Schema

## `inputRecords` (type: `array`):

Array of raw B2B lead records to clean and verify. E.g. \[{"name": "John Doe", "email": "john@example.com", "phone": "+1 555-0199", "website": "https://example.com"}]

## `rawCsvText` (type: `string`):

Paste comma-separated CSV text directly here with headers (e.g. email, phone, company).

## `apifyDatasetId` (type: `string`):

Load lead records automatically from any Apify Scraper Dataset ID (Apollo, Google Maps, LinkedIn scrapers).

## `fieldMapping` (type: `object`):

Map custom dataset columns to standard keys: { "Contact Mail": "email", "Work Tel": "phone", "Company Site": "website" }

## `licenseKey` (type: `string`):

Enter your license key or upgrade your Apify subscription to remove the 100-record free tier limit.

## `enableDeduplication` (type: `boolean`):

Identify and flag duplicate contacts using intelligent multi-field composite matching.

## `deduplicationKeys` (type: `array`):

Fields used to determine duplicate records (e.g. \['email'], \['phone'], or \['email', 'phone']).

## `deduplicationAction` (type: `string`):

Choose whether to flag duplicate records or filter secondary duplicates out of the primary dataset.

## `normalizeTextCasing` (type: `boolean`):

Convert SHOUTING or all-lowercase names, company titles, and addresses into clean Title Case.

## `preserveOriginalFields` (type: `boolean`):

Store untouched raw inputs inside '\_raw' object to preserve original data transparency.

## `verifyEmails` (type: `boolean`):

Run multi-layer deliverability verification checks across all email inputs.

## `checkMxRecords` (type: `boolean`):

Perform live DNS resolution to confirm if the mail server exists and is ready to accept mail.

## `detectDisposableEmails` (type: `boolean`):

Filter addresses against 800+ temporary/burner domains (Mailinator, TempMail, GuerrillaMail, etc.).

## `customDisposableDomains` (type: `array`):

Add custom domains to block as disposable addresses.

## `verifyWebsites` (type: `boolean`):

Test URL reachability, track HTTP redirect chains, and verify target domain status.

## `extractWebMetadata` (type: `boolean`):

Extract HTML page title and meta description from active websites.

## `httpTimeoutSeconds` (type: `integer`):

Maximum allowed duration (in seconds) for website ping attempts.

## `normalizePhones` (type: `boolean`):

Standardize raw phone numbers to international E.164 and national standard formats.

## `defaultCountryCode` (type: `string`):

Fallback country code when international prefix is missing (e.g. US, GB, DE, CA, AU).

## `enableEnrichment` (type: `boolean`):

Extract domain brand names, TLD categories, and public web metadata.

## `enableAiIntelligence` (type: `boolean`):

Use Gemini AI to semantically classify industries, detect anomalous values, and audit lead health.

## `generateExecutiveReport` (type: `boolean`):

Produce a comprehensive natural-language dataset health report detailing anomalies and fixes.

## `highQualityThreshold` (type: `integer`):

Minimum score required to classify a record as 'High Quality'.

## `needsReviewThreshold` (type: `integer`):

Minimum score required for 'Needs Review' tier before falling to 'Low Quality'.

## `maxConcurrency` (type: `integer`):

Number of concurrent network requests for DNS and HTTP checks.

## `batchSize` (type: `integer`):

Number of records pushed per chunk to Apify Dataset.

## `maxRecordsToProcess` (type: `integer`):

Upper processing limit to control execution duration (0 = process all submitted records).

## Actor input object example

```json
{
  "inputRecords": [
    {
      "name": " Alice M. Johnson ",
      "company": "Apex Global Solutions Inc.",
      "email": "alice.j@apex-global.io",
      "phone": "+1 (415) 555-0138",
      "website": "https://apex-global.io",
      "country": "US"
    },
    {
      "name": "Bob Smith",
      "company": "Fake disposable test",
      "email": "bob9921@mailinator.com",
      "phone": "+44 20 7946 0912",
      "website": "http://broken-site-992384723.org",
      "country": "GB"
    },
    {
      "name": "Alice Johnson",
      "company": "Apex Global Solutions",
      "email": "ALICE.J@apex-global.io",
      "phone": "4155550138",
      "website": "apex-global.io",
      "country": "US"
    }
  ],
  "fieldMapping": {},
  "enableDeduplication": true,
  "deduplicationKeys": [
    "email",
    "phone"
  ],
  "deduplicationAction": "flag_and_link",
  "normalizeTextCasing": true,
  "preserveOriginalFields": true,
  "verifyEmails": true,
  "checkMxRecords": true,
  "detectDisposableEmails": true,
  "customDisposableDomains": [],
  "verifyWebsites": true,
  "extractWebMetadata": true,
  "httpTimeoutSeconds": 8,
  "normalizePhones": true,
  "defaultCountryCode": "US",
  "enableEnrichment": true,
  "enableAiIntelligence": true,
  "generateExecutiveReport": true,
  "highQualityThreshold": 80,
  "needsReviewThreshold": 50,
  "maxConcurrency": 10,
  "batchSize": 25,
  "maxRecordsToProcess": 0
}
```

# Actor output Schema

## `cleanedDataset` (type: `string`):

Standardized records with E.164 phone numbers, valid emails, reachability flags, and 0-100 quality scores.

## `summaryStatistics` (type: `string`):

Aggregate dataset statistics including high/review/low distribution and deduction counts.

## `cleanedCsv` (type: `string`):

Downloadable CSV containing all cleaned and scored records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "inputRecords": [
        {
            "name": " Alice M. Johnson ",
            "company": "Apex Global Solutions Inc.",
            "email": "alice.j@apex-global.io",
            "phone": "+1 (415) 555-0138",
            "website": "https://apex-global.io",
            "country": "US"
        },
        {
            "name": "Bob Smith",
            "company": "Fake disposable test",
            "email": "bob9921@mailinator.com",
            "phone": "+44 20 7946 0912",
            "website": "http://broken-site-992384723.org",
            "country": "GB"
        },
        {
            "name": "Alice Johnson",
            "company": "Apex Global Solutions",
            "email": "ALICE.J@apex-global.io",
            "phone": "4155550138",
            "website": "apex-global.io",
            "country": "US"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("as33/email-verifier-phone-lead-data-validator-datatrust-ai").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "inputRecords": [
        {
            "name": " Alice M. Johnson ",
            "company": "Apex Global Solutions Inc.",
            "email": "alice.j@apex-global.io",
            "phone": "+1 (415) 555-0138",
            "website": "https://apex-global.io",
            "country": "US",
        },
        {
            "name": "Bob Smith",
            "company": "Fake disposable test",
            "email": "bob9921@mailinator.com",
            "phone": "+44 20 7946 0912",
            "website": "http://broken-site-992384723.org",
            "country": "GB",
        },
        {
            "name": "Alice Johnson",
            "company": "Apex Global Solutions",
            "email": "ALICE.J@apex-global.io",
            "phone": "4155550138",
            "website": "apex-global.io",
            "country": "US",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("as33/email-verifier-phone-lead-data-validator-datatrust-ai").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "inputRecords": [
    {
      "name": " Alice M. Johnson ",
      "company": "Apex Global Solutions Inc.",
      "email": "alice.j@apex-global.io",
      "phone": "+1 (415) 555-0138",
      "website": "https://apex-global.io",
      "country": "US"
    },
    {
      "name": "Bob Smith",
      "company": "Fake disposable test",
      "email": "bob9921@mailinator.com",
      "phone": "+44 20 7946 0912",
      "website": "http://broken-site-992384723.org",
      "country": "GB"
    },
    {
      "name": "Alice Johnson",
      "company": "Apex Global Solutions",
      "email": "ALICE.J@apex-global.io",
      "phone": "4155550138",
      "website": "apex-global.io",
      "country": "US"
    }
  ]
}' |
apify call as33/email-verifier-phone-lead-data-validator-datatrust-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,as33/email-verifier-phone-lead-data-validator-datatrust-ai"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/UYCdRuLVtXcJYVKMB/builds/CRSWwRUGcZgoohMOV/openapi.json
