Ethereum API
Search By Label
This endpoint enables you to search and retrieve labels by their names. It's particularly useful for finding specific Ethereum accounts based on labels.
GET
/
ethereum
/
search
Authorization
Query
curl --location --request GET 'https://api-c.walletlabels.xyz/ethereum/search?searchtext=Uniswap' \
--header 'Content-Type: application/json' \
--header 'x-api-key: demo-api-key-x-00000'
{
"data": [
{
"address_name": "Uniswap",
"address": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
"label_type": "contract",
"label_subtype": "decentralized_exchange",
"label": "Uniswap V2 Factory Contract"
},
{
"address_name": "DAI Stablecoin",
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"label_type": "token",
"label_subtype": "erc20",
"label": "DAI ERC20 Token Contract"
}
// ... more results ...
]
}
Authorization
x-api-key
string
default: "demo-api-key-x-00000"requiredYour API key for authentication.
Query Params
searchtext
string
requiredSpecify the name or part of the name of the label you wish to search for.
Response
data
array
An array that encapsulates the labels corresponding to the Ethereum address provided.
curl --location --request GET 'https://api-c.walletlabels.xyz/ethereum/search?searchtext=Uniswap' \
--header 'Content-Type: application/json' \
--header 'x-api-key: demo-api-key-x-00000'
{
"data": [
{
"address_name": "Uniswap",
"address": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
"label_type": "contract",
"label_subtype": "decentralized_exchange",
"label": "Uniswap V2 Factory Contract"
},
{
"address_name": "DAI Stablecoin",
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"label_type": "token",
"label_subtype": "erc20",
"label": "DAI ERC20 Token Contract"
}
// ... more results ...
]
}