Build a yield-hunting agent across Base, Hyperliquid, Solana DEXes.
Continuously scan DEX prices, perp funding rates, and liquidity pools to surface arbitrage and yield opportunities. Trade autonomously without sign-ups or API keys.
import { x402Fetch } from "x402-agent-tools";
const dex = "https://dex-quotes.api.klymax402.com";
const fund = "https://funding-rates.api.klymax402.com";
const safe = "https://token-safety.api.klymax402.com";
const quote = await x402Fetch(`${dex}/api/quote?from=USDC&to=ETH&amount=100`);
const funding = await x402Fetch(`${fund}/api/funding?symbol=ETH`);
const safety = await x402Fetch(`${safe}/api/check?token=0x...`);
if (quote.spread > 0.5 && funding.rate > 0.01 && safety.score > 80) {
await placeOrder({ pair: "ETH-PERP", side: "long" });
}
Install npm package
Full API catalog (llms.txt)
Live activity