81trust / 100

Defi Yields

by DeFi yield screener in Onchain & crypto

x402 APIPassing, checked 4 h ago

Live yield opportunities across DeFi, filterable by chain, protocol, token symbol, stablecoin-only, minimum TVL and minimum APY: pool identity, TVL in dollars, total APY split into base and reward, 1-day, 7-day and 30-day APY change, impermanent-loss risk and exposure type. Use it to find, compare or monitor where a given asset earns the most right now.

POST https://agent402.tools/api/defi-yields

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
186 ms typical, 186 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/defi-yields" \
  -H "content-type: application/json" \
  -d '{"chain":"Base","limit":5,"minTvlUsd":1000000,"sort":"apy","stablecoinOnly":true}'
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%2Fagent402.tools%2Fapi%2Fdefi-yields
const res = await pay("https://agent402.tools/api/defi-yields", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"Base","limit":5,"minTvlUsd":1000000,"sort":"apy","stablecoinOnly":true}),
});
console.log(await res.json());

Example input

{
  "chain": "Base",
  "limit": 5,
  "minTvlUsd": 1000000,
  "sort": "apy",
  "stablecoinOnly": true
}

Example output

{
  "cached": true,
  "count": 1,
  "fetchedAt": "2026-08-22T12:00:00.000Z",
  "filters": {
    "chain": "Base",
    "excludeOutliers": true,
    "exposure": null,
    "maxApy": null,
    "minApy": null,
    "minTvlUsd": 1000000,
    "project": null,
    "stablecoinOnly": true,
    "symbol": null
  },
  "matched": 42,
  "pools": [
    {
      "apy": 6.1,
      "apyBase": 4.9,
      "apyMean30d": 5.8,
      "apyPct1D": -0.04,
      "apyPct30D": -0.05,
      "apyPct7D": 0.5,
      "apyReward": 1.2,
      "chain": "Base",
      "exposure": "single",
      "ilRisk": "no",
      "outlier": false,
      "pool": "54e9b138-3146-4c1f-8dce-1cb948f5ef96",
      "poolMeta": null,
      "prediction": {
        "class": "Stable/Up",
        "probability": 67
      },
      "project": "morpho-v1",
      "rewardTokens": [],
      "stablecoin": true,
      "symbol": "USDC",
      "tvlUsd": 25000000,
      "underlyingTokens": [
        "0x8335..."
      ],
      "volumeUsd1d": null,
      "volumeUsd7d": null
    }
  ],
  "sort": "apy",
  "source": "defillama-yields"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402186 ms$0.002