Was this helpful?
Checks if a username is available for a given ENS domain
The subname
user.justan.id
Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)
1
curl -L \ --url 'https://api.justaname.id/ens/v1/subname/available?subname=text&chainId=1'
{ "statusCode": 200, "result": { "data": { "isAvailable": false }, "error": "text" } }