{"uid":"cap_iCqg21UPe-5b3lf7DnWbd","slug":"47620-string-hash-api-c003a098","name":"47620 String Hash API","description":"Deterministic hash of a string: sha256 (default), sha512, md5, or blake2b512. Returns hex. CPU-only, instant.","url":"https://47620.xyz/agent/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","properties":{"fields":{"type":"string","description":"Optional comma-separated top-level response keys to keep (e.g. \"health,slot,solUsd\"). Omit for the full payload."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["ok","endpoint"],"properties":{"ok":{"type":"boolean"},"endpoint":{"type":"string"}},"additionalProperties":true}},"additionalProperties":false}}},"responseSchema":null,"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_9UdZyC-7c5-wgupJGGuSS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a deterministic cryptographic hash (SHA-256, SHA-512, MD5, or BLAKE2b-512) of a given string and returns the result as a hex string.","exampleAgentPrompt":"Can you compute the SHA-256 hash of the string 'hello world' and give me the hex result?","exampleUseCases":[{"title":"Integrity check before data storage","prompt":"Hash this string with SHA-256 so I can store the digest alongside the record to verify integrity later: 'user:alice:2024-06-01T12:00:00Z'"},{"title":"Deduplication fingerprinting","prompt":"Give me the MD5 hash of 'invoice_2024_07_acme_corp' — I want to use it as a deduplication key in my pipeline."},{"title":"Cross-system checksum verification","prompt":"Compute the BLAKE2b-512 hash of 'transfer:0xabc123:500USDC:2024-08-15' so I can compare it against the checksum the other system sent me."}],"resultDescription":"Returns a JSON object with a boolean 'ok' field indicating success, the 'endpoint' identifier, and the hex-encoded hash digest of the input string using the requested algorithm. The digest is deterministic — identical inputs always produce identical outputs.","failureModes":["Missing required 'input' parameter returns an error response","Unsupported algorithm name returns an error","Empty string input may return a hash of empty string (valid but potentially unintended)","Network or payment failure (x402) prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a fast, CPU-only, deterministic hash of a string with no external dependencies — especially useful for checksums, deduplication keys, data integrity verification, or fingerprinting within agent workflows. It supports four common algorithms (SHA-256, SHA-512, MD5, BLAKE2b-512) and returns hex, making it directly usable without further encoding. Prefer over building local hash logic when working within a payment-enabled agent pipeline that already uses x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:31:01.284Z","isFirstParty":false,"canonicalSlug":"47620-string-hash-api-c003a098"}