Computes cryptographic hash digests of any input string across five algorithms: sha1, sha256 (default), sha384, sha512, and md5.
Computes cryptographic hash digests of any input string across five algorithms: sha1, sha256 (default), sha384, sha512, and md5. Returns hex, base64, and base64url encodings of each digest. SubtleCrypto powers the SHA family; MD5 is computed by a small in-process implementation (the web crypto spec doesn't expose MD5, but it's still useful for cache keys and content fingerprinting where collision-resistance isn't required). Use it as a string hasher, multi-algorithm digest, cache-key generator, or content fingerprinter for SHA-256 / SHA-1 / SHA-384 / SHA-512 / MD5.
| Method | Endpoint | Price | Description |
|---|---|---|---|
POST | /v1/marketplace/api/hash-string | $0.00575 | Invoke Hash String (Blockchain) and return the upstream response. |
Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.
# 1. Ask for a quote
curl -i -X POST https://api.jarvisclaw.ai/v1/marketplace/api/hash-string \
-H 'Content-Type: application/json' \
-d '{}'
# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://api.jarvisclaw.ai/v1/marketplace/api/hash-string \
-H 'Content-Type: application/json' \
-H 'X-PAYMENT: <signed-payload>' \
-d '{}'
Open in the marketplace
Docs: Getting started · x402 payments · x402 discovery · All APIs