Api Endpoint

nostr.halowerk.com

Three modes over the same event structure. In preimage mode the caller supplies a public key and the event fields; the answer holds the exact NIP-01 serialisation, the SHA-256 event id derived from it and the 32 bytes to sign, so the caller signs locally and no secret key ever crosses the connection.

Open interactive test console

Offering

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

Endpoint context

URL
https://nostr.halowerk.com/event-sign
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
946 ms
HTTP status
204
Last checked
Reachability
100% over 10 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": {
        "content": {
          "default": "",
          "description": "Event content.",
          "maxLength": 64000,
          "type": "string"
        },
        "created_at": {
          "description": "Unix seconds. Left out, the current time is used.",
          "minimum": 0,
          "type": "integer"
        },
        "event": {
          "description": "The complete event to check. Only used in verify mode.",
          "type": "object"
        },
        "kind": {
          "default": 1,
          "description": "NIP-01 event kind. 1 is a text note, 30023 a long-form article.",
          "maximum": 65535,
          "minimum": 0,
          "type": "integer"
        },
        "mode": {
          "default": "preimage",
          "description": "preimage: caller signs locally. ephemeral: single-use key generated here. verify: check a complete event.",
          "enum": [
            "preimage",
            "ephemeral",
            "verify"
          ],
          "type": "string"
        },
        "pubkey": {
          "description": "Public key as hex or npub. Required in preimage mode, ignored otherwise.",
          "type": "string"
        },
        "tags": {
          "description": "NIP-01 tags, each an array of strings, for example [\"t\",\"bitcoin\"].",
          "items": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "maxItems": 200,
          "type": "array"
        }
      },
      "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": {
            "content": {
              "default": "",
              "description": "Event content.",
              "maxLength": 64000,
              "type": "string"
            },
            "created_at": {
              "description": "Unix seconds. Left out, the current time is used.",
              "minimum": 0,
              "type": "integer"
            },
            "event": {
              "description": "The complete event to check. Only used in verify mode.",
              "type": "object"
            },
            "kind": {
              "default": 1,
              "description": "NIP-01 event kind. 1 is a text note, 30023 a long-form article.",
              "maximum": 65535,
              "minimum": 0,
              "type": "integer"
            },
            "mode": {
              "default": "preimage",
              "description": "preimage: caller signs locally. ephemeral: single-use key generated here. verify: check a complete event.",
              "enum": [
                "preimage",
                "ephemeral",
                "verify"
              ],
              "type": "string"
            },
            "pubkey": {
              "description": "Public key as hex or npub. Required in preimage mode, ignored otherwise.",
              "type": "string"
            },
            "tags": {
              "description": "NIP-01 tags, each an array of strings, for example [\"t\",\"bitcoin\"].",
              "items": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "maxItems": 200,
              "type": "array"
            }
          },
          "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"
}