77trust / 100

Defi Yields

by Tanod chainpeek in Onchain & crypto

x402 APIPassing, checked 3 h ago

Use when an agent must choose where to lend or borrow: supply and borrow APY on Aave, Compound and Morpho. DeFi lending rates: supply and borrow APY on Aave V3, Compound V3 and Morpho by chain and asset, with a best stablecoin rate view (chainpeek, Tanod).

POST https://tanod.dev/v1/defi/yields

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
100%
Response time
383 ms typical, 1.1 s slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

POST https://tanod.dev/v1/defi/yields

Each call costs $0.001 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://tanod.dev/v1/defi/yields
content-type: application/json

{
  "limit": 5,
  "view": "best_stablecoin"
}

Parameters

ParameterTypeRequiredDescription
assetsarray of string or nullNoOptional asset symbols such as USDC or WETH (case-insensitive, at most 20). In best_stablecoin only USDC, USDT, DAI, USDS and USDe are ranked. Default: null.
chainsarray of string or nullNoOptional subset of ethereum, base, arbitrum, polygon, optimism. Default: all. Aave V3, Compound V3 and Morpho cover all five. Default: null.
limitintegerNoRows returned, 1-200 (default 50). Default: 50.
min_tvl_usdnumber or nullNoOnly rows with at least this many USD supplied (rows with an unknown USD size are dropped when it is above 0). Default 0; best_stablecoin defaults to 1,000,000. Default: null.
protocolsarray of string or nullNoOptional subset of aave_v3, compound_v3, morpho. Default: all. Default: null.
viewstringNoall: every matching rate, highest supply APY first. best_stablecoin: USDC, USDT, DAI, USDS and USDe ranked by supply APY across the three protocols (canonical token addresses only). One of: all, best_stablecoin. Default: "all".

Example response

The provider's example. We can't check it without paying.

Example response, 89 lines
{
  "age_s": 94,
  "as_of": "2026-10-10T13:20:11Z",
  "best_by_asset": {
    "USDC": {
      "chain": "ethereum",
      "kind": "comet",
      "name": "Compound V3 cUSDCv3",
      "protocol": "compound_v3",
      "supplied_usd": 382387899.07,
      "supply_apy_pct": 4.4629
    }
  },
  "count": 1,
  "coverage": {
    "aave_v3": [
      "base",
      "ethereum"
    ],
    "compound_v3": [
      "base",
      "ethereum"
    ],
    "morpho": [
      "arbitrum",
      "base",
      "ethereum",
      "optimism",
      "polygon"
    ]
  },
  "max_age_s": 1800,
  "min_tvl_usd": 1000000,
  "note": "Informational only, not investment or trading advice. Rates change every block and are not a quote or an offer.",
  "refresh_interval_s": 300,
  "rows": [
    {
      "asset": "USDC",
      "asset_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "borrow_apy_pct": 5.4099,
      "borrowed_usd": 311338900.5,
      "chain": "ethereum",
      "collateral": null,
      "id": "0xc3d688b66703497daa19211eedff47f25384cdc3",
      "kind": "comet",
      "name": "Compound V3 cUSDCv3",
      "protocol": "compound_v3",
      "rank": 1,
      "stablecoin": "USDC",
      "supplied_usd": 382387899.07,
      "supply_apy_pct": 4.4629,
      "supply_apy_with_rewards_pct": null,
      "utilization": 0.8142
    }
  ],
  "sorted_by": "supply_apy_pct desc",
  "sources": [
    {
      "age_s": 100,
      "as_of": "2026-10-10T13:20:05Z",
      "chain": "ethereum",
      "docs": "https://aave.com/docs/resources/addresses",
      "name": "Aave V3 Pool (on-chain)",
      "protocol": "aave_v3",
      "stale": false
    },
    {
      "age_s": 94,
      "as_of": "2026-10-10T13:20:11Z",
      "chain": null,
      "docs": "https://docs.morpho.org/tools/offchain/api/morpho-api",
      "name": "Morpho public GraphQL API",
      "protocol": "morpho",
      "stale": false,
      "url": "https://blue-api.morpho.org/graphql"
    }
  ],
  "sources_unavailable": [],
  "stablecoins": [
    "USDC",
    "USDT",
    "DAI",
    "USDS",
    "USDe"
  ],
  "stale": false,
  "total_matching": 1,
  "view": "best_stablecoin"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.001.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://tanod.dev/v1/defi/yields' \
  -H 'content-type: application/json' \
  --data-raw '{"limit":5,"view":"best_stablecoin"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://tanod.dev/v1/defi/yields' \
  -H 'content-type: application/json' \
  --data-raw '{"limit":5,"view":"best_stablecoin"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Fdefi%2Fyields&method=POST
const res = await pay("https://tanod.dev/v1/defi/yields", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "limit": 5,
    "view": "best_stablecoin"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://tanod.dev/v1/defi/yields",
        json={
            "limit": 5,
            "view": "best_stablecoin",
        },
    )
    print(res.status_code, res.text)

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed4021.0 s$0.001
7 h agoPassed4021.0 s$0.001
10 h agoPassed402352 ms$0.001
14 h agoPassed4021.0 s$0.001
18 h agoPassed402364 ms$0.001
22 h agoPassed402311 ms$0.001
26 h agoPassed4021.1 s$0.001
30 h agoPassed402289 ms$0.001
33 h agoPassed402266 ms$0.001
37 h agoPassed402272 ms$0.001
40 h agoPassed4021.1 s$0.001
44 h agoPassed402988 ms$0.001
47 h agoPassed4021.0 s$0.001
2 days agoPassed402631 ms$0.001
2 days agoPassed402383 ms$0.001