Skip to content
idleakcheckBlogPricingSign up →
← All posts
2026-11-14 · engineering · data · pipeline · by IDLeakCheck team

A background report is three layers of plumbing:

1. Nightly bulk ingest — where most of the data comes from. 2. Live calls — the handful of sources that can't be pre-computed. 3. Request-time aggregation — ~380ms to assemble everything into the dashboard view.

Here's the stack.

Layer 1 — Nightly bulk ingest

Four pm2 workers run the bulk pipelines:

  • phone-worker — carrier bitmaps + line-type tables. Daily refresh.
  • court-worker — 50 state court systems. Each has a different API. Rate-limited per state's AUP.
  • fec-worker — FEC individual contribution dumps. Quarterly cycle.
  • qcew-worker — BLS QCEW employment panel. 980M rows per quarter.
Each worker is independent — a Michigan court outage doesn't halt the pipeline. They write to _raw Clickhouse tables, then a separate parse job normalizes into typed tables, then an ER pass resolves them to canonical identities in identities_gold.

Schema drift is handled defensively. Each parser has:

  • An expected-columns contract.
  • A reject-and-log path for records that don't match (preserved raw in _rejected table for ops review).
  • A monthly audit that flags drift >0.5% so we catch new upstream schema changes before they silently break downstream.

Layer 2 — Live calls

Five sources we hit at request time:

1. NSOPW — sex-offender registry, 184 jurisdictions. Live via curl_cffi with Chrome-125 impersonation (NSOPW rejects plain httpx). 24h PG cache keyed on (first, last, dob). 2. OFAC SDN — hit cache (daily refresh); validate freshness per request. 3. osint.sx — social platform resolver. $0.0005 per lookup. 4. Nominatim — address → lat/long. Cache-heavy. 5. Stripe — the payment itself. $0.36 on a $1.99 charge.

Layer 3 — Request-time

A single /v1/search or /profile/{handle}/full-dossier call fans out to:

  • 1 Clickhouse query for the gold-identity lookup (~30ms).
  • 3-5 specialty-table queries in parallel (~80ms total).
  • 1-3 live calls for NSOPW / osint.sx / Stripe quota check (~200ms worst case; cached otherwise).
  • Response assembly + JSON serialization (~50ms).
Median p50: ~380ms. P99: ~1.8s (dominated by cold NSOPW calls).

The $1.99 arithmetic

Per report at scale:

Cost$/report
Stripe processing0.36
Clickhouse compute0.03
osint.sx live hit0.0005
Bandwidth + images0.01
Contribution margin~1.59
The gold index + batch workers + 23-watchlist ingest are capex (one-time + ongoing refresh). Per-report cost is almost entirely Stripe + CH.

Where we lose data

  • ER false negatives: identities with sparse digital footprints don't cross our merge threshold (0.7 overlap). A real person with no social + no court + no breach might end up as two separate thin records.
  • Rejected parse rows: ~0.5% of ingested records fail parse. These land in _rejected tables; we don't attempt to backfill.
  • Legal gates: some data (SSN-verify, DL details) is tier-gated. Non-enterprise sees the signal but not the detail.

What the price point funds

$1.59 per report × ~10,000 reports/day = $15,900/day contribution. That funds:

  • 4 batch workers continuously.
  • 23-watchlist daily refresh.
  • Court-worker rate-limited parallel scraping across 50 states.
  • 2 FTE on data-quality + parser maintenance.
  • Compliance + legal budget.
Growth from here is more sources, not higher prices. The $1.99 floor is permanent.

See /stats for the live catalog depth + MV refresh progress.