{"uid":"cap_Kcqlk1s07wQekKZe_PX2i","slug":"x402-hash-api-198996b1","name":"x402 Hash API","description":"SHA-256 or SHA-512 digest of input bytes","url":"https://x402-hash-api.vercel.app/api/v1/hash","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"payload to hash"},"encoding":{"type":"string","description":"utf8 | hex | base64"},"algorithm":{"type":"string","description":"sha256 or sha512"}}},"responseSchema":null,"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_6da2PtYDmIkCWvdAE5NZk","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 SHA-256 or SHA-512 cryptographic hash digests of input data with configurable encoding","exampleAgentPrompt":"Hash the string 'hello world' using SHA-256 with utf8 encoding and give me the digest.","exampleUseCases":[{"title":"Content integrity fingerprinting","prompt":"Take this JSON payload and compute its SHA-256 hash in utf8 encoding so I can use it as an integrity fingerprint before storing it."},{"title":"Password pre-hashing for audit log","prompt":"Hash this utf8 string 'user-session-token-abc123' with SHA-512 — I need the digest for an audit record."},{"title":"Base64 data digest generation","prompt":"I have a base64-encoded blob and need its SHA-256 digest — can you hash it with base64 encoding selected?"}],"resultDescription":"Returns the cryptographic hash digest of the submitted input as a hex string, computed using either SHA-256 or SHA-512 depending on the selected algorithm and input encoding (utf8, hex, or base64).","failureModes":["Missing or empty 'data' field returns a validation error","Unsupported algorithm value (not sha256 or sha512) returns an error","Invalid encoding value (not utf8, hex, or base64) returns a bad request response","Malformed base64 or hex input string causes a decoding error","Oversized payloads may be rejected with a request too large error"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call cryptographic hashing service without spinning up infrastructure. It is ideal for agents that need occasional SHA-256 or SHA-512 digests on-demand, support multiple input encodings, and want a minimal-cost ($0.001 USDC) serverless option without maintaining a local hashing library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:04.982Z","isFirstParty":false}