smrtspace.net domain registration
Endpoint: https://btmxj6a37x6zto2vrqkpjq4hqbsltvwulvovtf4nirhib66r5wrvkkid.onion/api.php
Method: HTTP POST
Content-Type: application/json
{
"method": "domain_register",
"params": { ... }
}
Success:
{ "result": { ... } }
Error:
{ "error": { "code": -32602, "message": "Invalid domain name" } }
| Code | Meaning |
|---|---|
-32600 | Invalid request format |
-32601 | Method not found |
-32602 | Invalid parameters |
-32000 | Application error (see message) |
-32603 | Internal server error |
Returns current pricing and available zones. No parameters.
{ "method": "price", "params": {} }
Result:
{
"zones": ["smrtspace.net"],
"per_day": "0.05",
"per_month": "1.00",
"currency": "USDT",
"min_days": 1,
"max_days": 365
}
Register a domain. Requires a signed BB invoice for the exact amount.
| Param | Type | Description |
|---|---|---|
name | string | 1–63 chars, a–z, 0–9, hyphen |
zone | string | |
period | string | days or months |
value | int | Number of days or months |
signed_invoice | object | Signed BB invoice |
Result:
{
"domain": "mysite.smrtspace.net",
"secret": "a3f9...",
"expires_at": 1748000000,
"receipt": "..."
}
Save the secret — it is the only proof of ownership and cannot be recovered.
The receipt is an encrypted BB envelope. Decrypt with your private key to get the updated balance.
Extend a domain's expiration. No secret required — anyone can renew.
| Param | Type | Description |
|---|---|---|
name | string | |
zone | string | |
period | string | days or months |
value | int | |
signed_invoice | object | Signed BB invoice |
Result: {"expires_at": 1748000000, "receipt": "..."}
Replace all DNS records for the domain. Requires secret.
| Param | Type | Description |
|---|---|---|
name | string | |
zone | string | |
secret | string | Ownership token |
records | array | DNS records, max 10 |
Record format: {"type": "A", "content": "1.2.3.4"}
Allowed types: A, AAAA, CNAME, TXT
Result: {}
Get expiration date and current DNS records. Requires secret.
| Param | Type | Description |
|---|---|---|
name | string | |
zone | string | |
secret | string | Ownership token |
Result:
{
"domain": "mysite.smrtspace.net",
"expires_at": 1748000000,
"records": [
{"type": "A", "content": "1.2.3.4"},
{"type": "TXT", "content": "\"v=spf1 ~all\""}
]
}
Delete the domain and all its DNS records. Requires secret. No refund.
| Param | Type | Description |
|---|---|---|
name | string | |
zone | string | |
secret | string | Ownership token |
Result: {}