Echo service for x402 protocol research
Echo service for x402 protocol research. POST a JSON body with a "message" string; the response returns the message, its SHA-256 digest and a server timestamp. Payment is live: $0.001 USDC on Base is verified and settled via the Coinbase CDP facilitator, so callers ARE charged. The response is computed before settlement, and the settlement tx hash is returned in the body and in PAYMENT-RESPONSE.
1000 (raw units)
price
10
calls / 30d
7
unique payers
2026-08-27
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": "http://localhost:10000/icon.png",
"info": {
"input": {
"body": {
"message": "hello world"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"echo": "hello world",
"sha256": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
"timestamp": "2026-08-18T12:00:00.000Z"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"message": {
"description": "Text to echo back.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
]
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"bodyType",
"body",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"echo": {
"type": "string"
},
"sha256": {
"type": "string"
},
"timestamp": {
"format": "date-time",
"type": "string"
}
},
"required": [
"echo",
"sha256",
"timestamp"
],
"type": "object"
},
"type": {
"const": "json"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
},
"serviceName": "x402 research echo",
"summary": "Paid echo endpoint for x402 conformance testing. POST a message, get it back with its SHA-256 digest, a server timestamp, and the settlement transaction hash. $0.001 USDC on Base per call.",
"tags": [
"x402",
"echo",
"protocol-conformance",
"security-research",
"agents",
"pay-per-call",
"micro-usdc",
"sha256",
"developer-tools",
"base"
]
}
}Use it
curl
curl "https://x402-echo-service.onrender.com/echo" # -> 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/echo");
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/echo")
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/8187.json, and this resource appears in /discovery/resources and /discovery/search.