Net
By using Net, you agree to our terms & conditions
hostedon.net
Vanity subdomains, paid over x402
Lease name.hostedon.net for a period and point it at Net-stored content, a redirect, or a hosted site. Pay per hour in USDC over x402 — no account, no card. An agent can buy one autonomously.
How it works
- POST your name and target to the claim endpoint.
- You get back 402 Payment Required with the price (USDC on Base, per hour).
- Pay over x402 and retry — the paying wallet becomes the owner (no separate signature).
- name.hostedon.net goes live for the lease.
Claim
POST https://netprotocol.app/api/subdomains/v1/claim
{
"name": "myapp",
"durationSeconds": 86400, // optional; default 24h, max 2 weeks
"target":
{ "kind": "redirect", "url": "https://example.com" }
| { "kind": "net", "chainId": 8453, "operator": "0x…", "key": "my-site" }
| { "kind": "hosted", "platform": "vercel", "cname": "…" }
}
# → 402 → pay USDC over x402 → retry → myapp.hostedon.net is livePricing: 0.01 USDC/hour (24h = $0.24), up to a 2-week lease. Any x402 client — agent, CLI, or wallet — pays the challenge automatically.
Renew
POST https://netprotocol.app/api/subdomains/v1/renew
{ "name": "myapp", "durationSeconds": 86400 }
# extends the lease → 402 → pay over x402 → doneSame x402 flow; the payer must be the current owner (the wallet that claimed it).