Skip to main content
GET
/
v2
/
dns
/
{domain_name}
/
resolve
cURL
curl --request GET \
  --url https://tonapi.io/v2/dns/{domain_name}/resolve
{
  "sites": [
    "http://12234.ton"
  ],
  "wallet": {
    "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
    "account": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "is_scam": true,
      "is_wallet": true,
      "name": "Ton foundation",
      "icon": "https://ton.org/logo.png"
    },
    "is_wallet": true,
    "has_method_pubkey": true,
    "has_method_seqno": true,
    "names": [
      "name"
    ]
  },
  "next_resolver": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "storage": "da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "picture": {
    "url": "<string>",
    "bag_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://tonapi.ness.su/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

domain_name
string
required

domain name with .ton or .t.me

Example:

"wallet.ton"

Query Parameters

filter
boolean
default:false

Response

dns record

sites
string[]
required
wallet
object
next_resolver
string<maybe-address>
Example:

"0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"

storage
string

tonstorage bag id

Example:

"da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"

picture
object