{"uid":"cap_Cr5aZ_o3mbBdophc88aJt","slug":"delx-commerce-hmac-sha256-hex-digest-api-60c68b89","name":"Delx Commerce HMAC-SHA256 Hex Digest API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/hmac-sha256-hex?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."},"secret":{"type":"string","description":"Input field: secret."}}},"responseSchema":{"type":"json","example":{"hex":"5d98b45c90a207fa998ce639fea6f02ecc8cc3f36fef81d694fb856b4d0a28ca","schema":"delx/util-hmac-sha256-hex/v1","algorithm":"hmac-sha256"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KdsN3SNhG3fZTq-FSRJzw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes an HMAC-SHA256 hex digest of an input text using a provided secret key, payable per-call via USDC.","exampleAgentPrompt":"Compute an HMAC-SHA256 hex digest for the message 'order:12345:confirmed' using the secret key 'mysecretkey42'.","exampleUseCases":[{"title":"Webhook signature verification","prompt":"Generate an HMAC-SHA256 hex signature for the payload '{\"event\":\"payment.completed\",\"amount\":100}' using the secret 'wh_secret_abc123' so I can compare it to the signature in the incoming webhook header."},{"title":"API request signing for authentication","prompt":"I need to sign the string 'GET/api/orders/2024-06-01' with the secret 'api_secret_xyz' using HMAC-SHA256 to authenticate my outgoing API request."},{"title":"Data integrity token generation","prompt":"Create an HMAC-SHA256 hex hash of the string 'user_id=987&action=transfer&amount=50' with secret 'integrity_key_99' so I can attach it to a form submission for tamper detection."}],"resultDescription":"Returns a JSON object containing the hex-encoded HMAC-SHA256 digest of the input text, along with the algorithm name ('hmac-sha256') and schema version string ('delx/util-hmac-sha256-hex/v1').","failureModes":["Missing 'text' or 'secret' fields returns an error","Empty string inputs may produce valid but trivially weak digests","Payment failure via x402 (insufficient USDC balance) blocks the request","Network timeout results in no digest returned","Invalid JSON body returns a parsing error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call HMAC-SHA256 computation without managing infrastructure or signing up for an account, especially in agentic or automated workflows that already use x402/USDC micropayments on Base or Solana. It is ideal for one-off or low-volume cryptographic signing tasks within agent pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:59.431Z","isFirstParty":false,"canonicalSlug":"delx-commerce-hmac-sha256-hex-digest-api-60c68b89"}