Crypto AML Service
Starts an AML check of a wallet (address) or of a transaction (txHash). Pass exactly one of the two together with the blockchain.
The check is asynchronous: the response contains only the id of the check (amlId) and its state. When the check is finished, the result is sent to your webhook as a cryptoAmlResult event. You can also request it with GET /api/public/crypto-aml/{amlId}/details.
Every check is charged to the balance of your company. If the balance is insufficient, the request is rejected and the check does not start.
Private App Key of your Application. It is available in Workplace on the page of the Application.
Blockchain network the wallet address or transaction belongs to.
Hash of the transaction to check (64 hex characters, the 0x prefix is optional). Mutually exclusive with address: pass exactly one of the two.
^(0x)?[a-fA-F0-9]{64}$Wallet address to check, in the format of the selected blockchain. Mutually exclusive with txHash: pass exactly one of the two.
Created
Always true for a successful response
HTTP status code of the response
200Time the response was created (ISO 8601)
2021-08-20T14:52:33.648ZBad request: the request body or the parameters are not valid
Unauthorized: the x-private-app-key header is missing or not valid
POST /api/public/crypto-aml/search HTTP/1.1
x-private-app-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"blockchain": "BTC",
"txHash": "text",
"address": "text"
}{
"status": true,
"statusCode": 200,
"data": {
"id": "text",
"state": "INITIAL"
},
"time": "2021-08-20T14:52:33.648Z"
}Returns the result of a check started with POST /api/public/crypto-aml/search. The result is ready when state is FINISHED; if state is FAILED, the reason is in errReason. The type query parameter is required and must match the check: WALLET for address, TRANSACTION for txHash.
The same data is sent to your webhook in the cryptoAmlResult event, so polling this endpoint is only needed as a fallback. Unlike the webhook, this response also contains the history of PDF reports (pdfReports).
Private App Key of your Application. It is available in Workplace on the page of the Application.
Identifier of the check, returned by POST /api/public/crypto-aml/search.
Type of the check: WALLET for a check started with address, TRANSACTION for a check started with txHash.
OK
Always true for a successful response
HTTP status code of the response
200Time the response was created (ISO 8601)
2021-08-20T14:52:33.648ZBad request: the request body or the parameters are not valid
Unauthorized: the x-private-app-key header is missing or not valid
GET /api/public/crypto-aml/{amlId}/details?type=WALLET HTTP/1.1
x-private-app-key: YOUR_API_KEY
Accept: */*
{
"status": true,
"statusCode": 200,
"data": {
"type": "WALLET",
"id": "text",
"clientKey": "text",
"applicantId": "text",
"blockchain": "BTC",
"reviewStatus": "UNKNOWN",
"state": "INITIAL",
"errReason": "text",
"address": "text",
"score": 1,
"amount": "text",
"uof": [
{
"hash": "text",
"forward": true,
"owner": "text",
"score": 1,
"type": "text",
"depth": 1,
"amount": 1,
"address": "text",
"share": 1,
"transactionCount": 1,
"unidentified": true,
"unknown": true,
"amountCur": 1,
"cluster": 1,
"directStamp": 1,
"timestamp": 1,
"listType": "text",
"amountDec": 1,
"directTx": "text",
"symbol": "text"
}
],
"sof": [
{
"hash": "text",
"forward": true,
"owner": "text",
"score": 1,
"type": "text",
"depth": 1,
"amount": 1,
"address": "text",
"share": 1,
"transactionCount": 1,
"unidentified": true,
"unknown": true,
"amountCur": 1,
"cluster": 1,
"directStamp": 1,
"timestamp": 1,
"listType": "text",
"amountDec": 1,
"directTx": "text",
"symbol": "text"
}
],
"addressInfo": {
"address": "text",
"owner": "text",
"description": "text",
"type": {
"id": "text",
"name": "text",
"score": 1
},
"txCount": 1,
"txReceivedCount": 1,
"txSentCount": 1,
"tags": [
"text"
],
"balance": {
"amount": "text",
"price": 1,
"priceTimestamp": 1,
"symbol": "text"
},
"firstSeen": 1,
"lastSeen": 1,
"parentCount": 1,
"parentNativeCount": 1,
"addressType": "text",
"conflict": true,
"totalETHTxs": 1,
"totalInternalTxs": 1,
"totalTokensTxs": 1,
"assets": [
{
"supported": true,
"name": "text",
"symbol": "text",
"icon": "text"
}
]
},
"entities": [
{
"id": "text",
"score": 1,
"scoreType": "text",
"name": "text",
"scoreTypeId": "text"
}
],
"sharesByType": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"riskByType": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"isMonitoring": true,
"lastUpdateDate": "2026-01-01T00:00:00.000Z",
"outdated": true,
"isReportReceived": true,
"createdAt": "2026-01-01T00:00:00.000Z",
"timelines": [
{
"id": "text",
"requestUniqueId": "text",
"eventName": "CRYPTO_AML_STATUS_UPDATED",
"applicantId": "text",
"appKey": "text",
"data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"amlId": "text",
"userId": 1,
"device": {},
"geo": {},
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"comments": [
{
"id": "text",
"content": "text",
"amlId": "text",
"authorId": 1,
"parentId": "text",
"authorName": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"parentComment": "[Circular Reference]"
}
],
"pdfReports": [
{
"requestId": "text",
"amlId": "text",
"type": "WALLET",
"status": "PENDING",
"path": "text",
"error": {
"code": "text",
"message": "text"
},
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"time": "2021-08-20T14:52:33.648Z"
}Returns the PDF reports that were requested for the check, page by page. total is the number of reports of the check.
Private App Key of your Application. It is available in Workplace on the page of the Application.
Identifier of the check, returned by POST /api/public/crypto-aml/search.
OK
Always true for a successful response
HTTP status code of the response
200Time the response was created (ISO 8601)
2021-08-20T14:52:33.648ZUnauthorized: the x-private-app-key header is missing or not valid
GET /api/public/crypto-aml/{amlId}/pdf-reports HTTP/1.1
x-private-app-key: YOUR_API_KEY
Accept: */*
{
"status": true,
"statusCode": 200,
"data": {
"rows": [
{
"requestId": "text",
"amlId": "text",
"type": "WALLET",
"status": "PENDING",
"path": "text",
"error": {
"code": "text",
"message": "text"
},
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"total": 1
},
"time": "2021-08-20T14:52:33.648Z"
}Starts the generation of a PDF report for a finished check. Generate a requestId (UUID) on your side and pass it in the body: it identifies the report.
The generation is asynchronous: the response has the status PENDING. When the report is ready, a cryptoAmlPdfReportResult event is sent to your webhook, and the report status becomes GENERATED or FAILED. You can also request the status with GET /api/public/crypto-aml/{amlId}/pdf-reports/{requestId}.
When the status is GENERATED, download the file with GET /api/public/file/{path} using the path of the report.
Private App Key of your Application. It is available in Workplace on the page of the Application.
Identifier of the check, returned by POST /api/public/crypto-aml/search.
Unique identifier (UUID) of the report request, generated by the client. Use it to get the report status.
Accepted
Always true for a successful response
HTTP status code of the response
200Time the response was created (ISO 8601)
2021-08-20T14:52:33.648ZBad request: the request body or the parameters are not valid
Unauthorized: the x-private-app-key header is missing or not valid
POST /api/public/crypto-aml/{amlId}/pdf-reports HTTP/1.1
x-private-app-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"requestId": "123e4567-e89b-12d3-a456-426614174000"
}{
"status": true,
"statusCode": 200,
"data": {
"requestId": "text",
"amlId": "text",
"type": "WALLET",
"status": "PENDING",
"path": "text",
"error": {
"code": "text",
"message": "text"
},
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"time": "2021-08-20T14:52:33.648Z"
}Returns the status of a PDF report. When status is GENERATED, the path field is set: download the file with GET /api/public/file/{path}. When status is FAILED, the reason is in error.
Private App Key of your Application. It is available in Workplace on the page of the Application.
Identifier of the check, returned by POST /api/public/crypto-aml/search.
requestId that was passed when the report was requested.
OK
Always true for a successful response
HTTP status code of the response
200Time the response was created (ISO 8601)
2021-08-20T14:52:33.648ZUnauthorized: the x-private-app-key header is missing or not valid
GET /api/public/crypto-aml/{amlId}/pdf-reports/{requestId} HTTP/1.1
x-private-app-key: YOUR_API_KEY
Accept: */*
{
"status": true,
"statusCode": 200,
"data": {
"requestId": "text",
"amlId": "text",
"type": "WALLET",
"status": "PENDING",
"path": "text",
"error": {
"code": "text",
"message": "text"
},
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"time": "2021-08-20T14:52:33.648Z"
}Last updated