Skip to main content
GET
/
v2
/
dns
/
{domain_name}
cURL
curl --request GET \
  --url https://tonapi.io/v2/dns/{domain_name}
{
  "name": "<string>",
  "expiring_at": 123
}

Path Parameters

domain_name
string
required

domain name with .ton or .t.me

Example:

"wallet.ton"

Response

domain info

name
string
required
expiring_at
integer<int64>

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

item
object