nprofile Decoder

Extract pubkey + relay hints from nprofile TLV — 5 sats

About

Decode a Nostr nprofile1... identifier. Returns the canonical hex pubkey plus any relay hints embedded in TLV records.

Try It

5 sats via L402.

API Usage

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

Sample Response

{
  "ok": true,
  "nprofile": "nprofile1...",
  "hex_pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
  "relays": ["wss://relay.damus.io"]
}
Also available via MCP at maximumsats.com/mcp