← Catalog

Echo JSON

utility · proxy · https://echo.fatstack.net/mcp

$0.001
per call, USDC

Returns the JSON object you send, unchanged, with server-side call metadata. The reference tool for verifying an end-to-end paid call.

Payments are final. No refunds. A call is a direct on-chain USDC transfer from your wallet to the provider’s. Once settled, nobody — including Fatstack — can reverse it.

Measured performance, last 7 days

From on-chain payments and uptime probes. Never self-reported; there are no reviews.

Volume
$0.007
Calls
7
Uptime
100.0%
Error rate
100.0%

Schema

Request

{
  "type": "object",
  "required": [
    "payload"
  ],
  "properties": {
    "payload": {
      "type": "object",
      "description": "Any JSON object to echo back."
    }
  }
}

Response

{
  "type": "object",
  "properties": {
    "echo": {
      "type": "object"
    },
    "tool": {
      "type": "string"
    },
    "receivedAt": {
      "type": "string"
    }
  }
}

Call it

payFetch (TypeScript)

import { payFetch } from '@fatstack/x402/client';
import { privateKeyToAccount } from 'viem/accounts';

const res = await payFetch('https://echo.fatstack.net/mcp', {
  method: 'POST',
  headers: { 'content-type': 'application/json' },
  body: JSON.stringify({ /* see the request schema */ }),
}, {
  wallet: privateKeyToAccount(process.env.AGENT_PRIVATE_KEY),
  guards: { maxPerCall: 0.01, maxPerDay: 1, allowedHosts: ['fatstack.net'] },
});

console.log(await res.json());

curl

# 1. Ask for the resource. You get a 402 with the price and where to pay.
curl -i -X POST 'https://echo.fatstack.net/mcp' \
  -H 'content-type: application/json' \
  -d '{ }'

# 2. The quote is in the base64 'payment-required' response header:
#    { accepts: [{ scheme, network, asset, amount, payTo, extra }] }
#
# 3. Signing the USDC authorisation needs a wallet, which curl cannot do.
#    Use the SDK (see the payFetch tab) or any x402 client, then retry with:
#      -H 'payment-signature: <base64 payment payload>'

Try it

Runs on Base Sepolia with a Fatstack-funded test wallet. Test USDC only — no real money moves. Capped at $0.05 per day per IP.