Skip to main content
A yield’s current reward rate is one field on the yield, and the rewards a position holds appear in its balances. History takes more work, because every protocol distributes and reports rewards differently. Yield.xyz runs indexers that record rewards, balances, and vault share prices across protocols, and those indexers power the history endpoints. Current balances are always read live from the chain. This page covers the current rate, the rewards a position holds, the two yield history endpoints, and the two wallet earnings endpoints.

Current rate: rewardRate on the yield

rewardRate on the YieldDto is the yield’s current estimated return: a total, a rateType (APR or APY), and a components[] breakdown by yieldSource (staking, lending, campaign_incentive, and others). It is a snapshot, not a series. See Yield metadata for the full field list.

Rewards held by a position

A position’s outstanding rewards show up as a claimable balance, and, when a claim step is required, as a CLAIM_REWARDS pending action on that balance. See Balances and positions for the full balance shape and how to read pendingActions. mechanics.rewardClaiming (auto or manual) and mechanics.rewardSchedule tell you what to expect before a position exists; see Yield metadata.

Historical APY

GET /v1/yields/{yieldId}/reward-rate/history returns a time series of the yield’s rewardRate over time, for charts and rate comparisons. Each data point is one snapshot: a timestamp and the rewardRate at that time, as a decimal string. Query it with a period (1d, 7d, 30d, 90d, 1y, all, default 30d) or an explicit from / to range, an interval (day, week, month, default day), and limit / offset for pagination.

Historical TVL

GET /v1/yields/{yieldId}/tvl/history returns the same kind of series for Total Value Locked. Each data point carries a timestamp, tvl (human-readable token units), and tvlRaw (smallest unit). It takes the same period / from / to, interval, and pagination parameters, plus an optional feeConfigurationId to resolve TVL for a partner allocator vault instead of the underlying yield.

Historical wallet earnings

Two endpoints report what a wallet has earned in a yield, in the yield’s base token:
  • Reward earnings (GET /v1/yields/{yieldId}/rewards?address=...) returns earnings grouped into UTC day, week or month buckets. Each bucket holds that period’s earnings only, not a running total. It takes the same period windows as the history endpoints, or a from / to range.
  • Reward earnings summary (GET /v1/yields/{yieldId}/rewards/summary?address=...) returns fixed windows: the last 24 hours, 7, 30 and 365 days from UTC midnight, and all time.
Earnings are aggregated hourly and end at the last aggregated hour. They are recorded only for wallets that have already used Yield.xyz on that network, from that point on, and earlier earnings are not backfilled. Both take an optional feeConfigurationId to read earnings for one of your allocator vaults.

Which value to query

rewardRate is the yield’s current rate, not a history. Reward rate and TVL history are independent time series for that same yield, not a position’s balance, and wallet earnings report what one address has earned. A position’s actual holdings, including anything claimable, live in balances. Query the one that answers your question instead of deriving one from another.

Next steps

Balances and positions

Read a position’s current holdings, including claimable rewards and pending actions.

Yield metadata

Every field on a yield, including the current reward rate.