Jump to API Section Tap to expand ↓
ProbeMX API Reference
Complete request schemas, response models, status codes, webhook signatures, and copy-paste examples.
Base URL:
Authentication & Error Model
Create API keys (ev_live_...) inside the Dashboard. Every /v1/* endpoint accepts any of three authentication methods:
Authorization: Bearer ev_live_your_api_key X-API-Key: ev_live_your_api_key ?api_key=ev_live_your_api_key # convenient for Mailgun/SES webhooks & compat SDKs
Standard Error Response Model
Non-2xx responses always return structured JSON. Insufficient credit responses return 402 Payment Required with exact required/available counts.
bad_request, unauthorized, insufficient_credits, not_found, cannot_cancel, or internal_error.Credits & Billing
Returns your current credit balance and recent immutable ledger entries. New accounts start with 250 free credits; unknown results and cancelled bulk rows are always auto-refunded.
"metered" for user API keys/sessions, or "unlimited_static_key" for static admin keys.unknown outcomes are automatically refunded.id, delta, balance_after, kind, reference_id, note, created_at).Single Email Verification
Runs the full waterfall — RFC syntax & IDNA, typo suggestion, disposable/role intelligence, async DNS (MX, Null MX, SPF, DMARC policy, MTA-STS), live SMTP/STARTTLS, catch-all detection, and tenant mailer feedback — within your timeout budget. Costs 1 credit (auto-refunded if state == "unknown").
Request Body (VerifyRequest)
+tag subaddresses).unknown / smtp_timeout.Examples
curl -X POST __BASE__/v1/verify \
-H "Authorization: Bearer ev_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"timeout_ms": 5000,
"zero_retention": false
}'
Sample Response (200 OK • VerificationResult)
{
"email": "[email protected]",
"normalized_email": "[email protected]",
"canonical_email": "[email protected]",
"state": "deliverable",
"reason": "accepted_email",
"score": 100,
"score_factors": [
{ "signal": "smtp_accepted", "delta": 87, "detail": "remote MX accepted RCPT TO on non-catch-all server" },
{ "signal": "starttls", "delta": 3, "detail": "MX supports encrypted STARTTLS" },
{ "signal": "spf_present", "delta": 3, "detail": "valid SPF record published" },
{ "signal": "dmarc_reject", "delta": 5, "detail": "strict DMARC policy (p=reject) indicates actively managed domain" },
{ "signal": "mta_sts_present", "delta": 2, "detail": "MTA-STS policy published (_mta-sts)" }
],
"did_you_mean": null,
"domain": {
"name": "acme.io",
"ascii_domain": "acme.io",
"mx_records": ["aspmx.l.google.com"],
"implicit_mx": false,
"null_mx": false,
"provider": "google_workspace",
"has_spf": true,
"has_dmarc": true,
"dmarc_policy": "reject",
"has_mta_sts": true,
"is_disposable": false,
"is_free": false
},
"account": {
"local_part": "alice.chen+vip",
"is_role": false,
"has_subaddress": true,
"subaddress_tag": "vip"
},
"smtp": {
"probed": true,
"connected": true,
"mx_host": "aspmx.l.google.com",
"egress_id": "direct",
"starttls": true,
"is_catch_all": false,
"mailbox_full": false,
"greylisted": false,
"response_code": 250,
"enhanced_code": "2.1.5",
"response_message": "2.1.5 OK"
},
"cached": false,
"duration_ms": 214,
"verified_at": "2026-11-22T20:15:00Z"
}
Synchronous Batch Verification
Verifies 1 to 50 emails concurrently in a single request, preserving input order and applying cross-row catch-all pattern scoring. Unknown results are automatically refunded.
POST /v1/bulk for larger lists.VerifyRequest.Result Models & Enums
Full field-by-field specification of VerificationResult returned by real-time, batch, and bulk endpoints.
null if invalid syntax).+tag subaddresses and normalizes Gmail dot-aliases / googlemail.com.deliverable, undeliverable, risky, or unknown.sum(score_factors[].delta) == score.{ signal: string, delta: integer, detail: string }.[email protected] → [email protected]). Never emitted for valid or disposable domains.name, ascii_domain, mx_records: string[], implicit_mx: bool, null_mx: bool, provider: MailProvider, has_spf: bool, has_dmarc: bool, dmarc_policy: missing|none|quarantine|reject, has_mta_sts: bool, is_disposable: bool, is_free: bool.local_part: string, is_role: bool, has_subaddress: bool, subaddress_tag: string | null.probed, connected, mx_host, egress_id, starttls, is_catch_all, mailbox_full, greylisted, response_code, enhanced_code, response_message.VerificationReason Enum
accepted_emailMX accepted RCPT TO on non-catch-all server (or confirmed by mailer delivery).mailbox_fullMX confirmed mailbox exists but is over quota (state: deliverable — does not penalize deliverability).rejected_emailMX permanently rejected recipient (550 5.1.1, M365 5.4.1 DBEB).verified_bounceOverridden to undeliverable by recent verified hard bounce from your mailer feedback.catch_allMX accepts randomized non-existent probes (see catch_all_confidence).role_accountShared mailbox (info@, support@, sales@).disposableKnown temporary/burner email provider (mailinator.com, yopmail.com).null_mxDomain publishes RFC 7505 Null MX (0 .) explicitly refusing mail.no_mx_recordsNo MX records and fallback A/AAAA host does not accept SMTP on port 25.invalid_syntax / invalid_domainFailed RFC 5322/6531/IDNA syntax or DNS returned NXDOMAIN.greylistedTemporary 4xx deferral (automatically retried in bulk mode; refunded if unresolved).smtp_blocked / smtp_timeoutPolicy/IP block (5.7.x / MAIL FROM rejected) or timeout — refunded automatically.Async Bulk: Create & Upload
Returns 202 Accepted immediately with a BulkJob object — no HTTP connection is held open. Up to 250,000 rows per job. Credits are reserved only for deduplicated unique_count rows, and any unknown or cancelled rows are auto-refunded.
POST /v1/bulk. For POST /v1/bulk/upload, send multipart field file (auto-detects an email column header or first column containing @).bulk.completed POST callback.+tag subaddresses and Gmail dot-aliases using canonical_email before charging credits.curl -X POST __BASE__/v1/bulk/upload \ -H "Authorization: Bearer ev_live_your_api_key" \ -F "[email protected]" \ -F "dedupe_aliases=true" \ -F "zero_retention=true" \ -F "webhook_url=https://yourapp.com/webhooks/probemx"
Async Bulk: Job Status & History
Lightweight status read. Progress updates smoothly in real time as each MX host group finishes.
job_...).queued | running | completed | failed | cancelled.none | pending | delivered | failed.status == "failed".Async Bulk: Results & CSV Export
json (paginated) or csv (full attachment download with 20 columns including canonical_email, catch_all_confidence, dmarc_policy, has_mta_sts).deliverable, undeliverable, risky, or unknown.auto_purged: true indicates zero-retention rows were wiped after this download.Cancel Job & Purge PII
Cancels a queued or running job and automatically refunds all unprocessed + unknown credits. Returns { "job_id": "...", "cancelled": true } (or 409 Conflict if already terminal).
Immediately deletes all email PII rows from storage while keeping aggregate job counters. Returns { "job_id": "...", "purged": true, "deleted_rows": 200 }.
Signed Bulk Webhooks
On bulk completion, ProbeMX sends a POST request to your webhook_url (up to 3 retries with exponential backoff) with these headers:
X-Webhook-Event: bulk.completed
X-Webhook-Timestamp: 1763836000
X-Webhook-Signature: t=1763836000,v1=<hex(HMAC-SHA256(secret, "{timestamp}.{raw_body}"))>
Webhook Payload Model
{
"event": "bulk.completed",
"timestamp": 1763836000,
"job": { /* full BulkJob object */ }
}
Signature Verification
import crypto from "crypto";
export function verifySignature(secret, header, rawBody) {
const parts = Object.fromEntries(header.split(",").map(p => p.split("=")));
const expected = crypto
.createHmac("sha256", secret)
.update(`${parts.t}.${rawBody}`)
.digest("hex");
return crypto.timingSafeEqual(Buffer.from(parts.v1), Buffer.from(expected));
}
Customer Mailer Feedback Loop
Feeds real post-send delivery and bounce telemetry back into your HMAC-blinded, tenant-isolated index. Policy/RBL blocks (5.7.x, Spamhaus, DMARC) and transient conditions (5.2.2 mailbox full, message too large) are automatically ignored so they never hurt deliverability.
delivered | hard_bounce | soft_bounce | complaint.550, "5.1.1", "User unknown") used by the anti-poisoning classifier.{ accepted_delivered, accepted_hard_bounces, ignored_policy_or_soft, invalid_emails }.Drop-In Emailable & Hunter Compat
Returns Emailable's exact response keys (email, user, domain, state, reason, score, disposable, free, role, accept_all, mx_record, smtp_provider, did_you_mean, duration) plus our transparent score_factors.
Returns Hunter's { data: { status, result, score, email, regexp, gibberish, disposable, webmail, mx_records, smtp_server, smtp_check, accept_all, block, sources, score_factors }, meta: { params: { email } } } format.
Egress IP Reputation Health
Inspect per-(egress_id, provider) circuit breaker status and cache key blinding.
true when email cache keys are HMAC-SHA256 blinded in RAM.{ egress_id, provider, total_requests, total_blocks, consecutive_blocks, circuit_open, cooldown_remaining_secs }.