Check a lead file before import
check_lead_fileValidate lead rows from a JSON array, public CSV, or Apify dataset before CRM or sequencer import. Returns per-row import, review, or reject verdicts with detected issues and check details.
Instructions
Check a lead list before a CRM or sequencer import. Give one source: rows (a JSON array of objects), csv_url (a public CSV link), or dataset_id (an Apify dataset). Every row comes back with an import_verdict (import, review, or reject), the issues found (invalid email syntax, duplicate, free mail, role address, disposable address, email domain not found or with no MX, parked or unreachable website, company name mismatch, missing required field, stale), and the checks behind them, plus the original row. No mailbox is contacted, so a mailbox can still bounce. Input with nothing to check returns one free row saying why. A run that does not succeed is returned as an error with its run ID. Read-only; requires an APIFY_TOKEN; Apify charges per row checked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Lead rows as objects with any column names, up to 50,000. Give rows, csv_url, or dataset_id, one of them. | |
| checks | No | Which checks to run. Default all. | |
| csv_url | No | A public link to a CSV file with a header row, up to 50 MB. | |
| max_rows | No | Check at most this many rows. Default 5000, at most 50000. | |
| column_map | No | Which of your columns holds email, domain, company, first_name, last_name, and date, for example {"email": "Work Email"}. Without it common header names are read. | |
| dataset_id | No | An Apify dataset ID from one of your runs. | |
| stale_days | No | With a date column in column_map, rows older than this many days get the stale issue. | |
| check_websites | No | true (default) reads each company homepage once for the live, parked, and company name checks. | |
| max_charge_usd | No | Optional. The run stops before a charge would pass this amount. | |
| required_fields | No | Fields a row must have, or it is rejected. Default email. |