Available
Checks if a username is available for a given ENS domain
Query parameters
subnamestringRequiredExample:
The subname
user.justan.id
chainIdnumberRequiredExample:
Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)
1
Responses
200
Subname was fetched successfully.
application/json
Responseall of
get
GET /ens/v1/subname/available HTTP/1.1
Host: api.justaname.id
Accept: */*
200
Subname was fetched successfully.
{
"statusCode": 200,
"result": {
"data": {
"isAvailable": false
},
"error": "text"
}
}
Was this helpful?