GET
/
optimism
/
label
curl --location --request GET 'https://api-c.walletlabels.xyz/optimism/address?address=0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f' \
--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"
    }
  ]
}

Authorization

x-api-key
string
default: "demo-api-key-x-00000"required

Your API key for authentication.

Body

address
string
required

Specify the Optimism address for which you want to retrieve labels.

Response

data
array

An array that encapsulates the labels corresponding to the Optimism address provided.