Get Solana staking rewards chart data

Returns aggregated reward data points for charting. Authenticate using the api-key header. The response's data field is an array of points.

Reporting limitations: adjacent chart periods can overlap, and a partial final point can understate the SOL price. Do not use this endpoint for client reward valuations or reconciliation.

Choose Mainnet or Devnet from the Base URL dropdown on the right before using Try It. Devnet is the Solana test environment. Use an API key and any required account addresses for your selection. Changing Base URL does not change the API key or addresses you have entered.

Use stakePubkeys — plural — for a comma-separated list of stake-account public keys. Omit it to aggregate recorded rewards for your accounts in ACTIVE, DEACTIVATING, DEACTIVATED, WITHDRAWN or DISSOLVED status. REQUESTED accounts are excluded from that default selection. Any date filters still apply.

dateFrom and dateTo are Unix timestamps in seconds. Set both to define the chart range. datapoints requests the number of chart points and defaults to 30; the response can contain fewer points.

Each point contains:

  • inflationRewards: aggregated inflation rewards in lamports, returned as a decimal string.
  • mevRewards: aggregated recorded MEV rewards in lamports, returned as a decimal string.
  • periodStart and periodEnd: returned period timestamps in Unix seconds.
  • price: the service-calculated SOL price for the point, in the requested currency. A partial final point can understate this value; do not use it for valuation.

currency accepts a lowercase currency code, for example usd or eur; Get Supported Currencies lists the accepted codes. Set it explicitly when consuming price data.

An empty array means no points were returned for the request. Period boundaries can overlap; do not treat them as guaranteed non-overlapping accounting intervals. Use Get Solana daily rewards stats for individual recorded reward entries.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Optional comma-separated list of stake-account public keys. When omitted, selects your ACTIVE, DEACTIVATING, DEACTIVATED, WITHDRAWN and DISSOLVED accounts; REQUESTED accounts are excluded. Date filters still apply.

integer

Start of the requested date range, as a Unix timestamp in seconds.

integer

End of the requested date range, as a Unix timestamp in seconds.

integer
Defaults to 30

Requested number of chart data points. Defaults to 30; fewer points may be returned.

string

Lowercase currency code for the returned SOL price, for example usd or eur. Get Supported Currencies lists the accepted codes.

Headers
string
required

mavan api key

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json