fee
Windowed priority-fee percentiles.
Compute-unit price, priority fee, limit, and position percentiles aggregated over a rolling window. The workhorse for fee-level analysis.
Try it
Sign in to run live
- Change wallet
Parameters
Aggregation window. One of: 1m, 5m, 15m, 1h.
Maximum data points (1-1000, default 1). Query only; ignored when streaming.
Request
curl -X POST https://rpc.raptor.trade \
-H "Authorization: Bearer $RAPTOR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "solana::priorityfee::fee",
"params": {
"window": "5m"
}
}'Response
Responses are always a JSON array - one entry per request - and each entry's result holds the array of data. The shape is identical over HTTP and WebSocket.
[
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"id": 1024,
"window_start": "2026-06-01T02:16:22.000000000Z",
"window_end": "2026-06-01T02:16:22.000000000Z",
"timestamp": "2026-06-01T02:16:22.000000000Z",
"window_duration": "PT5M",
"tx_count": "37",
"no_priority_tx_count": "37",
"total_tx_count": "37",
"total_priority_fees": "37",
"price_mean": "37",
"price_median": "37",
"price_min": "37",
"price_max": "37",
"price_p5": "37",
"price_p10": "37",
"price_p15": "37",
"price_p20": "37",
"price_p25": "37",
"price_p30": "37",
"price_p35": "37",
"price_p40": "37",
"price_p45": "37",
"price_p50": "37",
"price_p55": "37",
"price_p60": "37",
"price_p65": "37",
"price_p70": "37",
"price_p75": "37",
"price_p80": "37",
"price_p85": "37",
"price_p90": "37",
"price_p95": "37",
"price_p96": "37",
"price_p97": "37",
"price_p98": "37",
"price_p99": "37",
"price_p99_9": "37",
"price_p99_99": "37",
"price_p99_999": "37",
"fee_mean": "37",
"fee_median": "37",
"fee_min": "37",
"fee_max": "37",
"fee_p5": "37",
"fee_p10": "37",
"fee_p15": "37",
"fee_p20": "37",
"fee_p25": "37",
"fee_p30": "37",
"fee_p35": "37",
"fee_p40": "37",
"fee_p45": "37",
"fee_p50": "37",
"fee_p55": "37",
"fee_p60": "37",
"fee_p65": "37",
"fee_p70": "37",
"fee_p75": "37",
"fee_p80": "37",
"fee_p85": "37",
"fee_p90": "37",
"fee_p95": "37",
"fee_p96": "37",
"fee_p97": "37",
"fee_p98": "37",
"fee_p99": "37",
"fee_p99_9": "37",
"fee_p99_99": "37",
"fee_p99_999": "37",
"limit_mean": "37",
"limit_median": "37",
"limit_min": "37",
"limit_max": "37",
"limit_p5": "37",
"limit_p10": "37",
"limit_p15": "37",
"limit_p20": "37",
"limit_p25": "37",
"limit_p30": "37",
"limit_p35": "37",
"limit_p40": "37",
"limit_p45": "37",
"limit_p50": "37",
"limit_p55": "37",
"limit_p60": "37",
"limit_p65": "37",
"limit_p70": "37",
"limit_p75": "37",
"limit_p80": "37",
"limit_p85": "37",
"limit_p90": "37",
"limit_p95": "37",
"limit_p96": "37",
"limit_p97": "37",
"limit_p98": "37",
"limit_p99": "37",
"limit_p99_9": "37",
"limit_p99_99": "37",
"limit_p99_999": "37",
"data_points": "37",
"is_valid": false,
"position_mean": "0.00001942",
"position_median": "0.00001942",
"position_min": "0.00001942",
"position_max": "0.00001942",
"position_p5": "0.00001942",
"position_p10": "0.00001942",
"position_p15": "0.00001942",
"position_p20": "0.00001942",
"position_p25": "0.00001942",
"position_p30": "0.00001942",
"position_p35": "0.00001942",
"position_p40": "0.00001942",
"position_p45": "0.00001942",
"position_p50": "0.00001942",
"position_p55": "0.00001942",
"position_p60": "0.00001942",
"position_p65": "0.00001942",
"position_p70": "0.00001942",
"position_p75": "0.00001942",
"position_p80": "0.00001942",
"position_p85": "0.00001942",
"position_p90": "0.00001942",
"position_p95": "0.00001942",
"position_p96": "0.00001942",
"position_p97": "0.00001942",
"position_p98": "0.00001942",
"position_p99": "0.00001942",
"position_p99_9": "0.00001942",
"position_p99_99": "0.00001942",
"position_p99_999": "0.00001942",
"position_spread": "0.00001942",
"position_at_fee_p25": "0.00001942",
"position_at_fee_p50": "0.00001942",
"position_at_fee_p65": "0.00001942",
"position_at_fee_p70": "0.00001942",
"position_at_fee_p75": "0.00001942",
"position_at_fee_p85": "0.00001942",
"position_at_fee_p90": "0.00001942",
"position_at_fee_p95": "0.00001942",
"position_at_fee_p99": "0.00001942"
}
]
}
]Fields
Numbers come back as strings and timestamps as ISO-8601 strings; every data point carries a stable id. See Data model.
Window start (inclusive).
Window end (exclusive).
Last update time.
Window length, e.g. 5m.
Priority-fee-paying txs in the window.
Txs that paid no priority fee.
All txs in the window.
Total priority fees paid (lamports).
Mean compute-unit price.
Median compute-unit price.
Minimum compute-unit price.
Maximum compute-unit price.
5th-percentile compute-unit price.
10th-percentile compute-unit price.
15th-percentile compute-unit price.
20th-percentile compute-unit price.
25th-percentile compute-unit price.
30th-percentile compute-unit price.
35th-percentile compute-unit price.
40th-percentile compute-unit price.
45th-percentile compute-unit price.
50th-percentile compute-unit price.
55th-percentile compute-unit price.
60th-percentile compute-unit price.
65th-percentile compute-unit price.
70th-percentile compute-unit price.
75th-percentile compute-unit price.
80th-percentile compute-unit price.
85th-percentile compute-unit price.
90th-percentile compute-unit price.
95th-percentile compute-unit price.
96th-percentile compute-unit price.
97th-percentile compute-unit price.
98th-percentile compute-unit price.
99th-percentile compute-unit price.
99.9th-percentile compute-unit price.
99.99th-percentile compute-unit price.
99.999th-percentile compute-unit price.
Mean priority fee.
Median priority fee.
Minimum priority fee.
Maximum priority fee.
5th-percentile priority fee.
10th-percentile priority fee.
15th-percentile priority fee.
20th-percentile priority fee.
25th-percentile priority fee.
30th-percentile priority fee.
35th-percentile priority fee.
40th-percentile priority fee.
45th-percentile priority fee.
50th-percentile priority fee.
55th-percentile priority fee.
60th-percentile priority fee.
65th-percentile priority fee.
70th-percentile priority fee.
75th-percentile priority fee.
80th-percentile priority fee.
85th-percentile priority fee.
90th-percentile priority fee.
95th-percentile priority fee.
96th-percentile priority fee.
97th-percentile priority fee.
98th-percentile priority fee.
99th-percentile priority fee.
99.9th-percentile priority fee.
99.99th-percentile priority fee.
99.999th-percentile priority fee.
Mean compute-unit limit.
Median compute-unit limit.
Minimum compute-unit limit.
Maximum compute-unit limit.
5th-percentile compute-unit limit.
10th-percentile compute-unit limit.
15th-percentile compute-unit limit.
20th-percentile compute-unit limit.
25th-percentile compute-unit limit.
30th-percentile compute-unit limit.
35th-percentile compute-unit limit.
40th-percentile compute-unit limit.
45th-percentile compute-unit limit.
50th-percentile compute-unit limit.
55th-percentile compute-unit limit.
60th-percentile compute-unit limit.
65th-percentile compute-unit limit.
70th-percentile compute-unit limit.
75th-percentile compute-unit limit.
80th-percentile compute-unit limit.
85th-percentile compute-unit limit.
90th-percentile compute-unit limit.
95th-percentile compute-unit limit.
96th-percentile compute-unit limit.
97th-percentile compute-unit limit.
98th-percentile compute-unit limit.
99th-percentile compute-unit limit.
99.9th-percentile compute-unit limit.
99.99th-percentile compute-unit limit.
99.999th-percentile compute-unit limit.
Samples folded in.
Window met the minimum sample count.
Mean within-block position.
Median within-block position.
Minimum within-block position.
Maximum within-block position.
5th-percentile within-block position.
10th-percentile within-block position.
15th-percentile within-block position.
20th-percentile within-block position.
25th-percentile within-block position.
30th-percentile within-block position.
35th-percentile within-block position.
40th-percentile within-block position.
45th-percentile within-block position.
50th-percentile within-block position.
55th-percentile within-block position.
60th-percentile within-block position.
65th-percentile within-block position.
70th-percentile within-block position.
75th-percentile within-block position.
80th-percentile within-block position.
85th-percentile within-block position.
90th-percentile within-block position.
95th-percentile within-block position.
96th-percentile within-block position.
97th-percentile within-block position.
98th-percentile within-block position.
99th-percentile within-block position.
99.9th-percentile within-block position.
99.99th-percentile within-block position.
99.999th-percentile within-block position.
Max minus min within-block position.
Mean within-block position of txs landing in the 25th fee percentile.
Mean within-block position of txs landing in the 50th fee percentile.
Mean within-block position of txs landing in the 65th fee percentile.
Mean within-block position of txs landing in the 70th fee percentile.
Mean within-block position of txs landing in the 75th fee percentile.
Mean within-block position of txs landing in the 85th fee percentile.
Mean within-block position of txs landing in the 90th fee percentile.
Mean within-block position of txs landing in the 95th fee percentile.
Mean within-block position of txs landing in the 99th fee percentile.
Errors
Invalid parameters return -32602; an unknown method returns -32601. See Errors for the full table.
