> ## 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.

# Bring Your Own Provider Key

> Screen v3 addresses with your own screening provider accounts, in an order you choose, and get the same response format with Range as the backstop.

If you already have an account with a screening provider, connect its key to your Range workspace. v3 screens then ask your providers in the order you choose, on your keys, and every answer comes back in the same format. Range is always in the order, so every screen can be answered.

## Supported providers

A provider key is a workspace connection of kind `risk`. You can hold one key per provider, and several providers at once.

| Connection `type` | Provider | Credentials | Key check |
| - | - | - | - |
| `chainalysis` | Chainalysis | `api_key` | Stored without a provider call, with `public_data.key_status` set to `unverified`. Your first screen marks it `verified` or `rejected`. |
| `cipherowl` | CipherOwl | `client_id`, `client_secret`, and an optional `config` | Checked with a token request before it is stored. A key the provider rejects is refused when you create the connection. |
| `elliptic` | Elliptic | `api_key` and `api_secret` | Checked with a signed call that screens nothing before it is stored. A key the provider rejects is refused when you create the connection. |
| `merkle_science` | Merkle Science | `api_key` | Checked with a call that screens nothing before it is stored. A key the provider rejects is refused when you create the connection. |
| `misttrack` | MistTrack | `api_key` | Stored without a provider call, with `public_data.key_status` set to `unverified`. Your first screen marks it `verified` or `rejected`. |
| `scorechain` | Scorechain | `api_key` | Checked with a call that screens nothing before it is stored. A key the provider rejects is refused when you create the connection. |

[List Screening Providers](https://docs.range.org/risk-api/risk-v3/list-providers.md) returns every provider you can connect, with the credential fields for each and whether your workspace has connected it. A provider marked `documented` there has not yet been checked against live answers.

For CipherOwl, `config` names the CipherOwl risk configuration to screen with. Without it, your CipherOwl organization's default applies. Range never overrides your provider's own risk policy. CipherOwl answers on 15 EVM networks (among them Ethereum, Arbitrum, Base, BNB Chain, Optimism, Polygon and Avalanche), Tron, Solana, Bitcoin, Litecoin and Bitcoin Cash, and scores a `0x` address across every EVM network (`network_scope: all-evm`). On other networks its result reads `unsupported-network` and the screen moves on.

## Set it up

**1. Create the connection**

Call [Create account connection](https://docs.range.org/platform-api/reference/v2/post-account-connections.md) with the provider's `type` and its credentials object. A second connection for the same provider returns 409: delete the first one to replace the key.

**2. Set your provider order**

Call [Set Screening Routing](https://docs.range.org/risk-api/risk-v3/update-config.md) with a `provider_order`, for example `["cipherowl", "chainalysis", "range"]`. `range` must be in it, at any position. Without a connection for a provider in the order, this returns 409 with code `provider_connection_required`.

**3. Screen as usual**

Call [Screen an Address](https://docs.range.org/risk-api/risk-v3/screen-address.md). Pass `network` whenever the address format does not name one chain: a provider screens one network per call.

## How a screen follows your order

`routing.order` on every screen is the order it followed. The screen asks each provider in turn and stops at the first that answers. Providers after it are not asked.

* **A provider answers.** Its result is the answer. A result on your key has `credential: workspace`. `verdict` maps the provider's risk level onto Range's severity scale, and `native_verdict` keeps the provider's own value, label and scale.
* **A provider cannot answer.** Its result records why in `outcome`, and the screen moves on to the next provider:

| `outcome` | What happened | What to do |
| - | - | - |
| `provider-unauthorized` | The provider rejected your key. | Update the key on your connection. |
| `provider-error` | The provider was down, timed out, or rate limited you. | Nothing. The next provider answered this screen. |
| `unsupported-network` | The provider does not cover this network. | Nothing. |
| `sanctions-only` | The provider only checks sanctions on this network. | Nothing. The next provider gave a full answer. |
| `provider-missing` | Your workspace has no connection for this provider. | Create it again, or remove the provider from your order. |
| `range-unavailable` | Range's own screen could not answer. | Nothing, if a later provider answered. |

* **`range` in the order.** When the screen reaches `range`, Range answers. On a network Range does not index, another provider answers on Range's account. If Range's own screen is down, another provider answers on Range's account where it covers the network in full. If `range` cannot answer and it is the last entry, the request fails with Range's error.

Range waits up to 20 seconds in total for the providers on your keys, however many your order lists, then moves on. Set your client timeout to at least 60 seconds.

See the [worked examples](https://docs.range.org/risk-api/risk-v3/screen-address.md#worked-examples) for a screen your key answered and one where Range answered after your provider failed.

## Compare providers in one screen

To see your providers' answers side by side instead of one answer, pass [`providers`](https://docs.range.org/risk-api/risk-v3/screen-address#several-providers-in-one-screen) on the screen, for example `providers=range,chainalysis,cipherowl`. Each provider is asked once, in parallel, no provider stands in for another, and `decision` is `null`: compare the results yourself. Each provider on your key costs 1 credit, refunded when it does not answer. `range` does not have to be in the list.

## Networks Range does not index

On networks Range does not index, such as XRPL and Bitcoin, your providers are asked in order as on any other network. When the screen reaches `range`, another provider answers on Range's account, with `delegated: unindexed-network`, and Range checks its own sanctions lists beside it.

One exception: your key may be for the same provider that answers these networks on Range's account. If that key fails, Range does not retry the screen on its own account. Unless a later provider in your order answers:

* A rejected key returns 422 with code `provider_unauthorized`. Update the connection.
* A provider outage returns 503 with code `provider_unavailable`. Retry later.

Screens on your own key do not count toward the monthly limit for these networks.

## Credits

A screen your key answers costs 1 credit, on any network. Your provider bills you separately under your own agreement with it. When `range` answers instead, the screen costs Range's price for that network. A provider that failed or was skipped costs nothing. See [Credits](https://docs.range.org/risk-api/risk-v3/credits.md).


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