{"uid":"cap_mIBXcePdYqc0rbgb_pPRh","slug":"api-x402node-dev-da5f7316","name":"HMAC Calculator API","description":"HMAC calculator, HMAC-SHA256 SHA512 SHA1 MD5, message authentication code, hash with secret, signed hash, API request signing, webhook signature, JWT signature. Compute HMAC of a message with a secret key using any standard hash algorithm. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/crypto/hmac","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["secret"],"properties":{"algo":{"type":"string","description":"Algo (optional)"},"secret":{"type":"string","description":"Secret (required)"},"message":{"type":"string","description":"Message (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gJLQOXdnJ27K_SWdT_A0G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","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) for a given message and secret key using a specified hash algorithm (SHA-256, SHA-512, SHA-1, or MD5).","exampleAgentPrompt":"Compute the HMAC-SHA256 of the message 'order_id=12345&amount=99.99' using the secret key 'my-webhook-secret-key' so I can verify this webhook payload.","exampleUseCases":null,"resultDescription":"Returns the HMAC digest as a hex-encoded string computed from the provided message and secret key using the specified hash algorithm (SHA-256, SHA-512, SHA-1, or MD5).","failureModes":["Missing message or secret key returns 400 error","Invalid or unsupported algorithm name returns 400 error","Empty message or empty secret key may return error or zero-length digest","Network timeout or service unavailability returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need to compute or verify an HMAC for webhook signature validation, API request signing, or any scenario requiring keyed message authentication. Prefer over a plain hash endpoint when a secret key is required to authenticate the origin of a message.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:58:18.638Z","isFirstParty":false}