80trust / 100

Yields Get All

by Yield.xyz MCP in Onchain & crypto

x402 APIPassing, checked 17 min ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
408 ms typical, 408 ms slowest 5%
Last check
17 min ago
Next check
in 13 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://mcp.yield.xyz/x402/yields_get_all" \
  -H "content-type: application/json" \
  -d '{"limit":5,"networks":["base"],"token":"USDC"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmcp.yield.xyz%2Fx402%2Fyields_get_all
const res = await pay("https://mcp.yield.xyz/x402/yields_get_all", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":5,"networks":["base"],"token":"USDC"}),
});
console.log(await res.json());

Example input

{
  "limit": 5,
  "networks": [
    "base"
  ],
  "token": "USDC"
}

Example output

{
  "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
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
17 min agoPassed402449 ms$0.001
5 h agoPassed402408 ms$0.001