Wallets API

Which wallet does this .crypto, .x or .nft name point to?

Resolves a blockchain domain name such as brad.crypto, sandy.x or sandy.nft to the ETH address its record holds; null when the name sets none.

GET/api/external/wallet-analysis/domain-resolution/{chain}/{name}

What it returns

Resolves a blockchain domain name such as brad.crypto, sandy.x or sandy.nft to the ETH address its record holds. address is null when the name is registered but sets no ETH address. The name is case-insensitive and answered lowercase. An unregistered name is a 404; a name ending this lookup does not serve is a 400. .eth and .sol names are answered by name-resolution, and are a 400 here.

Chains

  • Ethereum ETH

Request

Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.

curl -H "x-dex-data-key: $DEXDATA_API_KEY" \
  "https://api.dexdata.io/api/external/wallet-analysis/domain-resolution/ETH/<name>"
Parameters
ParameterDescription
chain

path · string · required

The chain whose name service registered the name. ETH only; every other chain returns 400.
name

path · string · required

The on-chain name: on SOL a .sol name, e.g. "bonfida.sol" — the ".sol" suffix may be left off; the top-level name is case-insensitive, a subdomain label is matched as written. On ETH and BASE an ENS name ending ".eth", e.g. "vitalik.eth" or "jesse.base.eth", case-insensitive.

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of Which wallet does this .crypto, .x or .nft name point to?
FieldTypeDescription
namestringThe name, lowercase.
addressstring | nullThe address the name's ETH record holds, lowercase. null when the name sets none.

Start building with DexData today

Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.

Get a free API key