BitBooth echo endpoint — pays a tiny USDC fee, returns a JSON echo
BitBooth echo endpoint — pays a tiny USDC fee, returns a JSON echo. Reference implementation of the x402 + CDP Facilitator + Bazaar discovery loop.
1000 (raw units)
price
26
calls / 30d
20
unique payers
2026-09-17
updated
Provider
app.heinrichstech.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xDa2F35d283c42dd60B965322394bc658a5c1769F",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 120
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "EDtPHNFA6ofGQZPb8NYUxdTkqVwCfkWJzRCg8vQXkYBL",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 120
},
{
"scheme": "exact",
"network": "xrpl:0",
"payTo": "rfryheo6yzFdLWj8qUQtZc7zG9MKkBkUEy",
"asset": "524C555344000000000000000000000000000000",
"amount": "0.001000",
"maxTimeoutSeconds": 120
},
{
"scheme": "exact",
"network": "xrpl:0",
"payTo": "rfryheo6yzFdLWj8qUQtZc7zG9MKkBkUEy",
"asset": "5553444300000000000000000000000000000000",
"amount": "0.001000",
"maxTimeoutSeconds": 120
},
{
"scheme": "exact",
"network": "stellar:pubnet",
"payTo": "GCB5WZT5VCBBATGMQMTB6TLUXD6KQC6N5ITRWK3CCP4J3YOCE45FA2GO",
"asset": "USDC",
"amount": "10000",
"maxTimeoutSeconds": 120
}
]Output schema
{
"bazaar": {
"category": "utility",
"discoverable": true,
"info": {
"input": {
"body": {
"message": "hello bitbooth"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"ok": true,
"payment": {
"network": "eip155:8453",
"payer": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"transaction": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"protocol": "x402 + CDP Facilitator",
"service": "BitBooth /v1/cdp/echo",
"timestamp": "2026-05-05T12:00:00.000Z",
"youSent": "hello bitbooth"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"message": {
"description": "Optional string to echo back in the response. Max 500 chars.",
"maxLength": 500,
"type": "string"
}
}
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
},
"tags": [
"reference",
"demo",
"x402"
]
}
}Use it
curl
curl "https://app.heinrichstech.com/v1/cdp/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://app.heinrichstech.com/v1/cdp/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://app.heinrichstech.com/v1/cdp/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/2813.json, and this resource appears in /discovery/resources and /discovery/search.