地址標籤
---
layout:
title:
visible: true
description:
visible: true
tableOfContents:
visible: true
outline:
visible: true
pagination:
visible: false
---
# 地址標籤
## 獲取單個地址的標籤
返回目標地址的標籤信息
<mark style="color:blue;">`GET`</mark> `https://aml.blocksec.com/api/aml/v2/address`
#### 路徑參數
| 名稱 | 類型 | 描述 |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------- |
| chain<mark style="color:red;">\*</mark> | String | 鏈名稱,參見[支持的鏈](../getting-started/supported-chains.md) |
| address<mark style="color:red;">\*</mark> | String | 目標地址 |
#### 標頭
| 名稱 | 類型 | 描述 |
| ----------------------------------------- | ------ | -------- |
| API-KEY<mark style="color:red;">\*</mark> | String | 您的API密鑰 |
<div data-gb-custom-block data-tag="tabs">
<div data-gb-custom-block data-tag="tab" data-title='Request'>
<div data-gb-custom-block data-tag="code" data-overflow='wrap'>
```powershell
curl --location 'https://aml.blocksec.com/api/aml/v2/address/eth/0x5b5082214d62585d686850ab8d9e3f6b6a5c58ff' \
--header 'API-KEY: $ApiKey'
示例回應
{
"code": 200,
"data": [
{
"address": "0x5b5082214d62585d686850ab8d9e3f6b6a5c58ff",
"is_address_valid": true,
"chain": "ETH",
"is_contract": false,
"labels": {
"entity_info": [
{
"entity_type": "first",
"entity": "HUOBI",
"category": "CEX",
"confidence": 8
}
],
"property_info": [
{
"address_property": "DEPOSIT ADDRESS",
"confidence": 8
},
{
"address_property": "EXPLOIT",
"category": "ATTACKER",
"confidence": 9
}
],
"name_tag": "Ronin Bridge Exploiter 27",
"others": [
{
"label": "RONIN BRIDGE EXPLOIT",
"confidence": 9
}
]
},
"risk": 5
}
]
}
msg
: String
如果code
不是200,則此字段表示詳細的錯誤信息。
獲取多個地址的標籤
GET
https://aml.blocksec.com/api/aml/v2/addresses
路徑參數
使用', '作為分隔符連接成單個字符串的目標地址。單個請求中的地址數量不得超過100個。
標頭
示例请求
curl --location 'https://aml.blocksec.com/api/aml/v2/addresses/eth/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0x0191e884bf8e21e138e161da520f94d4bbc79c1c' \
--header 'API-KEY: $ApiKey'
示例回應
{
"code": 200,
"data": [
{
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"is_address_valid": true,
"chain": "ETH",
"is_contract": true,
"labels": {
"entity_info": [
{
"entity_type": "first",
"entity": "CENTRE",
"confidence": 9
}
],
"contract_info": {
"contract_name": "FiatTokenProxy",
"token_name": "USD Coin (USDC)"
},
"name_tag": "Circle: USDC Token",
"others": [
{
"label": "CIRCLE",
"confidence": 9
},
{
"label": "STABLECOIN",
"confidence": 9
},
{
"label": "TOKEN CONTRACT",
"confidence": 9
},
{
"label": "USDC",
"confidence": 9
}
]
},
"risk": 2
},
{
"address": "0x8672867cb976c723d600d810b419d439133fca7a",
"is_address_valid": true,
"chain": "ETH",
"is_contract": true,
"labels": {
"entity_info": [
{
"entity_type": "first",
"entity": "BITTREX",
"category": "CEX",
"confidence": 9
}
],
"property_info": [
{
"address_property": "DEPOSIT ADDRESS",
"confidence": 9
}
],
"contract_info": {
"contract_name": "UserWallet"
}
},
"risk": 1
}
]
}
响应格式与单地址查询返回的结果一致。
msg
: String
如果code
不是200,則此字段表示详细的错误信息。
响应数据参数
标籤字段的子字段
地址所属的链。适用于compatible_chain_labels
'first'表示实体,'second'表示次级实体
```