2s · Crypto Defi Yields

by 2s

GETBaseSolana

$0.0036

per call · USD Coin on Base

DeFi yield & lending rates across protocols (via DefiLlama, free/keyless). Returns pools ranked by APY or TVL with base vs reward APY, TVL, 1d/7d/30d APY trend, stablecoin flag, and IL-risk. Filter by chain, project (aave, compound, lido…), symbol (USDC, ETH…), minApy, minTvlUsd. The yield/lending-rate layer beyond crypto.defi's TVL headline.

Endpoint

GET https://2s.io/api/crypto/defi-yields

1

Calls / 30d

1

Unique payers / 30d

Aug 26

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://2s.io/api/crypto/defi-yields", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://2s.io/api/crypto/defi-yields?chain=example&limit=1&minApy=0&minTvlUsd=0&project=example&sort=apy&symbol=example" \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x2b6d4988db4723e6908db86ab2b8dfbc51fc32c5
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from 2s & similar services