Pool Fees
Pools
Pool Fees
Fees a pool captured over a time window — pool-captured spread and protocol fee, with the protocol fee broken down per fee-split recipient.
GET
Pool Fees
Aggregates the fees a pool earned over the selected window into two parts:
- Pool-captured spread — the spread the pool’s curve earned (price curve, risk curve, base spread), excluding the protocol fee.
- Protocol fee — the protocol fee captured, broken down per recipient for pools that route fees through the fee-split sidecar.
truncated: true (see the field below).
Path Parameters
The pool config PDA address.
Query Parameters
Lookback window ending now. One of
1h, 24h, 7d, 30d, or all
(all aggregates the pool’s full history).Solana cluster —
mainnet-beta or devnet.Response
The interval that was applied (echoes the request).
Start of the window (Unix seconds).
0 when interval=all.End of the window (Unix seconds) — the request time.
Pool’s token X (base) mint.
Pool’s token Y (quote) mint.
Aggregate fee totals over the window.
Per-recipient split of the protocol fee over the window. Empty (
[]) for pools that use the default (single) fee recipient, for windows with no fee-bearing split swaps, or for windows entirely before per-swap split tracking began.The sum of recipients’ fee_usd equals totals.protocol_fee_usd only when every fee-bearing swap in the window carried a split; it is less when the window also includes default-fee swaps or pre-tracking swaps.true if the per-query swap cap was reached, meaning the window contains more swaps than were aggregated. Narrow the interval for a complete result..png?fit=max&auto=format&n=pH37fL0GL14scVCH&q=85&s=5749b485c8c5b2386a4cca404e97d6be)