Skip to main content
Silent-screening operations. Access them via client.screening. pepSanctions and titleCheck are synchronous; adverseMedia is async and returns an AdverseMediaHandle you poll for the result.
pepSanctions and titleCheck are sent with retries disabled (maxRetries: 0). The server bounds an un-cancellable upstream and returns 503 (ServiceUnavailableError) on breach without billing — an immediate retry would hit the same slow path, so the SDK fails fast. Back off and retry yourself.

pepSanctions(input)

Run a synchronous PEP & sanctions screening against global watchlists. Returns PepSanctionsResult:
Throws ValidationError (400), AuthenticationError (401), InsufficientFundsError (402), RateLimitError (429), ServiceUnavailableError (503), DeepIDVError.
See also: REST PEP & Sanctions.

adverseMedia(input)

Queue an async adverse-media screening. The POST returns a jobId immediately; the SDK wraps it in an AdverseMediaHandle so you can .wait() for the result or .refresh() for a single snapshot.
Leave idempotencyKey unset and the SDK auto-generates a UUID v4 for each call, so customer retries (network blips, batch restarts) are safe by default. Server-side dedup TTL is 24 hours — re-sending the same key replays the same job.
Returns an AdverseMediaHandle:
  • wait(options?) — auto-polls until the job reaches ready or failed, returning the typed AdverseMediaResult. Throws AdverseMediaFailedError if the job fails, or PollTimeoutError if timeoutMs elapses first. A poll timeout does not mean the job died — resume later with client.asyncJobs.get(jobId).
  • refresh() — performs a single non-blocking poll and returns the current AdverseMediaJobSnapshot.
Result and snapshot types:
adverseMedia() throws ValidationError (400), AuthenticationError (401), InsufficientFundsError (402), RateLimitError (429), DeepIDVError. The handle’s wait() additionally throws AdverseMediaFailedError and PollTimeoutError.
For a non-blocking single check:
See also: REST Adverse Media and Get Async Job.

titleCheck(input)

Run a synchronous property title / address search. The server geocodes the address via Google Places (currently US-only). Returns TitleCheckResult — a discriminated union on status:
unsupported_region is a typed result, not an error — the server returns HTTP 200 for all four variants, including when the address falls outside the supported region. Branch on status rather than catching.
Throws ValidationError (400), AuthenticationError (401), InsufficientFundsError (402), RateLimitError (429), ServiceUnavailableError (503), DeepIDVError.
See also: REST Title Check.