---
updatedAt: 2026-05-07T01:57:09.000Z
agentTools:
  projectIndex: https://docs.mavan.bitminetech.io/llms.txt
---

# Get 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. `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, returned as a decimal string. Confirm the unit before converting MEV amounts to SOL or fiat.
- `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 currency-code string, for example `USD` or `EUR`. 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 daily rewards stats** for individual recorded reward entries.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/solana/stake/rewardsChartData": {
      "get": {
        "description": "Returns aggregated reward data points for charting. Authenticate using the `api-key` header. The response's `data` field is an array of points.\n\n**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.\n\nChoose **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.\n\nUse `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.\n\n`dateFrom` and `dateTo` are Unix timestamps in seconds. `datapoints` requests the number of chart points and defaults to `30`; the response can contain fewer points.\n\nEach point contains:\n\n- `inflationRewards`: aggregated inflation rewards in lamports, returned as a decimal string.\n- `mevRewards`: aggregated recorded MEV rewards, returned as a decimal string. Confirm the unit before converting MEV amounts to SOL or fiat.\n- `periodStart` and `periodEnd`: returned period timestamps in Unix seconds.\n- `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.\n\n`currency` accepts a currency-code string, for example `USD` or `EUR`. Set it explicitly when consuming price data.\n\nAn 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 daily rewards stats** for individual recorded reward entries.",
        "operationId": "getSolanaStakeRewardsChartData",
        "parameters": [
          {
            "name": "stakePubkeys",
            "required": false,
            "in": "query",
            "description": "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.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateFrom",
            "required": false,
            "in": "query",
            "description": "Start of the requested date range, as a Unix timestamp in seconds.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "dateTo",
            "required": false,
            "in": "query",
            "description": "End of the requested date range, as a Unix timestamp in seconds.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "datapoints",
            "required": false,
            "in": "query",
            "description": "Requested number of chart data points. Defaults to 30; fewer points may be returned.",
            "schema": {
              "type": "integer",
              "default": 30
            }
          },
          {
            "name": "currency",
            "required": false,
            "in": "query",
            "description": "Currency code for the returned SOL price, for example USD or EUR.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "mavan api key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApiResponseBase"
                    },
                    {
                      "properties": {
                        "data": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/SolanaStakingRewardsChartData"
                          }
                        }
                      }
                    }
                  ],
                  "required": [
                    "data"
                  ]
                }
              }
            }
          }
        },
        "servers": [
          {
            "url": "https://api.mavan.bitminetech.io",
            "description": "Mainnet (Solana mainnet-beta)"
          },
          {
            "url": "https://testnetapi.mavan.bitminetech.io",
            "description": "Devnet (MAVAN testnet gateway)"
          }
        ],
        "summary": "Get staking rewards chart data",
        "tags": [
          "Solana"
        ]
      }
    }
  },
  "info": {
    "title": "MAVAN Staking API",
    "description": "The MAVAN Staking API Docs",
    "version": "1.0.181-main-mainnet",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://gw-1.api.standardvalidator.com"
    }
  ],
  "components": {
    "schemas": {
      "ApiResponseBase": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "SolanaStakingRewardsChartData": {
        "type": "object",
        "properties": {
          "inflationRewards": {
            "type": "string",
            "description": "Aggregated inflation rewards in lamports, returned as a decimal string."
          },
          "mevRewards": {
            "type": "string",
            "description": "Aggregated recorded MEV rewards as a decimal string. Confirm the unit before converting MEV amounts to SOL or fiat."
          },
          "periodStart": {
            "type": "number",
            "description": "Returned period start as a Unix timestamp in seconds. Period boundaries can overlap."
          },
          "periodEnd": {
            "type": "number",
            "description": "Returned period end as a Unix timestamp in seconds. Period boundaries can overlap."
          },
          "price": {
            "type": "number",
            "description": "Service-calculated SOL price in the requested currency. A partial final point can understate the price because of a known averaging defect. Do not use this field for valuation."
          }
        },
        "required": [
          "inflationRewards",
          "mevRewards",
          "periodStart",
          "periodEnd",
          "price"
        ]
      }
    }
  }
}
```