> For the complete documentation index, see [llms.txt](https://docs-unified.crypto-chief.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-unified.crypto-chief.com/api-reference/names.md). Agents can also search and read this documentation through its [MCP server](https://docs-unified.crypto-chief.com/~gitbook/mcp).

# Names

## Names

### Resolve a name

`GET /v1/names/{name}`

Resolves a blockchain name to the address it points to.

| Service   | Names   | Network          |
| --------- | ------- | ---------------- |
| `ens`     | `*.eth` | `ETH_MAINNET`    |
| `ton_dns` | `*.ton` | `TON_MAINNET`    |
| `sns`     | `*.sns` | `SOLANA_MAINNET` |

| Parameter | In   | Type   | Required | Description                                              |
| --------- | ---- | ------ | -------- | -------------------------------------------------------- |
| `name`    | path | string | Yes      | The name: `vitalik.eth`, `foundation.ton`, `bonfida.sns` |

```bash
curl -s "https://api-unified.crypto-chief.com/v1/names/vitalik.eth" \
  -H "X-API-Key: $CC_API_KEY"
```

```json
{
  "name": "vitalik.eth",
  "service": "ens",
  "network": "ETH_MAINNET",
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "records": {
    "com.twitter": "VitalikButerin",
    "url": "https://vitalik.eth.limo"
  }
}
```

| Field     | Description                                                                             |
| --------- | --------------------------------------------------------------------------------------- |
| `name`    | The name as queried                                                                     |
| `service` | `ens`, `ton_dns` or `sns`                                                               |
| `network` | Network the name lives on                                                               |
| `address` | The canonical address it resolves to, or `null` when the name exists but points nowhere |
| `records` | Other text and address records of the name                                              |

A name that is not registered is `404 NOT_FOUND`; a name of an unsupported service is `422 UNSUPPORTED_CAPABILITY`. Solana Name Service names are resolved with the `.sns` suffix; `.sol` names are not resolved.

The reverse direction — the names of an address — is [`GET /v1/addresses/{address}?include=names`](https://docs-unified.crypto-chief.com/api-reference/addresses.md).
