curl --request GET \
--url https://api.range.org/v3/risk/config \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.range.org/v3/risk/config"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.range.org/v3/risk/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.range.org/v3/risk/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.range.org/v3/risk/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.range.org/v3/risk/config")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v3/risk/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"provider_order": [
"range"
],
"screening_provider": "range",
"warnings": [],
"providers": [
{
"id": "range",
"name": "Range",
"connectable": true,
"maturity": "live_verified",
"key_check": null,
"credential_fields": [
{
"name": "api_key",
"label": "API key",
"secret": true,
"optional": true
}
],
"docs_url": null,
"connected": false
}
]
}{
"statusCode": 400,
"message": "network is required for this address: its format does not name one chain",
"error": "Bad Request",
"code": "network_required",
"retry_after_seconds": null
}{
"statusCode": 400,
"error": "Bad Request",
"message": "network is required for this address: its format does not name one chain",
"code": "network_required",
"retry_after_seconds": null
}{
"statusCode": 400,
"message": "network is required for this address: its format does not name one chain",
"error": "Bad Request",
"code": "network_required",
"retry_after_seconds": null
}Get Screening Routing
Returns the order your workspace’s v3 address screens try providers in, with the providers you can use and warnings about the order.
curl --request GET \
--url https://api.range.org/v3/risk/config \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.range.org/v3/risk/config"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.range.org/v3/risk/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.range.org/v3/risk/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.range.org/v3/risk/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.range.org/v3/risk/config")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v3/risk/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"provider_order": [
"range"
],
"screening_provider": "range",
"warnings": [],
"providers": [
{
"id": "range",
"name": "Range",
"connectable": true,
"maturity": "live_verified",
"key_check": null,
"credential_fields": [
{
"name": "api_key",
"label": "API key",
"secret": true,
"optional": true
}
],
"docs_url": null,
"connected": false
}
]
}{
"statusCode": 400,
"message": "network is required for this address: its format does not name one chain",
"error": "Bad Request",
"code": "network_required",
"retry_after_seconds": null
}{
"statusCode": 400,
"error": "Bad Request",
"message": "network is required for this address: its format does not name one chain",
"code": "network_required",
"retry_after_seconds": null
}{
"statusCode": 400,
"message": "network is required for this address: its format does not name one chain",
"error": "Bad Request",
"code": "network_required",
"retry_after_seconds": null
}provider_order is the order your workspace’s screens try providers in. It is ["range"] unless you changed it with Set Screening Routing. This call is free: it costs no credits.
| Field | Meaning |
|---|---|
provider_order | The providers a screen tries, in order. The first one that can answer does, and the rest are not asked. range is always in it. |
screening_provider | Deprecated: use provider_order. The first provider other than range in the order, or range when there is none. |
warnings | What to know for the order to work as expected. Empty when the order is ["range"]. |
providers | Every provider Range screens with, and whether your workspace has connected it: the same list as List Screening Providers. |
warnings can say one of two things:
- A provider in your order is connected: pass
networkwhenever the address format does not name one chain, because a provider screens one network per call. - A provider in your order has no connection: screens skip it, and its result reads
outcome: provider-missing. Create the connection or remove the provider fromprovider_order.
Authorizations
Response
The order this workspace’s screens try providers in. The first provider that can answer does; the rest are not asked. range is always in the order.
A provider id, as listed by GET /v3/risk/providers. Open list: Range may add values without a new contract version. Handle a value you do not know, never reject the response.
["range"]
What callers must know for this order to work as expected: that a provider screens one network per call, so network must be passed whenever the address format does not name one chain; or that a provider in the order has no connection, so screens skip it. Empty when the order is Range alone.
[]
Was this page helpful?