Bill-on-match billing

411data uses fixed (exact) pricing charged up front by the balance waterfall. Bill-on-match (automatic refund when no usable enrichment) applies only to lead-session enrichment and its partial ops.

Routes (live)

Route Billing
/api/v1/enrich/lead-session Bill-on-match — refund when no usable enrichment fields
/api/v1/enrich/lead-session/slot-rerun Bill-on-match partial op
/api/v1/enrich/lead-session/slot-person Bill-on-match partial op
/api/v1/enrich/lead-session/slots-rerun Bill-on-match partial op
/api/v1/enrich/lead-session/synthesize-patch Bill-on-match partial op
/api/v1/enrich/lead-session/finding-rerun Bill-on-match partial op
/api/v1/enrich/lead-session/sic-rerun Bill-on-match partial op
/api/v1/enrich/lead-session/super-scrape-rerun Bill-on-match partial op
/api/v1/enrich/phone Charged on completed call (including matched: false)
/api/v1/enrich/person Charged on completed call (including matched: false)
/api/v1/enrich/websearch Charged on completed call (including matched: false)

Catalog routes (offline by default) follow the same completed-call rule when enabled: /api/v1/enrich/email, /enrich/company, and /api/v1/leads/search (including zero rows). billed: false on those routes means vendor failure, not a no-match refund.

Response signals

{
  "matched": false,
  "billed": false,
  "cache_hit": false
}

billed: false means the precharge was refunded — an empty lead-session (or partial op), or vendor failure on a standalone lookup. A completed standalone no-match usually has billed: true.

Billing order (unchanged)

  1. Virtual USD balance debited first.
  2. 402 + x402 only when balance cannot cover the price.

Audit

Every call is stored in request_response_store with input hash for cache lookups — repeated identical inputs may return cache_hit: true without re-hitting vendors.

Lead-session vendor hops also honor cache_hit.

Agent-scoped warm-seed (AGENT_LEAD_CACHE_TTL_HOURS, default 168h) reuses the latest lead_enrichment_backfill (or a prior matched batch-row debug graph when AGENT_LEAD_BATCH_CACHE_ENABLED=1) for the same agent when a new chat or batch row matches by chat_title, exact input JSON, batch input JSON, CRM contact_id (int or external string), phone, or company + address (normalized geo key). Response field agent_cache.cache_scope: "agent"; cache_match includes chat_title, input_exact, batch_input_exact, company, phone, person, or contact_id.

Cross-agent warm-seed uses unrolled phone/company/person indexes (GLOBAL_LEAD_CACHE_TTL_HOURS, default 168h) — agent_cache.cache_scope: "global". CRM contact_id is never shared across agents.