Skip to main content

Find yields

Query the yield catalog with GET /v1/yields. Results are scoped to the project that owns the API key: only yields enabled for that project are returned, so the catalog differs between projects.

When to use

  • Find or list yields (for example, “What yields are available for USDC on Base?”)
  • Filter by network, token, provider, or type
  • Compare reward rates across protocols or networks
  • Search for a yield by name or ID
  • List the networks or providers available

Authentication and host

Send the project API key in the x-api-key header. Keep it in an environment variable such as YIELD_API_KEY.

Step 1: List yields

GET /v1/yields
The response is { items, total, offset, limit }. An abbreviated item:
Field notes:
  • rewardRate.total is a percentage (2.8 means 2.8%). rateType is APR or APY.
  • rewardRate.components[] breaks the total down by source. Read reward and incentive tokens from components[].token, and the receipt token from outputToken.
  • status.enter and status.exit say whether deposits and withdrawals are open.
  • mechanics.type is the yield type.

Step 2: Paginate

Increase offset by limit until offset + limit >= total.

Step 3: List networks and providers

Use the network id and provider id values as filter inputs.

Ranking pattern

For “best yields for ETH”: query token=ETH&sort=rewardRateDesc&limit=100, then present the top items with yield ID, provider, mechanics.type, rewardRate.total with rateType, and network. Skip items where status.enter is false when the user wants to deposit.

Errors

Edge cases

  • Empty results: { "items": [], "total": 0 } means no enabled yield matches. Broaden the filters, or the yield may not be enabled for the project.
  • Yield IDs: IDs look like ethereum-eth-lido-staking. Treat them as opaque and take them from the API.
  • Closed yields: status.enter: false means no new deposits; exits may still be open.
  • Rates change: Present rates as current, not fixed.