获取请求历史记录

此请求返回包含报告的完整检查历史记录

get https://api.cryptomus.com/v2/user-api/aml/check/request 复制

要求

请求参数

姓名参数类型定义
pagestring页码

参数类型

string

定义

页码

请求示例


curl https://api.cryptomus.com/v2/user-api/aml/check/request \
-X GET \
-H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json'
复制

回复

响应参数

姓名参数类型定义
items检查请求数组
items.idinteger唯一请求标识符
items.network_codestring|null请求网络代码(btc、eth、bsc……)
items.typestring可用值• address• transaction地址或交易号
items.addressstring|null正在检查地址
items.txidstring|null交易哈希
items.statestring可用值• pending• completed• failed状态:待定、完成、失败
items.riskobject|null风险评估结果
items.risk.scoreinteger风险评分
items.risk.levelstring风险等级
items.risk.colorstring风险颜色
items.completed_atstring|null完成日期和时间
items.reportobject|null报告数据
paginate分页的数据。
paginate.has_pagesboolean是否还有更多页面
paginate.last_pageinteger最后一页
paginate.next_pagestring|null下一页
paginate.previous_pagestring|null上一页

定义

检查请求数组

参数类型

integer

定义

唯一请求标识符

参数类型

string|null

定义

请求网络代码(btc、eth、bsc……)

参数类型

string
可用值
- address- transaction

定义

地址或交易号

参数类型

string|null

定义

正在检查地址

参数类型

string|null

定义

交易哈希

参数类型

string
可用值
- pending- completed- failed

定义

状态:待定、完成、失败

参数类型

object|null

定义

风险评估结果

参数类型

integer

定义

风险评分

参数类型

string

定义

风险等级

参数类型

string

定义

风险颜色

参数类型

string|null

定义

完成日期和时间

参数类型

object|null

定义

报告数据

定义

分页的数据。

参数类型

boolean

定义

是否还有更多页面

参数类型

integer

定义

最后一页

参数类型

string|null

定义

下一页

参数类型

string|null

定义

上一页

响应示例


1{
2  "state": 0,
3  "result": {
4    "items": [
5      {
6        "id": 123,
7        "network_code": "tron",
8        "type": "address",
9        "address": "TXYZabc...",
10        "txid": null,
11        "state": "completed",
12        "risk": {
13          "score": 10,
14          "level": "low",
15          "color": "#22C55E"
16        },
17        "completed_at": "2025-07-16T14:12:08+00:00",
18        "report": null
19      }
20    ],
21    "paginate": {
22      "has_pages": true,
23      "last_page": 2,
24      "next_page": "2",
25      "previous_page": null
26    }
27  }
28}
复制