Skip to main content
This guide walks through building an automated compliance screening pipeline using Range’s Risk API. You’ll learn how to choose the right endpoint for your use case and build a multi-layered screening flow.
Prerequisites: You need a Risk API key and familiarity with the Address Risk Score, Sanctions & Blacklist Check, and Payment Risk Assessment endpoints.

Choosing the Right Approach

Range’s risk endpoints are layered - each higher-level endpoint includes the checks of the ones below it:
You don’t need to call all three endpoints sequentially - each higher-level endpoint already includes the checks from the ones below it. Choose based on your use case and how much context you have.

Architecture Overview

A compliance pipeline typically uses one of two patterns: When you have both sender and recipient, use Payment Risk Assessment as the primary check. It includes address risk scoring and sanctions/attribution data for both addresses, plus payment-specific analysis.

Pattern B: Address Screening (No Payment Context)

When screening a single address (e.g., during onboarding, before allowing deposits), use Address Risk Score - which already includes sanctions and blacklist data.

When to Use the Standalone Sanctions Endpoint

The Sanctions & Blacklist Check endpoint is still useful when you need:
  • Explicit OFAC compliance documentation - a dedicated sanctions check provides a clear audit record specifically for sanctions screening
  • High-volume, low-latency pre-filtering - the sanctions endpoint is the fastest and cheapest check, useful as a first gate before more expensive analysis
  • Detailed blacklist event data - with include_details=true, it returns specific blacklist/unblacklist events from stablecoin issuers that aren’t available through the other endpoints

Screening a Payment

When you have sender, recipient, and amount, the Payment Risk Assessment is the single endpoint you need. It analyzes both addresses across 8 risk dimensions - including malicious connection analysis and attributed address checks (which cover sanctions and blacklist data).

Decision Matrix

These thresholds are recommendations. Calibrate them based on your risk appetite, regulatory requirements, and use case. See the calibration guidance below.

Screening a Single Address

When you don’t have payment context (e.g., during onboarding or deposit screening), use Address Risk Score. It includes sanctions and blacklist data along with proximity analysis and ML-based threat detection.

Decision Thresholds


Adding a Dedicated Sanctions Check

For compliance teams that need an explicit, documented sanctions screening step - separate from the broader risk analysis - add a standalone Sanctions & Blacklist Check as a fast pre-filter:
This is optional since Address Risk Score and Payment Risk Assessment already include sanctions data, but useful for:
  • Creating a separate audit record specifically for sanctions compliance
  • Fast pre-filtering before more expensive checks
  • Getting detailed blacklist event history with include_details=true

Log and Audit

For compliance, store the raw API responses alongside your decision. This creates an audit trail showing what data was available at the time of the decision.
Key fields to retain:
  • Timestamp of each check
  • Raw API responses (scores, risk levels, reasoning, individual risk factors)
  • Decision and the logic that produced it
  • Operator overrides if a flagged transaction was manually approved or rejected

Threshold Calibration

Different use cases warrant different risk tolerances. These thresholds apply to Address Risk Score (riskScore 1–10):

Full Pipeline Examples

Payment Flow

Address Screening with Optional Sanctions Audit


What’s Next

Understanding Risk Scores

Deep dive into how risk scores are calculated and how to interpret them.

Faraday API

For end-to-end compliant payment execution with built-in Risk API screening.
Last modified on February 5, 2026