# TON DNS Resolver

> TON DNS Resolver is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Resolve a .ton domain name to its TON wallet address, or reverse-lookup a TON wallet address to its .ton domain name.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/ton-dns?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ton-dns-resolver-690ae485
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Eo9q104RfpOYDQET8KGgJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ton-dns-resolver-690ae485 -d '<json body>'
```

Example prompt: What wallet address does foundation.ton resolve to on the TON blockchain?

## When to prefer this

Use this endpoint when you need to resolve TON blockchain DNS names to wallet addresses or perform reverse lookups on TON addresses. It is the right choice for any workflow involving TON network identity resolution, sending funds to human-readable .ton names, or verifying domain-to-address mappings on the TON blockchain. Prefer this over generic DNS tools which do not support the TON DNS protocol.

## Known failure modes

- Domain does not exist or is not registered — returns null fields
- Invalid query format (neither valid .ton domain nor valid TON address) — validation error
- Domain registered but not linked to a wallet — wallet field returns null
- Network or DNS resolution timeout — API error response
- Malformed address input — may return error or null results

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

Returns a JSON object containing the resolved .ton domain name (if reverse lookup), the associated TON wallet address (raw format, e.g. 0:83DFD552...), and the NFT owner address of the domain. Any field may be null if not found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "domain": "foundation.ton",
  "wallet": "0:83DFD552E63729B472FCBCC8C45EBCC6691702558B68EC7527E1BA403A0F31A8",
  "nft_owner": "0:9DA971AF38D2F03ABDF308D5F91636A97E5A2B07A66C39D71D7CBAE3B032EDDC"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ton-dns-resolver-690ae485/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
