{"uid":"cap_8j4OWITiHqjn4jUVP0w2R","slug":"text-hash-sha-256-sha-1-sha-512-sha-384-c3ae2147","name":"Text Hash (SHA-256/SHA-1/SHA-512/SHA-384)","description":"Text hashes: SHA-256, SHA-1, SHA-512 and SHA-384 hex digests of the exact text you send (UTF-8), plus its byte length. Deduplication keys, integrity checks and fingerprints. $0.01 per call.","url":"https://intel.rallylive.ca/data/hash","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":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LcnLwn_sGvnacvRgYNQ_8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns SHA-256, SHA-1, SHA-512, and SHA-384 hex digests plus byte length of any UTF-8 text string","exampleAgentPrompt":"Compute the SHA-256, SHA-1, SHA-512, and SHA-384 hex digests and byte length for this exact text: 'Hello, world! This is my input string.'","exampleUseCases":[{"title":"Deduplication key for content pipeline","prompt":"I need a stable deduplication key for this article body — can you hash it with SHA-256 so I can detect if the same text shows up again? The text is: 'Breaking news: markets rallied today as inflation data came in below expectations.'"},{"title":"Integrity fingerprint before storing data","prompt":"Before I store this user-submitted comment in the database, hash it so I have a SHA-256 fingerprint I can use later to verify it hasn't been tampered with. The comment is: 'This product changed my life — highly recommend to everyone!'"},{"title":"Cross-check file text against known digest","prompt":"I have this plain text: 'Terms and Conditions v3.2 — effective January 1 2025.' Can you give me its SHA-512 hex digest so I can compare it against the checksum we published last month?"}],"resultDescription":"A JSON object containing four hex digest strings (SHA-256, SHA-1, SHA-512, SHA-384) computed over the exact UTF-8 bytes of the input text, along with the byte length of the input. All four digests are returned in a single response.","failureModes":["Missing 'input' query parameter returns an error","Empty string input may return zero-byte hashes","Non-UTF-8 encoding edge cases may cause unexpected byte length","Payment failure (x402) if USDC balance is insufficient","Timeout or 5xx from upstream service under load"],"whenToPreferThis":"Use this endpoint when you need multiple standard hash digests (SHA-256, SHA-1, SHA-512, SHA-384) computed simultaneously for a single text value in one round trip, without deploying a local hashing library. It is ideal for agent workflows needing deduplication keys, integrity fingerprints, or checksums over user-supplied or pipeline-generated text without executing arbitrary code locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:39.498Z","isFirstParty":false}