View Categories

Name to Other Fields

< 1 min read

Supported extra fields/parameter by Web3Domain REST API:

  • Profile Name= @name
  • Email address= @email
  • Phone Number = @phone
  • Website URL = @website
  • Extra Notes = @notes
  • Telegram BOT message = @tg_bot

Curl

curl -X 'GET' \
  'https://web3domain.org/api/v1/index.php?domain={DomainName}@email' \
  -H 'accept: application/json'

Request URL

https://web3domain.org/api/v1/index.php?domain={DomainName}@email

Server JSON response

{
"email": "admin@web3domain.org"
}
  • {DomainName} should be replaced by Web3Domain name which is already minted.
  • Response : “invalid” (parameter value is wrong”
  • Response: “error” (Domain not minted or no records assigned.)
  • Requested URL without @ parameter will return full JSON with all the fields available.
  • If you need multiple values, do not use parameter to reduce server queries and for fast response.