Yield.xyz MCP · Yields GET ALL

by Yield.xyz MCP

POSTBaseX Layer

$0.001

per call · USD Coin on Base

Discover DeFi yield opportunities across 80+ networks — 3,300+ staking, lending, vault, and RWA yields from Lido, Aave, Morpho, and more. Filter by token, network, yield type, or provider and sort by APY or TVL. Returns yield IDs (needed by every other tool) with APY, TVL, lock-up/cooldown periods, and KYC gating. Start here.

Endpoint

POST https://mcp.yield.xyz/x402/yields_get_all

13

Calls / 30d

6

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://mcp.yield.xyz/x402/yields_get_all", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "limit": 5,
    "networks": [
      "base"
    ],
    "token": "USDC"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://mcp.yield.xyz/x402/yields_get_all" \
  -H "Content-Type: application/json" \
  -d '{"limit":5,"networks":["base"],"token":"USDC"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "items": [
    {
      "id": "base-usdc-aave-v3-lending",
      "inputTokens": [
        {
          "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "network": "base",
          "symbol": "USDC"
        }
      ],
      "kycRequired": false,
      "name": "Aave V3 USDC Lending",
      "network": "base",
      "providerId": "aave-v3",
      "rewardRate": 0.045,
      "tokenSymbol": "USDC",
      "tvlUsd": "128000000",
      "type": "lending"
    }
  ],
  "limit": 1,
  "offset": 0,
  "total": 812
}

Payment details

Pay to0xd433f056270912659f073d5ffe7ae247e39235a5
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, X Layer
Schemesexact

Is this your API?

Pin it to the top of DeFi and the homepage with a featured placement.

Get featured →

More from Yield.xyz MCP & similar services