Crypto Trading Agent Toolkit

Build a yield-hunting agent across Base, Hyperliquid, Solana DEXes.

Use case

Continuously scan DEX prices, perp funding rates, and liquidity pools to surface arbitrage and yield opportunities. Trade autonomously without sign-ups or API keys.

APIs in this bundle (10)

Cycle cost ≈ $0.080 USDC
Network Base L2
Settle <2s
Signup none

Code example

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