{"uid":"cap_iWnSFnWKFbhFSooHVlWh0","slug":"boring-api-convert-hash-60ad890d","name":"boring-api · convert — Hash","description":"Document and data format conversions via Pandoc, Chromium-headless, and pure-JS libs. Text inputs/outputs are JSON-fielded; binary inputs/outputs use base64 in JSON for uniformity.","url":"https://convert.boring-api.com/hash","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"content":{"type":"string"},"algorithm":{"enum":["md5","sha1","sha256","sha512"],"type":"string"}}},"responseSchema":{"type":"object"},"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_9xj9PZdpgE1L-YrRmQNC8","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":"Computes a cryptographic hash of the provided content string using the specified algorithm","exampleAgentPrompt":"Hash the string 'hello world' using SHA-256 for me.","exampleUseCases":null,"resultDescription":"A JSON object containing the computed hash digest of the input content string using the requested algorithm (e.g. SHA-256, MD5, SHA-1).","failureModes":["Unsupported algorithm name returns an error","Empty or missing content field may return an error or empty hash","Malformed JSON body returns a 400-level error","Payment not provided or insufficient results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a simple, stateless cryptographic hash computed server-side via a pay-per-call API, without setting up a local hashing library. Especially useful in agent workflows where a neutral third-party hash computation is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:37:27.402Z","isFirstParty":false}