crypto

DeFi yield & lending rates across protocols (via DefiLlama...

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.

get/api/crypto/defi-yields

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/crypto/defi-yields
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

chainstring

Chain.

projectstring

Project.

symbolstring

Symbol.

minApynumber

Min apy.

minTvlUsdnumber

Min tvl usd.

sort'apy' | 'tvl'

Field to sort results by.

limitinteger

Maximum number of results to return.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.