Compute cryptographic digests of a string
Compute cryptographic digests of a string. POST {"input":"...","algorithms":["sha256"]} and receive one hex digest per requested algorithm. Supports sha256, sha512 and keccak256. Deterministic, no storage, no upstream calls.
1000 (raw units)
price
5
calls / 30d
4
unique payers
2026-09-06
updated
Provider
x402-echo-service.onrender.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "Infra",
"coverImage": "https://x402-echo-service.onrender.com/icon.png",
"info": {
"input": {
"body": {
"algorithms": [
"sha256"
],
"input": "hello world"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"digests": {
"sha256": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
},
"input_bytes": 11
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"algorithms": {
"items": {
"enum": [
"sha256",
"sha512",
"keccak256"
]
},
"type": "array"
},
"input": {
"maxLength": 65536,
"minLength": 1,
"type": "string"
}
},
"required": [
"input"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
]
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"bodyType",
"body",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"digests": {
"type": "object"
},
"input_bytes": {
"type": "integer"
}
},
"required": [
"input_bytes",
"digests"
],
"type": "object"
},
"type": {
"const": "json"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
},
"serviceName": "Hash Digest",
"summary": "SHA-256, SHA-512 and keccak-256 digests of a string.",
"tags": [
"hash",
"sha256",
"keccak",
"digest",
"utility"
]
}
}Use it
curl
curl "https://x402-echo-service.onrender.com/hash" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402-echo-service.onrender.com/hash");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402-echo-service.onrender.com/hash")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/8176.json, and this resource appears in /discovery/resources and /discovery/search.