Links
📒

Name API

v0/addresses/:address/names

Does a reverse lookup with the given address for Solana Naming Service domains.
get
https://api.helius.xyz
/v0/addresses/{address}/names
Returns the Solana Naming Service name for a given address.

Example Use Cases

Human-readable domain names are great for social applications and tracking purposes. Some example use cases:
  • Social feeds
  • Wallet tracking
  • Blockchain Explorers
  • Wallet history

Code Samples

getNames.js
const axios = require('axios')
const url = "https://api.helius.xyz/v0/addresses/<address>/names?api-key=<your-key>"
const getNames = async () => {
const { data } = await axios.get(url)
console.log("domain names: ", data)
}
getNames()