Base URL
https://zeroinvalid.com/api

Authentication

Authenticate every request with your personal API key (found in Dashboard → Developer API) via the Authorization: Bearer header or x-api-key header.

HTTP Header
Authorization: Bearer vp_live_YOUR_API_KEY
GET

/api/verify

Verifies a single email address in real time across syntax, disposable lists, DNS/MX, SPF/DKIM/DMARC, catch-all detection, and live SMTP checks. Consumes 1 credit.

Request (cURL)
curl -s "https://zeroinvalid.com/api/verify?email=hello@linear.app" \
  -H "Authorization: Bearer vp_live_YOUR_API_KEY"
200 OK — JSON Response
{
  "email": "hello@linear.app",
  "normalizedEmail": "hello@linear.app",
  "status": "verified",
  "score": 92,
  "reason": "deliverable",
  "suggestion": null,
  "durationMs": 412,
  "remainingCredits": 49999,
  "signals": {
    "syntaxValid": true,
    "isDisposable": false,
    "isRoleAccount": true,
    "isCatchAll": true,
    "mailboxVerified": true,
    "mxProvider": "Google Workspace",
    "hasSpf": true,
    "hasDkim": true,
    "hasDmarc": true,
    "dmarcPolicy": "reject",
    "emailLifecycle": "established"
  }
}
POST

/api/verify/bulk

Verify an array of emails in a single batch request (up to 100 emails per HTTP call; automatically deduplicated). Consumes 1 credit per unique email.

Request (cURL)
curl -s -X POST "https://zeroinvalid.com/api/verify/bulk" \
  -H "Authorization: Bearer vp_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"emails": ["hello@linear.app", "patrick@stripe.com"]}'

Verification Statuses

StatusScoreRecommended Action
verified84–100Safe to send. Active mailbox confirmed.
catch_all20–55Accept-all or provider-deferred gateway. Send cautiously or segment separately.
disposable0–4Temporary / burner inbox. Block on signup & exclude from campaigns.
invalid0–20Hard bounce / nonexistent mailbox / bad syntax. Suppress immediately.

Bulk Completion Webhooks & HMAC Security

Configure a webhook URL under Dashboard → Developer API → Bulk Job Completion Webhooks. Every request includes X-ZeroInvalid-Event, X-ZeroInvalid-Timestamp, and an HMAC-SHA256 X-ZeroInvalid-Signature header.

bulk.completed Payload
{
  "event": "bulk.completed",
  "timestamp": "2026-12-05T15:30:00.000Z",
  "data": {
    "jobId": "job_9f4a21c8b3",
    "name": "q4_outbound_leads.csv",
    "total": 2500,
    "valid": 2318,
    "catchAll": 114,
    "disposable": 12,
    "invalid": 56,
    "durationMs": 48200
  }
}
Verify Signature (Node.js)
import crypto from "node:crypto";

export function verifyZeroInvalidWebhook(rawBody, headers, secret) {
  const ts = headers["x-zeroinvalid-timestamp"];
  const sig = headers["x-zeroinvalid-signature"] || "";
  const expected =
    "sha256=" +
    crypto
      .createHmac("sha256", secret)
      .update(`${ts}.${rawBody}`)
      .digest("hex");

  return crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected));
}

HTTP Error Codes

400 Bad RequestMissing or malformed email parameter.
401 UnauthorizedMissing or invalid Bearer API key.
402 Payment RequiredInsufficient verification credits on account.
429 Too Many RequestsRate limit exceeded; back off briefly and retry.
503 Service UnavailableScheduled maintenance window in progress.