x402 · Base / Solana · USDC

Agent integration

Inspect the free output first. Use a wallet-enabled x402 client only when you need a fresh custom result.

1. Free sample

curl -s 'https://x402donghang.duckdns.org/x402/v1/crypto-radar/sample?src=integration'

2. AgentCash CLI

npx -y agentcash install
npx -y agentcash check https://x402donghang.duckdns.org/x402/v1/crypto-radar
npx -y agentcash fetch https://x402donghang.duckdns.org/x402/v1/crypto-radar \
  -m POST \
  -b '{"symbol":"BTC","window":"6h","locale":"en","focus":"ETF flows, regulation, security"}'

The wallet must contain enough USDC. The client handles the HTTP 402 challenge, signs payment, and retries automatically.

3. Direct request shape

POST https://x402donghang.duckdns.org/x402/v1/crypto-radar
Content-Type: application/json

{"symbol":"BTC","window":"6h","locale":"en","focus":"ETF flows, regulation, security"}

OpenAPI contract · Back to products