Email verification and enrichment in one call
Sortance does email verification and enrichment in a single request. POST /v1/decide verifies the address, enriches it only if one of your rules needs company or person data, and applies that rule. You get one decision with its reasons, the verification and profile that produced it, and one cost for the whole call.
curl -X POST https://api.sortance.com/v1/decide \
-H "Authorization: Bearer $SORTANCE_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"mia@acme.com","context":{"purpose":"signup","enrich":"auto","max_cost_usd":0.5}}'Verification and the decision are live. Enrichment is beta: the endpoint and the vendor adapters exist, but no production vendor contract is confirmed, so enrichment carries no data today and rules that read it fall through. Verification also has a limit worth knowing: no mailbox provider is connected, so mailbox_checked is false.
Why do email verification and enrichment belong in one call?
Because the second step depends on the first. Whether a signup is worth enriching is a verification question. Teams that run separate tools end up writing the same glue: verify, branch, maybe enrich, branch again, then reconcile two invoices and two sets of logs when someone asks why a signup was held.
The single-purpose tools aren’t bad at their jobs. The gap is the decision between them, and that’s the part nobody sells.
| A validator plus an enrichment vendor | /v1/decide | |
|---|---|---|
| Keys | Two, plus your glue code | One |
| When enrichment runs | Whenever your code calls it | Only if a rule reads an enrichment field and the signup is still undecided |
| Consumer mailboxes | Enriched unless you filter them | Never enriched |
| The rule | An if in your handler | A versioned policy, written in English, replayable |
| Cost of the call | Two line items, two invoices | cost_usd on the response, capped by max_cost_usd |
| Audit trail | Two log systems | One trace_id, with rule_id and reasons |
How does the combined call work?
Five steps, and the expensive one is the one most requests skip.
- Verify. The same pipeline as the email validation API: syntax, MX, disposable lists, role and relay detection, your blocklists, and an AI read on whether the address is made up.
- Load your policy and any running experiment.
- Decide whether to enrich. Rules are walked in order. If an earlier rule settles the signup, no profile is bought. A policy that reads only verification never buys one.
- Enrich only the fields the rules read, company by domain first, under what is left of
max_cost_usd. - Apply the rule. First match wins. No match means your default action, which is
allowunless you set something else.
No model makes the decision. The AI read in step one is an input, like the MX lookup. A model helps you write the policy once; after that, every decision is your rules applied to typed inputs, which is why you can replay it.
What comes back
// Illustrative, not measured.
{
"decision": "review",
"flow": null,
"rule_id": "r_industry_fit",
"tags": [],
"policy": { "slug": "default", "version": 14 },
"reasons": ["company.industry is 'logistics', not one of 'fintech', 'insurance'"],
"verification": { /* the /v1/verify response, unchanged */ },
"enrichment": { /* the profile, or null when no rule needed one */ },
"icp": null,
"lists": { "matched": [] },
"cost_usd": 0.1012,
"latency_ms": 688,
"trace_id": "dc_01J..."
}Gate on decision. The verification block keeps its own recommendation, score and reasons if you want them, and the enrichment block keeps its coverage and per-vendor sources receipt. When enrichment couldn’t run, reasons says so: degraded: enrichment unavailable, or degraded: enrichment skipped, cost ceiling reached.
Can I still call them separately?
Yes. /v1/verify is the signup gate on its own, and /v1/enrich is the email enrichment API on its own. Use them when you’re cleaning a list, enriching CRM records after the fact, or you already have a rules engine you like. Use /v1/decide when the answer you want is “what should happen to this signup”. For the difference between the two jobs in plain terms, see email verification vs enrichment.
What it won’t claim
- It stops throwaway and dead addresses and flags the made-up ones for a check. It doesn’t confirm a mailbox exists today.
- It doesn’t return enrichment data yet, and won’t until a vendor contract is confirmed.
- A
denyonly ever comes from a rule you wrote. Rules over missing enrichment default to skipping, not denying.
The rest of the list is on limitations. For the signup-form version of this page, with a headcount rule and replay, see signup enrichment.
Questions people ask
Can one API do email verification and enrichment?
Yes. Sortance's POST /v1/decide verifies the address, buys an enrichment profile only if one of your rules reads an enrichment field, then applies your policy and returns a decision with the rule and reasons. The verification answer is embedded unchanged, the profile is attached when it was bought, and cost_usd covers both. Enrichment is in beta and returns no data yet.
Should I verify an email before enriching it?
Yes, and that order is what saves money. An address on a disposable domain, a domain with no mail server or a role inbox can usually be settled by verification alone. Enriching it first means paying a vendor to profile someone you were going to reject. Decide always verifies first and only enriches if the signup is still undecided.
What email validator works with enrichment?
Any validator can sit in front of an enrichment vendor if you write the glue: call one, branch, call the other, reconcile two bills and two sets of logs. Sortance puts both behind one key and one request, so the branch is a rule you wrote and the trace shows what each step did. You can also call /v1/verify and /v1/enrich separately.
What does the verification part actually check today?
Syntax, the domain's MX records, disposable and throwaway domain lists, role and relay addresses, your block and allow lists, and an AI read on whether the address looks made up. It does not confirm the mailbox exists: no mailbox provider is connected in production, so mailbox_checked is false. A plausible address that doesn't exist can still read send.
Is it one bill for verification and enrichment?
One key, and one cost_usd per call that covers both lanes. Billing itself is not live yet, and enrichment has no published price. Verification is listed at $4.00 per 1,000 sends protected, or $3.40 with outcome reporting. A decide call whose policy reads only verification signals buys no enrichment at all.