4、Historical data query api

Description: Query historical data records according to the unique_id returned by the alert interface

1、URL

GET /openapi/v2/risk/data/push

2、Header Parameters

Parameter nameData typeRequiredDescription
timestampinttrueTimestamp (in seconds)
signstringtrueSignature sha256("timestamp=timestamp value&secret=secretkey value")

3、Request Parameters

Parameter nameData typeRequiredDescription
api_keystringtrueapikey
unique_idstringtrueUnique id

4、 Response Parameters

{
    "code": 200,
    "msg": "success",
    "data": { 
        "risk_data": {
            "unique_id": "0140......8be5", //Unique id
            "risk_level": "severe", //Risk level (severe, high, medium, low, none)
            "risk_code": 4444 //Risk code
            "risk_source": {
                "is_private_whitelist": false, //Whether to hit private whitelist
                "risk_from_address_list":[ //Risk transfer address
                    { 
                        "black_address":"3E5L......44Bc",//from address
                        "black_address_type": "Blackmail Scam", //Blacklist address type
                        "black_address_label": [ //Blacklist address label
                            "attacker",
                            "hacker"
                        ],
                    },
                    ......
                ],
                .......
            }
        }
    }
}
Parameter name Data type Description
risk_data json History details