{"uid":"cap_MC8tGzt08PE9G9OXpLQbN","slug":"sha256-sha512-sha3-blake2-cryptographic-hash-api-x402-d9fea711","name":"SHA256/SHA512/SHA3/BLAKE2 Cryptographic Hash API (x402)","description":"41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.","url":"https://x402-micro-pay.com/api/skills/sha256?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"algo":{"enum":["sha256","sha512","sha3_256","blake2b_256"],"type":"string","default":"sha256"},"text":{"type":"string","maxLength":400000},"encoding":{"type":"string","default":"utf-8","maxLength":16}}},"responseSchema":{"type":"json","example":{"ok":true,"hex":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824","algo":"sha256","bytes":5,"skill":"sha256","hex_prefix":"2cf24dba5fb0a30e"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a1sbwPVIRK39cnq1PWcJs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 of input text using SHA-256, SHA-512, SHA3-256, or BLAKE2b-256, returning the hex digest","exampleAgentPrompt":"Compute the SHA-256 hash of the text 'hello world' and give me the hex digest.","exampleUseCases":[{"title":"Document integrity fingerprinting","prompt":"Hash the following contract text using SHA-256 so I can store its fingerprint and verify it hasn't been tampered with later: 'This agreement is entered into on January 1, 2025...'"},{"title":"Blockchain data preparation","prompt":"I need a BLAKE2b-256 hash of this JSON payload before I submit it to the blockchain: '{\"user\":\"alice\",\"amount\":100}'"},{"title":"Password hashing for audit log","prompt":"Generate a SHA-512 hex digest of the string 'mySecretPassword123' using UTF-8 encoding so I can log a non-reversible token for audit purposes."}],"resultDescription":"Returns a JSON object with: ok (boolean success flag), hex (full hex-encoded hash digest), algo (algorithm used), bytes (input byte count), skill (endpoint name), and hex_prefix (first 8 hex characters of the digest).","failureModes":["Text exceeds 400,000 character limit — returns 400 error","Unsupported algorithm specified outside enum — returns validation error","Payment not attached — returns HTTP 402 requiring USDC payment on Base via x402","Invalid encoding specified — returns 400 or defaults to utf-8"],"whenToPreferThis":"Choose this endpoint when you need a deterministic cryptographic hash of a text string with multiple algorithm options (SHA-256, SHA-512, SHA3-256, BLAKE2b-256) and want pay-per-call access with no API key setup. Ideal for AI agents operating with x402 micropayment infrastructure on Base at $0.003/call. Prefer over server-side hashing libraries when the agent runtime lacks native crypto support or when auditability of the hash call is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:41:08.779Z","isFirstParty":false,"canonicalSlug":"sha256-sha512-sha3-blake2-cryptographic-hash-api-x402-d9fea711"}