{"slug":"nostr-halowerk-com-key-convert-b7cbba","title":"Takes any public NIP-19 identifier or a 64-character hex value and returns every","host":"nostr.halowerk.com","method":"POST","resource":"https://nostr.halowerk.com/key-convert","category":"code","description":"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 foll","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":898,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"input":"beispiel"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"assume":{"default":"both","description":"How to read bare hex. Ignored for bech32 input, which is unambiguous.","enum":["pubkey","event_id","both"],"type":"string"},"author":{"description":"Author public key as hex or npub, for building an nevent or naddr.","type":"string"},"identifier":{"description":"The d tag value for building an naddr. Requires author and kind.","maxLength":200,"type":"string"},"input":{"description":"npub, note, nprofile, nevent, naddr, or 64 hex characters.","type":"string"},"kind":{"description":"Event kind for the generated nevent or naddr.","maximum":65535,"minimum":0,"type":"integer"},"relays":{"description":"wss relay hints to embed in the generated nprofile, nevent or naddr.","items":{"type":"string"},"maxItems":8,"type":"array"}},"required":["input"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":898,"error":null}],"description_full":"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.","last_updated":"2026-10-08T12:49:27.74Z","schemes":["exact"]}