GET
/
optimism
/
label
curl --location --request GET 'https://api-c.walletlabels.xyz/optimism/label?address=0x049e04bee77cffb055f733a138a2f204d3750283' \
--header 'Content-Type: application/json' \
--header 'x-api-key: demo-api-key-x-00000'
{
  "data": [
    {
      "address": "0x049e04bee77cffb055f733a138a2f204d3750283",
      "address_name": "",
      "label_type": "token",
      "label_subtype": "token_contract",
      "label": ""
    }
  ]
}

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.

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 that encapsulates the labels corresponding to the Optimism address provided.

curl --location --request GET 'https://api-c.walletlabels.xyz/optimism/label?address=0x049e04bee77cffb055f733a138a2f204d3750283' \
--header 'Content-Type: application/json' \
--header 'x-api-key: demo-api-key-x-00000'
{
  "data": [
    {
      "address": "0x049e04bee77cffb055f733a138a2f204d3750283",
      "address_name": "",
      "label_type": "token",
      "label_subtype": "token_contract",
      "label": ""
    }
  ]
}