{
  "x402Version": 2,
  "id": 56969,
  "slug": "56969",
  "resource": "https://nostr.halowerk.com/key-convert",
  "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 follow-up query targeted, and precisely what is lost by code that only handles npub.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "input": "beispiel"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "nostr.halowerk.com",
  "lastUpdated": "2026-10-08T12:49:27.74Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-08T12:49:27.251Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "input": "beispiel"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          }
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "nostr.halowerk.com",
    "manifest_name": "nostr.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  }
}