DNS

Get full information about domain name

get/v2/dns/{domain_name}

Path parameters

domain_namestring required
Example:wallet.ton

domain name with .ton or .t.me

Response

domain info

expiring_atinteger

date of expiring. optional. not all domain in ton has expiration date

namestring required

Example response

{
  "item": {
    "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
    "approved_by": [
      "getgems"
    ],
    "collection": {
      "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
      "description": "Best collection in TON network",
      "name": "TON Diamonds"
    },
    "dns": "crypto.ton",
    "index": 58,
    "metadata": {},
    "owner": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "icon": "https://ton.org/logo.png",
      "is_scam": true,
      "is_wallet": true,
      "name": "Ton foundation"
    },
    "previews": [
      {
        "resolution": "100x100",
        "url": "https://site.com/pic1.jpg"
      }
    ],
    "sale": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "market": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "icon": "https://ton.org/logo.png",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation"
      },
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "icon": "https://ton.org/logo.png",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation"
      },
      "price": {
        "currency_type": "jetton",
        "decimals": 9,
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
        "token_name": "Gram",
        "value": "123000000000",
        "verification": "whitelist"
      }
    },
    "trust": "whitelist",
    "verified": true
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.