Skip to main content

Quickstart

Connect your agent to crypwalk yield optimization on Base mainnet. No API key required to read live data.

Step 1 — Check rates

Poll current APY across Morpho, Aave V3, and Compound V3 on Base.

check-rates.ts
// 1. Check current APY rates across protocols
const rates = await fetch('https://api.wildrunai.com/rates').then(r => r.json())
console.log(rates)
// { morpho: 3.63, aaveV3: 3.41, compoundV3: 3.28 }

Step 2 — Read live data

Get current TVL, best APY, and which protocol is winning.

live-data.ts
// 2. Get live TVL and best APY
const data = await fetch('https://api.wildrunai.com/').then(r => r.json())
const { tvlUsdc, bestApyPct, bestProtocol } = data.live

Step 3 — Deposit USDC

Your agent sends a POST request. crypwalk handles protocol selection, gas, and rebalancing every 5 minutes.

deposit.ts
// 3. Deposit USDC (agent sends this call)
const res = await fetch('https://api.wildrunai.com/deposit', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    depositorAddress: '0xYourAgentWalletAddress',
    amountUsdc: 100,          // USDC amount (not raw units)
  }),
})
const { txHash, protocol, apyPct } = await res.json()

Or: use MCP

Import the MCP tool spec for automatic tool registration in Claude, GPT, or any MCP-compatible framework.

mcp-config.json
// Or: import the MCP spec for one-line setup
// In Claude Desktop config or any MCP-compatible framework:
{
  "mcpServers": {
    "wildrunai": {
      "url": "https://wildrunai.com/.well-known/mcp.json"
    }
  }
}

Pricing

  • 15% performance fee on yield generated (no fee if no yield)
  • ~$0.05 gas per deposit/withdraw on Base
  • $0.01 per signal query via x402 micropayment
  • Read endpoints (GET /, GET /rates) are free