GET
/
ethereum
/
contractlabel
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"
required

Your API key for authentication.

Body

address
string
required

Specify the Smart Contract’s Ethereum address for which you want to gather labels and metadata.

limit
string

Specify number of shown results.

offset
string

Specify the starting point in the list of results for pagination. e.g. offset=0, offset=1, etc..

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"
      }
    }
  ]
}