nrelay Decoder

Extract normalized relay URL(s) from nrelay TLV — 5 sats

About

Decode a Nostr nrelay1... identifier. Returns normalized WebSocket relay URL(s) from TLV records.

Try It

5 sats via L402.

API Usage

curl -X POST https://maximumsats.com/api/nrelay-decode \
  -H "Content-Type: application/json" \
  -d '{"nrelay":"nrelay1..."}'

Sample Response

{
  "ok": true,
  "nrelay": "nrelay1...",
  "relay": "wss://relay.damus.io/",
  "relays": ["wss://relay.damus.io/"]
}
Also available via MCP at maximumsats.com/mcp