the402 endpoint detail

← All endpoints

nostr.halowerk.com key-convert

https://nostr.halowerk.com/key-convert

answers 402

Takes any public NIP-19 identifier or a 64-character hex value and returns every representation it can be expressed as. A decoded nprofile or nevent yields not only the key or event id but also the relay hints, the author and the kind that the TLV form carries — precisely the fields that make a follow-up query targeted, and precisely what is lost by code that only handles npub.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
578 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:22:50.000Z (21d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fnostr.halowerk.com%2Fkey-convert"