link.smrtspace.net — anonymous URL shortener
Endpoint: https://6wpail72ofzri3ziuiac5ajqncbkritr6xuvssghclelebfsvbum5cid.onion/api.php
Method: HTTP POST
Content-Type: application/json
{
"method": "link_create",
"params": { ... }
}
Success:
{ "result": { ... } }
Error:
{ "error": { "code": -32602, "message": "Invalid URL" } }
| 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. No parameters.
{ "method": "price", "params": {} }
Result:
{
"per_hour": "0.001",
"currency": "USDT",
"min_hours": 1,
"max_hours": 240
}
Create a short link. Requires a signed BB invoice for the exact amount.
| Param | Type | Description |
|---|---|---|
urls | array | One or more target URLs (max 50). Redirect chosen randomly. |
url | string | Single target URL (alternative to urls) |
hours | int | Link lifetime in hours (1–240) |
signed_invoice | object | Signed BB invoice for per_hour × hours |
Result:
{
"slug": "a3f9kz",
"secret": "e7c2...",
"cn_url": "https://link.smrtspace.net/?a3f9kz",
"onion_url": "https://<onion>/?a3f9kz",
"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 link's expiration. Requires secret and a signed BB invoice.
| Param | Type | Description |
|---|---|---|
slug | string | |
secret | string | Ownership token |
hours | int | Hours to add (1–240) |
signed_invoice | object | Signed BB invoice for per_hour × hours |
Result: {"expires_at": 1748000000, "receipt": "..."}
Replace redirect targets. Requires secret. Free of charge.
| Param | Type | Description |
|---|---|---|
slug | string | |
secret | string | Ownership token |
urls | array | New list of target URLs (max 50) |
Result: {}
Get link details. Requires secret.
| Param | Type | Description |
|---|---|---|
slug | string | |
secret | string | Ownership token |
Result:
{
"slug": "a3f9kz",
"cn_url": "https://link.smrtspace.net/?a3f9kz",
"onion_url": "https://<onion>/?a3f9kz",
"urls": ["https://example.com", "https://mirror.example.com"],
"expires_at": 1748000000
}
Delete the link permanently. Requires secret. No refund.
| Param | Type | Description |
|---|---|---|
slug | string | |
secret | string | Ownership token |
Result: {}