Skip to main content
POST
/
api
/
v1
/
tracker
/
kya
/
risks
Retrieve Bulk Risk Assessments
curl --request POST \
  --url https://api.bitrace.io/api/v1/tracker/kya/risks \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '
{
  "addresses": [
    "<string>"
  ]
}
'
import requests

url = "https://api.bitrace.io/api/v1/tracker/kya/risks"

payload = { "addresses": ["<string>"] }
headers = {
"X-Access-Key": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'X-Access-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({addresses: ['<string>']})
};

fetch('https://api.bitrace.io/api/v1/tracker/kya/risks', 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.bitrace.io/api/v1/tracker/kya/risks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'addresses' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Access-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"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.bitrace.io/api/v1/tracker/kya/risks"

payload := strings.NewReader("{\n \"addresses\": [\n \"<string>\"\n ]\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("X-Access-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.bitrace.io/api/v1/tracker/kya/risks")
.header("X-Access-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"addresses\": [\n \"<string>\"\n ]\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.bitrace.io/api/v1/tracker/kya/risks")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Access-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"addresses\": [\n \"<string>\"\n ]\n}"

response = http.request(request)
puts response.read_body
{
  "success": true,
  "code": 1,
  "msg": "SUCCESS",
  "data": [
    {
      "time": 1726107965915,
      "address": "TFskN28dBDqv8tLKtM2GwroGx7bKDUSnBW",
      "network": "tron",
      "whitelist": false,
      "contract": false
    },
    {
      "time": 1726107965915,
      "address": "THyRaxcBo38AfW9XrKYutgJgRaGygucgKJ",
      "network": "tron",
      "whitelist": false,
      "contract": false
    },
    {
      "time": 1726107965915,
      "address": "TFaB5JCw9Gum2eufeE1Qmmw1uSZCoKXbJ5",
      "network": "tron",
      "whitelist": false,
      "contract": false,
      "risks": [
        {
          "riskLevel": "generally-high",
          "riskType": "online-gambling",
          "riskSource": "Bitrace"
        }
      ]
    },
    {
      "time": 1726107965915,
      "address": "TERx4pYzjM9jrShuRhGXvqxoAdZ83VyvZo",
      "network": "tron",
      "whitelist": false,
      "contract": false,
      "risks": [
        {
          "riskLevel": "high",
          "riskType": "online-gambling",
          "riskSource": "Bitrace"
        },
        {
          "riskLevel": "high",
          "riskType": "black-gray-goods",
          "riskSource": "Bitrace"
        }
      ]
    },
    {
      "time": 1726107965915,
      "address": "TQoYEabovCJaAaxt32m9khPbHJXRb8K6jk",
      "network": "tron",
      "whitelist": false,
      "contract": false,
      "risks": [
        {
          "riskLevel": "high",
          "riskType": "black-gray-goods",
          "riskSource": "Bitrace"
        }
      ]
    },
    {
      "time": 1726107965915,
      "address": "TQoYEabovCJaAaxt32m9khPbHJXRb8K6jk",
      "network": "tron",
      "whitelist": false,
      "contract": false,
      "risks": [
        {
          "riskLevel": "high",
          "riskType": "black-gray-goods",
          "riskSource": "Bitrace"
        }
      ]
    }
  ]
}
{
"success": false,
"code": 123,
"msg": "<string>",
"status": "<string>"
}
{
"success": false,
"code": 123,
"msg": "<string>",
"status": "<string>"
}
{
"success": false,
"code": 123,
"msg": "<string>",
"status": "<string>"
}
{
"success": false,
"code": 123,
"msg": "<string>",
"status": "<string>"
}

Authorizations

X-Access-Key
string
header
required

API key authentication

Headers

Content-Type
enum<string>
default:application/json
Available options:
application/json
Accept
enum<string>
default:application/json
Available options:
application/json

Body

application/json
addresses
string[]
required

The address array that you want to retrieve entities for. And the array limit size is 100

Maximum array length: 100
network
enum<string>
required

The supported chainns short name, ethereum tron btc bsc ... See at Supported Chains

Available options:
ethereum,
eth,
tron,
btc,
bsc,
polygon,
arbitrum,
optimism,
avalanche,
base,
zksync,
merlin,
kaia,
iotex,
ftm,
theta,
etc,
lumia,
solana,
doge,
ltc

Response

Successful response

success
boolean

Request success or not

code
integer

Response code (1 for success, other numbers for errors)

msg
string

SUCCESS or error message

data
object[] | null