x402

Generate an HMAC signature of text (JSON body)

HMAC of text with your key (sha256, sha512, sha1, md5). No account or API key. Without PAYMENT-SIGNATURE the response is HTTP 402 with an x402 v2 payment challenge; pay and resend the identical request. Input as query string (GET) or JSON body (POST), max 64 KB; the payment is bound to the exact input. Price: 0.002 USDC per call.

post/api/util/hmac

Request

  • Base URL: https://yruz.one
  • URL: https://yruz.one/api/util/hmac
  • Auth: none required

Headers

PAYMENT-SIGNATUREstring

x402 v2 PaymentPayload (base64 JSON). Omit to receive the 402 payment challenge.

Request body

textstring

message (required)

keystring

secret key (required)

algostring

default sha256

Response

Tool result

toolstring
resultobject

Changes

No recorded changes to this operation across all 1 revision of this API.