> ## Documentation Index
> Fetch the complete documentation index at: https://docs.range.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Risk v3 Quickstart

> Screen an address with v3, decide whether to block it, and fetch the recorded screen for your audit trail.

Screen an Ethereum address, read the decision, and fetch the recorded screen.

Before you start, follow the [shared quickstart](https://docs.range.org/introduction/quickstart.md) to create a key with the Risk API scope.

## 1. Screen an address

Call [Screen an Address](https://docs.range.org/risk-api/risk-v3/screen-address.md) with `address` and `network`. Every `0x` address needs `network`, because the format does not name one chain.

```bash cURL theme={null}
curl -G https://api.range.org/v3/risk/address \
  --data-urlencode "address=0x52908400098527886E0F7030069857D2E4169EE7" \
  --data-urlencode "network=eth" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```javascript JavaScript theme={null}
const params = new URLSearchParams({
  address: "0x52908400098527886E0F7030069857D2E4169EE7",
  network: "eth",
});

const response = await fetch(
  `https://api.range.org/v3/risk/address?${params}`,
  {
    headers: { Authorization: "Bearer YOUR_API_KEY" },
    signal: AbortSignal.timeout(30_000),
  }
);
const screen = await response.json();
```

```python Python theme={null}
import requests

response = requests.get(
    "https://api.range.org/v3/risk/address",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    params={
        "address": "0x52908400098527886E0F7030069857D2E4169EE7",
        "network": "eth",
    },
    timeout=30,
)
screen = response.json()
```

Allow at least 60 seconds before your client times out. Most screens answer in a few seconds. To make a retry safe, send an `Idempotency-Key` header with a new unique value per screen: a retry with the same key within 10 minutes returns the same screen, free. See [Safe retries](https://docs.range.org/risk-api/risk-v3/screen-address.md#safe-retries-and-your-own-reference).

## 2. Read the decision

`decision` is the answer. For example, a screen of a sanctioned address returns a decision like this one (illustrative, not a recorded result):

```json theme={null}
{
  "basis": "served",
  "result_ids": ["r1"],
  "status": "final",
  "data_state": "full",
  "severity": "severe",
  "score": 100,
  "sanctioned": true,
  "action": null
}
```

Act on it in this order:

1. `sanctioned` is `true`: block.
2. `status` is `pending`: hold, and screen again later.
3. `severity` is `high` or `severe`: block. `medium`: review.
4. `data_state` is not `full`, or `sanctioned` is `null`: review before you rely on a low severity.
5. Otherwise, allow.

The full guide, with code and a worked example for every case, is in [Should I block this address?](https://docs.range.org/risk-api/risk-v3/screen-address.md#should-i-block-this-address).

## 3. See who answered

`routing.served_result_id` names the result in `results[]` that gave the decision. Each result says which provider it came from (`provider`), whose account paid (`credential`), and, when it is not the answer, why (`outcome`). `meta.credits_charged` is what the screen cost.

## 4. Fetch the recorded screen

Every answered screen is recorded. Pass `screen_id` to [Get a Recorded Screen](https://docs.range.org/risk-api/risk-v3/get-screen.md) to get it back exactly as it was served, with its SHA-256 in `result_sha256`. This call is free.

```bash theme={null}
curl https://api.range.org/v3/risk/screens/SCREEN_ID \
  -H "Authorization: Bearer YOUR_API_KEY"
```

To list your workspace's screens, use [List Recorded Screens](https://docs.range.org/risk-api/risk-v3/list-screens.md).

## 5. Handle errors

Errors carry a stable `code`. Branch on it, not on `message`. A request that ends in an error is not charged.

```json theme={null}
{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "network is required for this address: its format does not name one chain (EVM 0x, legacy Bitcoin or Bitcoin Cash, Dogecoin, Polkadot, Sui, …); see GET /v3/risk/networks",
  "code": "network_required",
  "retry_after_seconds": null
}
```

See [Errors](https://docs.range.org/risk-api/risk-v3/errors.md) for every code and whether to retry.

## Next steps

> [card] [Versioning and compatibility](https://docs.range.org/risk-api/risk-v3/versioning.md)
>
> Write a client that keeps working as v3 adds fields and values.

> [card] [Credits](https://docs.range.org/risk-api/risk-v3/credits.md)
>
> What each call costs, and why failed requests are free.

> [card] [Bring your own provider key](https://docs.range.org/risk-api/risk-v3/bring-your-own-key.md)
>
> Screen with your own screening provider account.

> [card] [Moving from v1 or v2](https://docs.range.org/risk-api/risk-v3/migrate-from-v2.md)
>
> Where each v1 and v2 field lives in v3.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.