Ethereum API
Contract Labels API (Beta)
This beta endpoint provides both labels and metadata for all verified Ethereum Smart Contracts. It's a powerful resource for gaining insights into contract categorization and behavior.
GET
/
ethereum
/
contractlabel
Authorization
Query
curl --location --request GET 'https://api-c.walletlabels.xyz/ethereum/contractlabel?address=0xContractAddressHere' \
--header 'Content-Type: application/json' \
--header 'x-api-key: demo-api-key-x-00000'
{
"data": [
{
"address_name": "CompUniswapV2Factoryound",
"address": "0x5C69bEe701ef814a2B6a3EDD4d3E647068eb497cB",
"label_type": "general address",
"label_subtype": "Decentralized Exchange",
"label": "Uniswap V2 Factory Contract",
"metadata": {
"owner_address": "0x5C69bEe701ef814a2B6a3EDD4d3E647068eb497cB",
"creation_date": "YYYY-MM-DD",
"etc": "Additional Metadata"
}
}
]
}
Authorization
x-api-key
string
default: "demo-api-key-x-00000"requiredYour API key for authentication.
Body
address
string
requiredSpecify the Smart Contract’s Ethereum address for which you want to gather labels and metadata.
Response
data
array
An array containing labels and metadata that correspond to the verified Smart Contract address provided.
curl --location --request GET 'https://api-c.walletlabels.xyz/ethereum/contractlabel?address=0xContractAddressHere' \
--header 'Content-Type: application/json' \
--header 'x-api-key: demo-api-key-x-00000'
{
"data": [
{
"address_name": "CompUniswapV2Factoryound",
"address": "0x5C69bEe701ef814a2B6a3EDD4d3E647068eb497cB",
"label_type": "general address",
"label_subtype": "Decentralized Exchange",
"label": "Uniswap V2 Factory Contract",
"metadata": {
"owner_address": "0x5C69bEe701ef814a2B6a3EDD4d3E647068eb497cB",
"creation_date": "YYYY-MM-DD",
"etc": "Additional Metadata"
}
}
]
}