{"uid":"cap_EEUYk-fqyatuPK3cEHpl-","slug":"sha-256-hash-4d839566","name":"SHA-256 Hash","description":"60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/util/sha256","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"Plain text, or a 0x-prefixed hex payload to hash as bytes."}}},"responseSchema":{"type":"object","properties":{"hex":{"type":"string"},"base64":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M4Ki5ssx8imuA8ADCsS7o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the SHA-256 hash of any string or hex-encoded byte payload, returning the digest as both hex and base64.","exampleAgentPrompt":"Hash the string 'hello' using SHA-256 and give me both the hex and base64 versions of the digest.","exampleUseCases":[{"title":"API request signature generation","prompt":"I need to sign an API request — can you compute the SHA-256 hash of the string 'timestamp=1700000000&nonce=abc123' so I can include it in the Authorization header?"},{"title":"File integrity checksum","prompt":"Compute the SHA-256 hash of this hex payload 0xdeadbeefcafebabe so I can verify the file hasn't been tampered with."},{"title":"Content addressing for storage","prompt":"I'm storing a document and want to use its SHA-256 hash as its unique content address — can you hash the string 'The quick brown fox jumps over the lazy dog' and give me the hex digest?"}],"resultDescription":"A JSON object containing two fields: 'hex' (the SHA-256 digest as a 0x-prefixed hex string, e.g. 0x2cf24dba...) and 'base64' (the same digest base64-encoded, e.g. LPJNul+w...).","failureModes":["Missing or empty 'input' field returns an error","Malformed 0x-prefixed hex (odd length or non-hex characters) may cause parsing errors","Extremely large payloads may time out or be rejected by the worker","Network errors or worker downtime return 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need SHA-256 specifically (file digests, content addressing, API signature schemes, S3 checksums, JWT verification) rather than Keccak-256 (which is Ethereum's native hash). Use this when you need both hex and base64 output in a single call without running your own hashing library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:59:28.795Z","isFirstParty":false}