W

Workers · Defi Yields

by Workers

GETBase

$0.001

per call · USD Coin on Base

Top DeFi lending/LP yields — project, chain, symbol, pool id, APY breakdown + 1d/7d/30d APY trend, IL risk (incl. il7d), exposure, reward/underlying tokens, outlier flag, mu/sigma, DefiLlama stability forecast, TVL. Filter by project, chain, or stablecoin-only; sort by TVL (default) or risk-adjusted APY (apy/sigma).

Endpoint

GET https://x402-data-api.sigrunner.workers.dev/defi/yields

1

Calls / 30d

1

Unique payers / 30d

Aug 12

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://x402-data-api.sigrunner.workers.dev/defi/yields", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-data-api.sigrunner.workers.dev/defi/yields?chain=Ethereum&limit=20&project=aave-v3&sort=tvl&stable=true" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "apy": 4.21,
  "apyBase": 3.1,
  "apyBase7d": 3.05,
  "apyMean30d": 4.1,
  "apyPct1D": 0.001,
  "apyPct30D": 0.15,
  "apyPct7D": -0.06,
  "apyReward": 1.11,
  "chain": "Ethereum",
  "exposure": "single",
  "il7d": null,
  "ilRisk": "no",
  "mu": 3.47618,
  "outlier": false,
  "pool": "747c1d2a-c668-4682-b9f9-296708a3dd90",
  "predicted_probability": 64,
  "project": "aave-v3",
  "rewardTokens": null,
  "risk_adjusted_apy": 78.75,
  "sigma": 0.05347,
  "stablecoin": true,
  "symbol": "USDC",
  "tvlUsd": 512345678,
  "underlyingTokens": [
    "0x0000000000000000000000000000000000000000"
  ],
  "volumeUsd1d": null
}

Payment details

Pay to0x5765ae06a52dc7a0bb71c36a11db512c7ea9ed10
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Workers & similar services