---
title: "Validator revenue"
method: GET
path: "/v1/validator/revenue"
tags: ["Validator"]
---

# Validator revenue

`GET /v1/validator/revenue`

## Request

- Base URL: `https://api.hylo.so`
- URL: `https://api.hylo.so/v1/validator/revenue`
- Auth: none declared
- TypeScript: <https://skmtc.dev/hylo/apis/hylo-public-api/docs/v1/validator/revenue/get.ts> (a function with typed inputs; its response is checked against the schema)

Daily validator revenue in SOL. Inflation and Jito rewards settle once per epoch (~2 days). No USD (no price source).

## Query parameters

- `days` integer
- `from` string, date
- `to` string, date

## Response `200`

Cache-Control: public, max-age=300.

- ValidatorRevenue
  - `since` string, date, required
  - `until` string, date, required
  - `totals` object, required
    - `periodSol` string, required: SOL amount as a decimal string. Never a float.
    - `allTimeSol` string, required: SOL amount as a decimal string. Never a float.
  - `daily` object[], required
    - `date` string, date, required
    - `inflationCommission` string: SOL amount as a decimal string. Never a float.
    - `jitoTips` string: SOL amount as a decimal string. Never a float.
    - `blockRewards` string: SOL amount as a decimal string. Never a float.
    - `total` string, required: SOL amount as a decimal string. Never a float.
    - `blocksProduced` integer, required
    - `leaderSlotsAssigned` integer, required
    - `epochsSettled` integer[], required
    - `final` boolean, required: Block rewards final AND at least one epoch part settled; false means the day can still grow.

## Other responses

- `400`: Invalid parameter.

---

[API](https://skmtc.dev/hylo/apis/hylo-public-api.md) - [All operations](https://skmtc.dev/hylo/apis/hylo-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hylo/apis/hylo-public-api/revisions/bebee168feea?raw)
