Get AML report
curl --request POST \
--url https://tag.alfa-bot.com/api/prod/v1/aml-report \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"network": "trx",
"value": "96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a",
"address": "TQv5pEXAMPLE9xA",
"async": true
}
'import requests
url = "https://tag.alfa-bot.com/api/prod/v1/aml-report"
payload = {
"network": "trx",
"value": "96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a",
"address": "TQv5pEXAMPLE9xA",
"async": True
}
headers = {
"token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
network: 'trx',
value: '96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a',
address: 'TQv5pEXAMPLE9xA',
async: true
})
};
fetch('https://tag.alfa-bot.com/api/prod/v1/aml-report', 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://tag.alfa-bot.com/api/prod/v1/aml-report",
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([
'network' => 'trx',
'value' => '96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a',
'address' => 'TQv5pEXAMPLE9xA',
'async' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"token: <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://tag.alfa-bot.com/api/prod/v1/aml-report"
payload := strings.NewReader("{\n \"network\": \"trx\",\n \"value\": \"96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a\",\n \"address\": \"TQv5pEXAMPLE9xA\",\n \"async\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("token", "<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://tag.alfa-bot.com/api/prod/v1/aml-report")
.header("token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"network\": \"trx\",\n \"value\": \"96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a\",\n \"address\": \"TQv5pEXAMPLE9xA\",\n \"async\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tag.alfa-bot.com/api/prod/v1/aml-report")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"network\": \"trx\",\n \"value\": \"96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a\",\n \"address\": \"TQv5pEXAMPLE9xA\",\n \"async\": true\n}"
response = http.request(request)
puts response.read_body{
"code": "200",
"error_code": null,
"error_message": null,
"data": {
"uid": "11aa04033dcac58816e4cb53e8592280a1f897bd4"
}
}AML
Get AML report
POST
/
aml-report
Get AML report
curl --request POST \
--url https://tag.alfa-bot.com/api/prod/v1/aml-report \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"network": "trx",
"value": "96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a",
"address": "TQv5pEXAMPLE9xA",
"async": true
}
'import requests
url = "https://tag.alfa-bot.com/api/prod/v1/aml-report"
payload = {
"network": "trx",
"value": "96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a",
"address": "TQv5pEXAMPLE9xA",
"async": True
}
headers = {
"token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
network: 'trx',
value: '96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a',
address: 'TQv5pEXAMPLE9xA',
async: true
})
};
fetch('https://tag.alfa-bot.com/api/prod/v1/aml-report', 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://tag.alfa-bot.com/api/prod/v1/aml-report",
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([
'network' => 'trx',
'value' => '96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a',
'address' => 'TQv5pEXAMPLE9xA',
'async' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"token: <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://tag.alfa-bot.com/api/prod/v1/aml-report"
payload := strings.NewReader("{\n \"network\": \"trx\",\n \"value\": \"96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a\",\n \"address\": \"TQv5pEXAMPLE9xA\",\n \"async\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("token", "<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://tag.alfa-bot.com/api/prod/v1/aml-report")
.header("token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"network\": \"trx\",\n \"value\": \"96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a\",\n \"address\": \"TQv5pEXAMPLE9xA\",\n \"async\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tag.alfa-bot.com/api/prod/v1/aml-report")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"network\": \"trx\",\n \"value\": \"96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a\",\n \"address\": \"TQv5pEXAMPLE9xA\",\n \"async\": true\n}"
response = http.request(request)
puts response.read_body{
"code": "200",
"error_code": null,
"error_message": null,
"data": {
"uid": "11aa04033dcac58816e4cb53e8592280a1f897bd4"
}
}Authorizations
Pass your API token in the token request header.
Body
application/json
Available options:
trx, eth, btc, bnb Example:
"trx"
Wallet address or txID
Example:
"96fe2354bd498d9eb844452dc6b8e7f84f6ae33f0625bb63dcd024be7722669a"
Wallet address for AML verification payment
Example:
"TQv5pEXAMPLE9xA"
Response format. When async = true, the AML verification response must be obtained via a separate request using uid
Example:
true
Response
OK - AML report response
Response code.
Example:
"200"
Application-level error code. Null for successful responses.
Example:
null
Human-readable error message. Null for successful responses.
Example:
null
Response data. For async=true it contains uid. For async=false or completed recheck it contains AML report fields. For recheck provider errors it may contain code, error_code and error_message.
Show child attributes
Show child attributes
⌘I