O

OnchainPulse · Vault APY

by OnchainPulse

GETBaseSolanaArbitrumPolygonFraxtalWorld ChainMonadX LayerHyperEVMAlgorandXRP LedgerBNB Chain

$0.02

per call · USD Coin on Base

Live USDC yield panel on Base, read DIRECTLY from chain state — Aave v3, Compound v3, Moonwell, Euler v2 supply APY from onchain rate views, plus the six largest Morpho (MetaMorpho) USDC vaults with REALIZED trailing APY from ERC-4626 share-price deltas (archive reads, net of fees — not a vendor estimate). Optional: any custom ERC-4626 vault address on Base. Built for yield agents (Sail/Sailor, rebalancers, treasury bots) that need verify-before-acting numbers.

Endpoint

GET https://onchainpulse.theaslangroupllc.com/api/vault-apy

1

Calls / 30d

1

Unique payers / 30d

Aug 20

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://onchainpulse.theaslangroupllc.com/api/vault-apy", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://onchainpulse.theaslangroupllc.com/api/vault-apy?scope=all&window=7" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "as_of_block": 48733708,
  "erc4626_vaults": [
    {
      "method": "convertToAssets share-price delta over 7d, annualized — realized net yield",
      "name": "Gauntlet USDC Prime (gtUSDCp)",
      "protocol": "morpho-metamorpho",
      "share_price_underlying": 1.103521,
      "total_assets_underlying": 426870673.6,
      "trailing_apy_pct": 4.356,
      "window_days": 7
    }
  ],
  "lending_markets": [
    {
      "address": "0xA238…d1c5",
      "market": "USDC",
      "method": "Pool.getReserveData().currentLiquidityRate — annual APR in RAY",
      "protocol": "aave-v3",
      "supply_apr_pct": 3.022,
      "supply_apy_pct": 3.0681
    }
  ]
}

Payment details

Pay to0x50ab2018c06c6e4eaa9ba52057eb55ed284912fc
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon, Fraxtal, World Chain, Monad, X Layer, HyperEVM, Algorand, XRP Ledger, BNB Chain
Schemesexact

Is this your API?

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

Get featured →

More from OnchainPulse & similar services