The Registry API v1 allows to purchase domains on-chain. No authorization required.
Registry//
- Check domain name availability
Request on-chain purchase parameters
Check domain name availab...
Registry API v1 (2.0.0)
Overview
Unstoppable Domains (Partner Engineering)
Languages
Servers
Production Server
https://api.unstoppabledomains.com/registry/v1/
- Production Serverhttps://api.unstoppabledomains.com/registry/v1/domains/{domainName}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
curl -i -X GET \
https://api.unstoppabledomains.com/registry/v1/domains/beresnev.cryptoResponse
application/json
{ "domain": "string", "availability": { "status": "AVAILABLE", "price": { … } } }
Bodyapplication/jsonrequired
Domain crypto records
Example: {"crypto.ETH.address":"0x6EC0DEeD30605Bcd19342f3c30201DB263291589","crypto.BTC.address":"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"}
- Production Serverhttps://api.unstoppabledomains.com/registry/v1/domains/{domainName}/parameters/purchase
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
curl -i -X POST \
https://api.unstoppabledomains.com/registry/v1/domains/beresnev.crypto/parameters/purchase \
-H 'Content-Type: application/json' \
-d '{
"owner": {
"address": "0x1234567890123456789012345678901234567890"
},
"records": {
"crypto.ETH.address": "0x6EC0DEeD30605Bcd19342f3c30201DB263291589",
"crypto.BTC.address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
},
"currency": "MATIC"
}'Response
application/json
{ "domain": "string", "availability": { "status": "AVAILABLE", "price": { … } }, "tx": { "chainId": 0, "function": "string", "arguments": { … }, "params": { … } } }