Address → Cluster

To enable testnet querying on Sepolia, add ?testnet=true to the end of the URL

Get name

GET /v0.1/name/:address

Get the cluster and wallet name based on an address

Example

https://api.clusters.xyz/v0.1/name/0x5755d1dcea21caa687339c305d143e6e78f96adf

Response

clusters/main

Bulk get names

POST /v0.1/name/addresses

Get the cluster and wallet name based on multiple addresses

Example

curl -X POST \
  'http://api.clusters.xyz/v0.1/name/addresses' \
  --data-raw '[
  "0x5755d1dcea21caa687339c305d143e6e78f96adf",
  "0xccdead94e8cf17de32044d9701c4f5668ad0bef9"
]'

Response

Any addresses not found will have name: null

[
  {
    "address": "0x5755d1dcea21caa687339c305d143e6e78f96adf",
    "name": "clusters/main"
  },
  {
    "address": "0xccdead94e8cf17de32044d9701c4f5668ad0bef9",
    "name": "layerzero/main"
  }
]

Last updated