x402hub
← Other APIs

agent-proxy.alchemypreview.com · echo

agent-proxy.alchemypreview.com · https://agent-proxy.alchemypreview.com/v1/x402-testnet/ceef02c90939785a/echo/
💵 price on request per call 🌐 Base Sepolia, solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 📈 3 calls / 30d · 1 unique payers

echo

This endpoint speaks x402: an unpaid request returns HTTP 402 with machine-readable payment terms, your agent pays the price on request in USDC on-chain, and retries automatically. Pays to EMwHXkEUR878JcCd3v5nrgK3fc9psQ3sNkAvEmaCSt7J.

Call it in 30 seconds

JavaScriptPythoncurl
// This service settles on Base Sepolia.
// Use an x402 client with a matching signer (e.g. an @x402 Solana client).
// First, inspect the payment terms for free:
const r = await fetch("https://agent-proxy.alchemypreview.com/v1/x402-testnet/ceef02c90939785a/echo/"); // returns HTTP 402 + machine-readable terms
console.log(r.status, await r.json());
# This service settles on Base Sepolia.
# Use an x402 client with a matching signer. To see the terms first, for free:
import httpx
r = httpx.get("https://agent-proxy.alchemypreview.com/v1/x402-testnet/ceef02c90939785a/echo/")  # HTTP 402 + machine-readable payment terms
print(r.status_code, r.json())
# 1) An unpaid request returns HTTP 402 with the exact payment terms:
curl -i -X POST "https://agent-proxy.alchemypreview.com/v1/x402-testnet/ceef02c90939785a/echo/" \
  -H 'content-type: application/json' \
  -d '{"message": ""}'

# 2) Paying + retrying requires an x402 client that can sign the USDC
#    authorization (curl alone cannot). See the JS / Python tabs below.

New to x402? Read the 5-minute quickstart →

ad slot · a crypto-native, no-tracking ad loads here in production
Query this registry programmatically. Every service here is searchable through the x402hub API, an x402-payable endpoint your agents call and pay per request in USDC.
https://api-service-sandy.vercel.app · GET /api/search?q=... · $0.002 / call
Prefer to just support the project? Tip USDC on Base to 0x40BbeB1BEd1D4ba6f1d4C0eE0C9D93e2dA3347C6. This hub is free and ad-light.