{"uid":"cap_4EP1F9upzo6xTuETo2Dln","slug":"hmac-signature-generator-0c4e8a50","name":"HMAC Signature Generator","description":"Compute an HMAC of a message with a key using SHA-256 (default), SHA-1, SHA-384 or SHA-512, in hex and base64. Use to check webhook signatures. The key is used only for this call and is not stored.","url":"https://agent-data-tools.revmesh2074.workers.dev/hmac?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["message","key"],"properties":{"key":{"type":"string","description":"The key"},"message":{"type":"string","description":"The message"},"algorithm":{"type":"string","description":"sha256 (default), sha1, sha384 or sha512"}}},"responseSchema":{"type":"object","properties":{"hex":{"type":"string"},"algorithm":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Rv1c9Lk0WW69kzSdjoqG1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes an HMAC (Hash-based Message Authentication Code) signature for a given message and key using a specified hashing algorithm (SHA-256, SHA-1, SHA-384, or SHA-512)","exampleAgentPrompt":"Compute an HMAC-SHA256 signature for the message 'hello world' using the secret key 'mysecretkey123' and give me the hex digest.","exampleUseCases":[{"title":"Webhook signature verification","prompt":"Generate an HMAC-SHA256 signature for the payload 'user_id=42&event=purchase' using the secret 'webhooksecret99' so I can compare it against the X-Signature header from my payment provider."},{"title":"API request signing","prompt":"I need to sign the string 'GET/api/orders1714000000' with the secret key 'apikey_abc123' using HMAC-SHA512 — what's the hex digest?"},{"title":"Message authentication code for secure channel","prompt":"Produce an HMAC-SHA1 hash of the message 'transfer:500:USD:account9871' using the shared secret 'sharedtokenXYZ' so both sides can confirm the message wasn't tampered with."}],"resultDescription":"Returns a JSON object containing 'hex' (the lowercase hexadecimal HMAC digest string) and 'algorithm' (the hashing algorithm used, e.g. 'sha256'). No authentication token or account is required; the call costs $0.001 USDC on Base via x402 and is only charged on success.","failureModes":["Missing 'message' or 'key' query parameters returns an error","Invalid algorithm value (not sha256/sha1/sha384/sha512) may return an error or default to sha256","Payment failure via x402 results in no charge and no response","Network timeout on Cloudflare Worker edge"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-account, pay-per-call HMAC computation without setting up a crypto library or server-side code. Ideal for AI agents that need to sign a single message on demand, verify webhook authenticity, or produce a keyed digest as part of a larger workflow — especially when already using the Agent Data Tools suite for other operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:32:47.180Z","isFirstParty":false,"canonicalSlug":"hmac-signature-generator-0c4e8a50"}