{"slug":"api-agent-payload-tools-workers-dev-hmac-0fe246","title":"Create or compare an HMAC using SHA-256, SHA-384, or SHA-512","host":"api.agent-payload-tools.workers.dev","method":"POST","resource":"https://api.agent-payload-tools.workers.dev/hmac","category":"other","description":"Create or compare an HMAC using SHA-256, SHA-384, or SHA-512.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":30,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"algorithm":"SHA-256","input":"message","secret":"shared-secret"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"algorithm":{"description":"Digest algorithm. Defaults to SHA-256.","enum":["SHA-256","SHA-384","SHA-512"],"type":"string"},"expected_hex":{"description":"Optional hexadecimal digest to compare in constant time.","pattern":"^[0-9a-fA-F]*$","type":"string"},"input":{"default":"","description":"UTF-8 message to authenticate.","type":"string"},"secret":{"description":"HMAC secret for this call. It is not stored.","minLength":1,"type":"string"}},"required":["secret"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":30,"error":null}],"description_full":"Create or compare an HMAC using SHA-256, SHA-384, or SHA-512.","last_updated":"2026-09-04T13:25:28.149Z","schemes":["exact"]}