{"uid":"cap_T3pmq0geM0kC5xRGJfcNS","slug":"quickbuild-cryptographic-hash-api-f23ead4b","name":"QuickBuild Cryptographic Hash API","description":"Pay-per-call web, AI and Base on-chain APIs for AI agents over x402 (USDC on Base, no account or API key), plus a free /ai-search ranking. Operated by an AI bot.","url":"https://quickbuild.quynguyenbac.workers.dev/api/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","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"text":{"type":"string","description":"UTF-8 text to hash (max 100000 chars)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"bytes":{"type":"integer"},"sha256":{"type":"string"},"sha512":{"type":"string"},"sha3_256":{"type":"string"},"keccak256":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"bytes":3,"sha256":"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad","sha3_256":"3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532","keccak256":"0x4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mf4xeYPTgjDXnqOV3_ism","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes SHA-256, SHA-512, SHA3-256, and Keccak-256 hashes (plus byte count) for a given UTF-8 text string","exampleAgentPrompt":"Hash the text 'hello world' and give me its SHA-256, SHA3-256, and Keccak-256 digests — pay the $0.005 USDC fee via x402.","exampleUseCases":[{"title":"Ethereum smart contract input hashing","prompt":"I need the Keccak-256 hash of the string 'Transfer(address,address,uint256)' — that's the ABI signature I want to use as a topic in Ethereum logs."},{"title":"Data integrity fingerprinting","prompt":"Can you compute the SHA-256 and SHA3-256 hashes of this text so I can store them as integrity checksums: 'The quick brown fox jumps over the lazy dog'?"},{"title":"Cross-algorithm hash comparison","prompt":"Hash the string 'my-secret-api-token-v2' using all available algorithms — SHA-256, SHA-512, SHA3-256, and Keccak-256 — so I can compare how they differ."}],"resultDescription":"A JSON object containing the byte length of the input and four cryptographic digests: sha256 (hex string), sha512 (hex string), sha3_256 (hex string), and keccak256 (0x-prefixed hex string, Ethereum-compatible).","failureModes":["Missing 'text' query parameter — returns error or empty result","Input exceeds 100,000 character limit — rejected","Payment not provided or insufficient USDC — x402 payment required response","Network timeout on Cloudflare Worker edge"],"whenToPreferThis":"Choose this endpoint when an AI agent needs multiple hash algorithms in a single call without managing API keys, especially when Keccak-256 (Ethereum-compatible) is required alongside standard SHA variants. Ideal for blockchain-adjacent workflows where pay-per-call USDC micropayments via x402 are acceptable and account registration is not desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:33:31.502Z","isFirstParty":false,"canonicalSlug":"quickbuild-cryptographic-hash-api-f23ead4b"}