{"uid":"cap_Nup0uuPA9TI9txN-KJR1D","slug":"compute-api-hash-15d12038","name":"Compute API – Hash","description":"Pure computation endpoints paid per call via x402 ($0.001 USDC on Base).","url":"https://compute-api-production-245d.up.railway.app/hash?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"String to hash"},"algorithm":{"enum":["sha256","sha512","md5"],"type":"string"}}},"responseSchema":{"type":"object","properties":{"hash":{"type":"string"}}},"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_vSOXyFaCMix5qnhosYYbz","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":"Hashes a given string using SHA-256, SHA-512, or MD5 and returns the resulting hash value, paid per call via x402 micropayments.","exampleAgentPrompt":"Can you hash the string 'hello world' using SHA-256 and give me the resulting digest?","exampleUseCases":[{"title":"Verify file content integrity","prompt":"Hash the string 'invoice_12345_total_$500' using SHA-256 so I can compare it against the checksum I have on file."},{"title":"Generate password fingerprint","prompt":"Take the text 'MySecureP@ssword2024' and compute its SHA-512 hash for me."},{"title":"Quick MD5 checksum for legacy system","prompt":"I need the MD5 hash of the string 'user:admin:session42' — can you compute that for me?"}],"resultDescription":"Returns a JSON object with a single 'hash' field containing the hex-encoded digest of the input string produced by the specified algorithm (sha256, sha512, or md5). If no algorithm is specified, sha256 is the default.","failureModes":["Missing required 'text' field returns a 400 or validation error","Invalid algorithm value outside the enum (sha256, sha512, md5) returns a validation error","Empty string input may be accepted but yields a hash of the empty string","Payment failure via x402 (insufficient USDC balance or missing payment header) returns 402 Payment Required","Network timeout or service unavailability on Railway returns 5xx"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call cryptographic hash computation without running local code or setting up a library. Ideal for AI agents operating in sandboxed environments where executing native crypto functions is unavailable, or when you want an auditable external hash computation billed via x402 micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:35:19.586Z","isFirstParty":false,"canonicalSlug":"compute-api-hash-15d12038"}