{"uid":"cap_hadvyExcDJfcd9OyxmHmI","slug":"api-x402node-dev-ef37a5ad","name":"Cryptographic Hash API (MD5/SHA-1/SHA-256/SHA-384/SHA-512)","description":"hash sha256 generator, SHA256 hash generator, SHA-256 hash, generate SHA256 hash, SHA-1 SHA-256 SHA-384 SHA-512 hash, MD5 hash generator, cryptographic hash, hex digest, checksum, message digest generator, file integrity hash, content fingerprint. Compute hash of any text using MD5, SHA-1, SHA-256, SHA-384, or SHA-512. Returns hex digest. For AI agents, integrity checks, deduplication, content addressing. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/dev/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","required":["text"],"properties":{"algo":{"type":"string","description":"Algo (optional)"},"text":{"type":"string","description":"Input text (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"text":"Hello, world!","algorithm":"SHA-256"},"response":{"hex":"315f5bdb76d078c43b8ac0064e4a0164612b1fce77c869345bfc94c75894edd3","meta":{"source":"x402node.com"},"_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","input":"Hello, world!","base64":"MV9b23bQeMQ7isAGTkoBZGErH853yGk0W/yUx1iU7dM=","algorithm":"sha256","input_length":13}},"exampleRequest":{"text":"Hello, world!","algorithm":"SHA-256"},"tags":["x402"],"displayCostAmount":"0.0022","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0022/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_edi_4wzq_jSTaZwfkXDzj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0022","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a cryptographic hash of any text input using a chosen algorithm (MD5, SHA-1, SHA-256, SHA-384, or SHA-512) and returns the hex digest.","exampleAgentPrompt":"Compute the SHA-256 hex digest of the text 'Hello, world!' — I need the hash for a content integrity check.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the chosen algorithm name, the hex digest string of the hashed input, and the input length in bytes.","failureModes":["Unsupported algorithm name returns an error","Empty or missing input body causes a 400 bad request","Payment failure (402) if USDC balance is insufficient","Network timeout if the service is temporarily unavailable"],"whenToPreferThis":"Use this endpoint when you need a straightforward, single-call cryptographic hash of a text string with a choice of algorithm (MD5, SHA-1, SHA-256, SHA-384, SHA-512). Prefer it over HMAC endpoints when no secret key is needed, and over PBKDF2 when you are not stretching a password — this is for general-purpose hashing, integrity checks, deduplication, and content addressing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:17.741Z","isFirstParty":false}