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

A background report is a lookup against a pre-built index. The lookup is fast. The work is in the index-building. Here's how a court filing becomes a row on a subject's profile.

Stage 1 — Ingest

Every data source has a different ingest shape. The 10 largest buckets:

  • State court APIs — 50 states × their own endpoints. We rate-limit ourselves to each source's acceptable use policy; some cap at 10 req/min.
  • PACER — federal court docket index. API + PDF scrape for case details.
  • BLS QCEW — quarterly employment panel. Flat-file dump, 980M rows each quarter.
  • FEC quarterly dumps — individual-contribution CSVs, 42M rows per cycle.
  • HIBP enterprise feed — webhook push on every new breach ingest.
  • NSOPW — live-only. We hit it per-request; no ingest.
  • County property recorders — mix of PDF + API + bulk XML. 3,000+ sources.
  • FEMA disaster declarations — API, delta-pulled daily.
  • State licensing boards — scraping + partner feeds.
  • Social sources via osint.sx — live-only, same model as NSOPW.
Each ingest writes to a raw _raw Clickhouse table. No parsing yet.

Stage 2 — Parse

Raw rows get normalized into source-specific typed tables. A county-court PDF turns into court_cases_raw { case_id, filed_date, parties, nature, status }. A BLS QCEW row turns into employment_quarterly { ein, naics, employee_count, mean_quarterly_wage, quarter }.

Parsers run on a batch worker — one worker per source, 4 processes today. Checkpoints every 5 minutes. The whole backfill is ~14 days of wall-clock from scratch; incremental runs catch up in ~2 hours.

Stage 3 — Entity resolution

The hardest stage. Every parsed row has an ambiguous "who is this" problem. A court filing says "John Smith"; we have 12,400 John Smiths in the index.

Our ER is a graph-walk over typed-identifier overlap: shared addresses, shared phones, shared DOB, shared SSN-last-4, shared employer, shared household. Each overlap adds a weighted edge; we take the connected component above a confidence threshold as the canonical identity.

False positives are real. We shipped the "same person?" feedback widget (T15 — ) so users can flag bad matches; those votes feed back into the ER engine as negative edges.

Stage 4 — Index build

The ER output writes to identities_gold — one row per canonical person, with a vector of pointers into the specialty tables. This is the gold index that profile lookups hit at request time.

Materialized views (mv_*) do the heavy joining ahead of time so request-time is a single-row lookup. The MV refresh runs on a cadence per table: hourly for breaches, daily for court/arrests, monthly for property. See /stats for the live MV progress dashboard.

Stage 5 — Serve

At request time we hit the gold index + 1-5 specialty tables + 1-3 live sources (NSOPW, osint.sx, nominatim). P95 is ~380ms. The bottleneck is almost always the live sources, not our index.

Where we lose data

  • Parsers error on malformed source data — we log + move on. A single bad record doesn't halt the batch.
  • ER confidence threshold — we require ≥0.7 overlap to merge. A real person with a sparse digital footprint might not cross the threshold.
  • Legal gates — some data (SSN-verify, driver-license details) is tier-gated. Non-enterprise callers see the signal but not the detail.
If you've seen a subject's profile and something looks wrong, email support@idleakcheck.com. The ER feedback loop is open.