TrustIn AML

API Reference

Browse and test TrustIn AML API endpoints

POST/api/v2/investigate/submit_task

Submit Task

Submit an address investigation task. Traces inflow/outflow fund paths and returns a task_id for polling status and results.

Request Parameters

chain_namerequired

Blockchain network

addressrequired

Wallet address to investigate

inflow_hops

Inflow tracing depth (0–5)

outflow_hops

Outflow tracing depth (0–5)

min_timestamp

Start time filter (Unix ms). Default: no limit

max_timestamp

End time filter (Unix ms). Default: current time

min_amount

Minimum transfer amount to consider

max_nodes_per_hop

Max nodes expanded per hop

white_list_tags

Comma-separated tag names to exclude from risk analysis

is_penetrate_contract

Trace through contract addresses

Request Body
{
  "chain_name": "",
  "address": "",
  "inflow_hops": 0,
  "outflow_hops": 0,
  "min_timestamp": 0,
  "max_timestamp": 0,
  "min_amount": 0,
  "max_nodes_per_hop": 0,
  "white_list_tags": "",
  "is_penetrate_contract": false
}

Example Response

Response
{
  "code": 0,
  "msg": "success",
  "data": {
    "task_id": 12345
  }
}