Skip to content
Fourohtwo

Use when an agent must choose where to lend or borrow

tanod.dev/v1/defi/yields

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).

BasePolygonSolanaBNB ChainArbitrumAnswering
POSThttps://tanod.dev/v1/defi/yields

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
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(await res.json());

Example input

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

More from Tanod chainpeekProvider status