Takes any public NIP-19 identifier or a 64-character hex value and returns every
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.
Answeringour last check, 2026-10-10
1 of 1checks answered this week
898 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://nostr.halowerk.com/key-convert
| Category | Code and developer |
|---|---|
| Provider host | nostr.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.001 | 898 ms |
Example input (from the provider)
{
"body": {
"input": "beispiel"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$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"
}