{"uid":"cap_7SCZPtKyOAYPZZfgSQ-Vr","slug":"cryptographic-hash-api-062a2b22","name":"Cryptographic Hash API","description":"Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.","url":"https://agent-chain-kit-solana.vercel.app/v1/hash?utm_source=zero.xyz","method":"POST","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"algorithm":{"enum":["sha256","sha512","sha1","md5"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hex":"2cf24dba5fb0a30e...","bytes":5,"base64":"LPJNul+wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ=","algorithm":"sha256"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kCCeNZrZEglAtPim90QDn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Hashes a text string using a selectable algorithm (SHA-256, SHA-512, SHA-1, or MD5) and returns the hex digest, base64 encoding, and byte count","exampleAgentPrompt":"Can you compute the SHA-256 hash of the text 'hello world' and give me both the hex and base64 versions?","exampleUseCases":[{"title":"Integrity fingerprint for pipeline artifact","prompt":"Hash the string 'build-artifact-v2.3.1-main' with SHA-256 so I can store a deterministic fingerprint to verify it later."},{"title":"MD5 checksum for legacy compatibility","prompt":"I need an MD5 hash of the text 'user:admin:password123' — give me the hex digest and base64 output."},{"title":"SHA-512 digest for security audit","prompt":"Generate a SHA-512 hash of the string 'sensitive-log-entry-2024-06-01' so I can include it as a tamper-evident record in my audit trail."}],"resultDescription":"A JSON object containing the hex-encoded hash digest, the base64-encoded hash, the input byte length, and the algorithm used (e.g. sha256).","failureModes":["Missing required 'text' query parameter returns a validation error","Unsupported algorithm value (not sha256/sha512/sha1/md5) returns a 400 error","Empty string input may return a valid hash of zero bytes","Payment not provided or insufficient triggers a 402 Payment Required response","Method must be GET, HEAD, or DELETE; POST or PUT returns 405"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call cryptographic hash of a text string without setting up an API key. Ideal for AI agents needing deterministic fingerprinting, integrity verification, or checksums on-the-fly using standard algorithms (SHA-256, SHA-512, SHA-1, MD5) within a micropayment workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:49:39.014Z","isFirstParty":false,"canonicalSlug":"cryptographic-hash-api-062a2b22"}