Check multiple addresses for sanctions
curl --request POST \
--url https://api.xentfi.com/v1/aml/check-batch \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'orgId: <api-key>' \
--data '
{
"addresses": [
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"0x8894E0a0c962CB723c1976a4421c95949bE2D4E3"
]
}
'const options = {
method: 'POST',
headers: {apiKey: '<api-key>', orgId: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
addresses: [
'0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',
'0x8894E0a0c962CB723c1976a4421c95949bE2D4E3'
]
})
};
fetch('https://api.xentfi.com/v1/aml/check-batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.xentfi.com/v1/aml/check-batch"
payload = { "addresses": ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "0x8894E0a0c962CB723c1976a4421c95949bE2D4E3"] }
headers = {
"apiKey": "<api-key>",
"orgId": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.xentfi.com/v1/aml/check-batch"
payload := strings.NewReader("{\n \"addresses\": [\n \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n \"0x8894E0a0c962CB723c1976a4421c95949bE2D4E3\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("apiKey", "<api-key>")
req.Header.Add("orgId", "<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))
}const options = {
method: 'POST',
headers: {apiKey: '<api-key>', orgId: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
addresses: [
'0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',
'0x8894E0a0c962CB723c1976a4421c95949bE2D4E3'
]
})
};
fetch('https://api.xentfi.com/v1/aml/check-batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"isSanctioned": false,
"identifications": [
{
"category": "sanctions",
"name": "North Korean Cyber Group",
"description": "North Korean state-sponsored hacking group",
"url": "https://sanctions.example.com/entity/123"
}
],
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
],
"totalChecked": 2
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Wallet not found",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Wallet not found",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}AML
Check multiple addresses for sanctions
Batch check up to 50 addresses against global sanctions lists. Processes addresses sequentially to respect rate limits.
POST
/
v1
/
aml
/
check-batch
Check multiple addresses for sanctions
curl --request POST \
--url https://api.xentfi.com/v1/aml/check-batch \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'orgId: <api-key>' \
--data '
{
"addresses": [
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"0x8894E0a0c962CB723c1976a4421c95949bE2D4E3"
]
}
'const options = {
method: 'POST',
headers: {apiKey: '<api-key>', orgId: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
addresses: [
'0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',
'0x8894E0a0c962CB723c1976a4421c95949bE2D4E3'
]
})
};
fetch('https://api.xentfi.com/v1/aml/check-batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.xentfi.com/v1/aml/check-batch"
payload = { "addresses": ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "0x8894E0a0c962CB723c1976a4421c95949bE2D4E3"] }
headers = {
"apiKey": "<api-key>",
"orgId": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.xentfi.com/v1/aml/check-batch"
payload := strings.NewReader("{\n \"addresses\": [\n \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n \"0x8894E0a0c962CB723c1976a4421c95949bE2D4E3\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("apiKey", "<api-key>")
req.Header.Add("orgId", "<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))
}const options = {
method: 'POST',
headers: {apiKey: '<api-key>', orgId: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
addresses: [
'0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',
'0x8894E0a0c962CB723c1976a4421c95949bE2D4E3'
]
})
};
fetch('https://api.xentfi.com/v1/aml/check-batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"isSanctioned": false,
"identifications": [
{
"category": "sanctions",
"name": "North Korean Cyber Group",
"description": "North Korean state-sponsored hacking group",
"url": "https://sanctions.example.com/entity/123"
}
],
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
],
"totalChecked": 2
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Wallet not found",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Wallet not found",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}Body
application/json
Array of blockchain addresses to check
Required array length:
1 - 50 elementsExample:
[
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"0x8894E0a0c962CB723c1976a4421c95949bE2D4E3"
]
⌘I

