GET
/
solana
/
search
curl --location --request GET 'https://api-c.walletlabels.xyz/solana/search?searchtext=nft&limit=1' \
--header 'Content-Type: application/json' \
--header 'x-api-key: demo-api-key-x-00000'
{
  "data": [
    {
      "address": "8jJo9ZFB9QiDA2UP7TAK8Vr4JxUVTiCLoVZHjauK8g2c",
      "address_name": "nft nft nft",
      "label_type": "nft",
      "label_subtype": "nft",
      "label": "nft nft nft"
    }
  ]
}

Authorization

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

Your API key for authentication.

Body

searchtext
string
required

Specify the Solana attribute (label, Sub_label or address_name) 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 Solana address provided.

curl --location --request GET 'https://api-c.walletlabels.xyz/solana/search?searchtext=nft&limit=1' \
--header 'Content-Type: application/json' \
--header 'x-api-key: demo-api-key-x-00000'
{
  "data": [
    {
      "address": "8jJo9ZFB9QiDA2UP7TAK8Vr4JxUVTiCLoVZHjauK8g2c",
      "address_name": "nft nft nft",
      "label_type": "nft",
      "label_subtype": "nft",
      "label": "nft nft nft"
    }
  ]
}