Api Endpoint

nostr.halowerk.com

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.

Open interactive test console

Offering

Provider
nostr.halowerk.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://nostr.halowerk.com/key-convert
MIME type
Not provided
First seen
2026-10-16T01:58:26.121Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E"
  }
]

Observed health

Status
Healthy
Latest latency
316 ms
Average latency
667 ms
HTTP status
204
Last checked
Reachability
100% over 8 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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"
}

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"
}