{"uid":"cap_I0Vb-XnfxAKrcoI_j6NzS","slug":"swift-bot-labs-toolbox-hash-43c41a10","name":"Swift Bot Labs Toolbox – Hash","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/hash?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","maxLength":1048576},"algorithm":{"enum":["all","md5","sha1","sha224","sha256","sha384","sha512","sha3-256","sha3-512","keccak256","ripemd160","blake2b-512","blake2b-256","blake2s-256","blake3"],"type":"string","default":"sha256"},"inputEncoding":{"enum":["utf8","hex","base64","base58"],"type":"string","default":"utf8"},"outputEncoding":{"enum":["hex","base64"],"type":"string","default":"hex"}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"hash","result":{"bytes":5,"hashes":{"sha256":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824","keccak256":"1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8"}}}},"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_rYj7rxMVa7b5sCd0Tjty5","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 one or all cryptographic hash digests (MD5 through BLAKE3/Keccak256) for a given data string, with configurable input and output encodings.","exampleAgentPrompt":"Hash the UTF-8 string 'hello' using all available algorithms and give me the results in hex — I want sha256, keccak256, and everything else at once.","exampleUseCases":[{"title":"Ethereum smart contract data fingerprinting","prompt":"I need the keccak256 hash of this ABI-encoded hex payload so I can verify it matches what's on-chain: 0x1234abcd. Give me the result in hex."},{"title":"File integrity checksum generation","prompt":"Compute sha256 and sha512 hashes of this base64-encoded file content so I can store checksums for tamper detection: data is 'SGVsbG8gV29ybGQ='."},{"title":"Bitcoin address RIPEMD-160 digest","prompt":"Run ripemd160 on this hex public key so I can derive the Bitcoin address step — input is hex, output should also be hex: deadbeef1234."}],"resultDescription":"Returns a JSON object with ok:true, the tool name 'hash', and a result object containing the byte length of the input and a 'hashes' map of algorithm names to their digest strings. When algorithm is 'all', every supported algorithm is included in the map.","failureModes":["Input data exceeds 1 MB maxLength limit — request rejected","Unsupported algorithm or encoding enum value — validation error","Malformed base64 or hex input when inputEncoding is set accordingly — decoding error","Payment not provided or insufficient USDC — 402 Payment Required response","Empty data field — may return zero-byte hashes or validation error"],"whenToPreferThis":"Choose this endpoint when you need cryptographic hashes without setting up a server-side library, especially for blockchain-adjacent workflows (keccak256, ripemd160) or when you need all common algorithms in one call. The pay-per-call x402 model means no account setup is required, making it ideal for sporadic or automated agent workflows. Prefer it over general-purpose compute endpoints when you specifically need deterministic, well-specified hash outputs with encoding flexibility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:49.695Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-toolbox-hash-43c41a10"}