Create AML Screening
Creates one or more AML Screening address records for the current user. This endpoint is only available to Compliance/Enterprise Plan users.
POST https://openapi.misttrack.io/v1/aml_screening_createRequest
Content-Type
application/json
JSON Body
api_key
string
yes
Your API key.
data
array
yes
Non-empty array of address records to create or update.
data[].coin
string or array of strings
yes
One supported coin code, comma-separated codes, or a list of codes. Codes are trimmed and repeated codes are removed. Supported values are listed here.
data[].address
string
yes
Valid supported-chain address, at most 100 characters.
data[].note
string
no
Optional note. Omitted or null becomes an empty string.
Request Example
curl --location 'https://openapi.misttrack.io/v1/aml_screening_create' \
--header 'Content-Type: application/json' \
--data '{
"api_key": "YourApiKey",
"data": [
{
"coin": ["ETH", "USDT-ERC20"],
"address": "0xb3065fe2125c413e973829108f23e872e1db9a6b",
"note": "Treasury"
},
{
"coin": ["TRX", "USDT-TRC20", "USDC-TRC20"],
"address": "TEvwn7VF4KWfWfUSKipy6mFgjxPREPwFk2",
"note": "TRON monitoring"
}
]
}'Response
Sample Response
created_count represents the number of newly created records plus the number of records restored after being soft-deleted, rather than the total number of records submitted.
The rules are as follows:
New records: Successfully created records are counted toward
created_count.Updating existing records: If the address is already being monitored by the same user, submitting it again updates the associated coins and note but does not increase
created_count.Restoring deleted records: If the user's record for the address was previously soft-deleted, submitting it again restores the record, and it is counted toward
created_count.Duplicate addresses: If the same address is submitted multiple times in a single request, it is processed only once. Duplicate detection is case-insensitive.
After creating or updating records, you can call /v1/aml_screening_query to retrieve the address records and their corresponding record IDs.
Error Responses
200
{"success": false, "msg": "InvalidPostJson"}
The POST body is not valid JSON.
200
{"success": false, "msg": "InvalidParameter"}
The body is not an object or data is not a non-empty array.
200
{"success": false, "msg": "", "data": {"invalid_items": [...]}}
One or more data items are invalid; no items from this request are written. Each entry contains a zero-based index and msg (InvalidParameter or UnsupportedToken).
200
{"success": false, "msg": "InvalidApiKey"}
API key is invalid or deleted.
402
{"success": false, "msg": "ExpiredPlan"}
The API plan has expired.
403
{"success": false, "msg": "PermissionDenied"}
The user does not have AML Screening access.
A non-POST request returns plain text Only POST allow rather than JSON.
Last updated