Use when an agent researches DeFi

$0.003 per call20 free calls/day via MCP

Use when an agent researches DeFi: a protocol's TVL with 1-day and 7-day change, chains and category; the best yields (APY) for a token or chain filtered by minimum pool TVL and stablecoin-only; or the top protocols by TVL, overall or on one chain. Under 2 s.

defitvlyieldapyprotocolsstakinglendingcrypto

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool defi:

{
  "name": "defi",
  "arguments": {
    "mode": "yields",
    "token": "USDC",
    "chain": "base",
    "minTvlUsd": 1000000
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/defi \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"mode":"yields","token":"USDC","chain":"base","minTvlUsd":1000000}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.003 and retries automatically. Works with any x402 wallet: Base MCP, Coinbase AgentKit, x402-fetch / x402-axios, Cloudflare Agents. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "description": "protocol, yields or top (default top)"
    },
    "protocol": {
      "type": "string"
    },
    "token": {
      "type": "string",
      "description": "Token symbol for yields, e.g. USDC"
    },
    "chain": {
      "type": "string"
    },
    "minTvlUsd": {
      "type": "number",
      "description": "Yields: minimum pool TVL (default 1,000,000)"
    },
    "stableOnly": {
      "type": "boolean"
    },
    "limit": {
      "type": "number",
      "description": "1-30, default 10"
    }
  },
  "required": []
}

Example output

{
  "mode": "yields",
  "pools": [
    {
      "project": "aave-v3",
      "chain": "Base",
      "symbol": "USDC",
      "apy": 5.2,
      "apyBase": 4.1,
      "apyReward": 1.1,
      "tvlUsd": 310000000,
      "stablecoin": true
    }
  ]
}

Related tools

Use when an agent is about to trust, buy into or connect a wallet to a crypto project and wants to know if its website looks legit ($0.01) · Use when a trading agent is about to buy a token and must know if it is a honeypot, rug or scam ($0.01) · Use when an agent is about to send funds to, receive from, or trade with a crypto address and needs to know if it is risky ($0.005) · Use when an agent needs crypto prices ($0.002) · Use when an agent sends, receives or monitors Bitcoin ($0.002) · Use when a trading agent needs perpetual futures data ($0.003) · Use when an agent wants the crypto market mood before trading or writing about markets ($0.001) · Use when an agent needs what an EVM wallet holds before paying, trading or reporting ($0.002)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402