{"uid":"cap_XWmbmfiv_W2GziOTSi-MO","slug":"sha-hash-digest-generator-69a08778","name":"SHA Hash Digest Generator","description":"Compute a SHA-256, SHA-384, or SHA-512 digest of UTF-8 text; returns hexadecimal output (default SHA-256).","url":"https://apex-edge-coral.vercel.app/api/v1/util/hash?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{"algo":{"type":"string"},"input":{"type":"string"}}}}},"output":{"type":"object","properties":{"example":{"status":"ok"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_buozNNPtCP5ZsXsyRIKoF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a cryptographic hash digest of an input string using a specified algorithm","exampleAgentPrompt":"Can you hash the string 'hello world' using SHA-256 and give me the digest?","exampleUseCases":[{"title":"Verify file integrity checksum","prompt":"Hash this string 'abc123filecontents' using SHA-256 so I can compare it against a known checksum to make sure my data wasn't corrupted."},{"title":"Password hashing for storage","prompt":"Give me the SHA-512 hash of the string 'MySecretPassword!' so I can see what the digest looks like before storing it."},{"title":"Deduplicate content by hash","prompt":"Compute an MD5 hash of this text 'The quick brown fox jumps over the lazy dog' so I can use it as a unique fingerprint for deduplication."}],"resultDescription":"Returns a JSON object with a status field and the computed hash digest of the provided input string using the specified algorithm (e.g. SHA-256, SHA-512, MD5).","failureModes":["Missing required 'input' query parameter returns an error","Unsupported or misspelled algorithm name may return an error or unexpected result","Empty input string may produce a valid hash of an empty value or an error","Network timeout or Vercel cold-start latency on rare occasions"],"whenToPreferThis":"Use this endpoint when you need a quick, on-demand cryptographic hash of a string via an HTTP GET call, especially in agentic or x402 micropayment-enabled workflows where spinning up a local crypto library is not practical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T00:39:23.432Z","isFirstParty":false,"canonicalSlug":"sha-hash-digest-generator-69a08778"}