raptor.trade

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

Connect your wallet to send this request against the live API and see the response inline.

Parameters

windowrequired
enum

Aggregation window. One of: 1m, 5m, 15m, 1h.

limitoptional
integer

Maximum data points (1-1000, default 1). Query only; ignored when streaming.

Request

Transport
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_startDateTime

Window start (inclusive).

window_endDateTime

Window end (exclusive).

timestampDateTime

Last update time.

window_durationDuration

Window length, e.g. 5m.

tx_countUint4

Priority-fee-paying txs in the window.

no_priority_tx_countUint4

Txs that paid no priority fee.

total_tx_countUint4

All txs in the window.

total_priority_feesUint8

Total priority fees paid (lamports).

price_meanUint8

Mean compute-unit price.

price_medianUint8

Median compute-unit price.

price_minUint8

Minimum compute-unit price.

price_maxUint8

Maximum compute-unit price.

price_p5Uint8

5th-percentile compute-unit price.

price_p10Uint8

10th-percentile compute-unit price.

price_p15Uint8

15th-percentile compute-unit price.

price_p20Uint8

20th-percentile compute-unit price.

price_p25Uint8

25th-percentile compute-unit price.

price_p30Uint8

30th-percentile compute-unit price.

price_p35Uint8

35th-percentile compute-unit price.

price_p40Uint8

40th-percentile compute-unit price.

price_p45Uint8

45th-percentile compute-unit price.

price_p50Uint8

50th-percentile compute-unit price.

price_p55Uint8

55th-percentile compute-unit price.

price_p60Uint8

60th-percentile compute-unit price.

price_p65Uint8

65th-percentile compute-unit price.

price_p70Uint8

70th-percentile compute-unit price.

price_p75Uint8

75th-percentile compute-unit price.

price_p80Uint8

80th-percentile compute-unit price.

price_p85Uint8

85th-percentile compute-unit price.

price_p90Uint8

90th-percentile compute-unit price.

price_p95Uint8

95th-percentile compute-unit price.

price_p96Uint8

96th-percentile compute-unit price.

price_p97Uint8

97th-percentile compute-unit price.

price_p98Uint8

98th-percentile compute-unit price.

price_p99Uint8

99th-percentile compute-unit price.

price_p99_9Uint8

99.9th-percentile compute-unit price.

price_p99_99Uint8

99.99th-percentile compute-unit price.

price_p99_999Uint8

99.999th-percentile compute-unit price.

fee_meanUint8

Mean priority fee.

fee_medianUint8

Median priority fee.

fee_minUint8

Minimum priority fee.

fee_maxUint8

Maximum priority fee.

fee_p5Uint8

5th-percentile priority fee.

fee_p10Uint8

10th-percentile priority fee.

fee_p15Uint8

15th-percentile priority fee.

fee_p20Uint8

20th-percentile priority fee.

fee_p25Uint8

25th-percentile priority fee.

fee_p30Uint8

30th-percentile priority fee.

fee_p35Uint8

35th-percentile priority fee.

fee_p40Uint8

40th-percentile priority fee.

fee_p45Uint8

45th-percentile priority fee.

fee_p50Uint8

50th-percentile priority fee.

fee_p55Uint8

55th-percentile priority fee.

fee_p60Uint8

60th-percentile priority fee.

fee_p65Uint8

65th-percentile priority fee.

fee_p70Uint8

70th-percentile priority fee.

fee_p75Uint8

75th-percentile priority fee.

fee_p80Uint8

80th-percentile priority fee.

fee_p85Uint8

85th-percentile priority fee.

fee_p90Uint8

90th-percentile priority fee.

fee_p95Uint8

95th-percentile priority fee.

fee_p96Uint8

96th-percentile priority fee.

fee_p97Uint8

97th-percentile priority fee.

fee_p98Uint8

98th-percentile priority fee.

fee_p99Uint8

99th-percentile priority fee.

fee_p99_9Uint8

99.9th-percentile priority fee.

fee_p99_99Uint8

99.99th-percentile priority fee.

fee_p99_999Uint8

99.999th-percentile priority fee.

limit_meanUint8

Mean compute-unit limit.

limit_medianUint8

Median compute-unit limit.

limit_minUint8

Minimum compute-unit limit.

limit_maxUint8

Maximum compute-unit limit.

limit_p5Uint8

5th-percentile compute-unit limit.

limit_p10Uint8

10th-percentile compute-unit limit.

limit_p15Uint8

15th-percentile compute-unit limit.

limit_p20Uint8

20th-percentile compute-unit limit.

limit_p25Uint8

25th-percentile compute-unit limit.

limit_p30Uint8

30th-percentile compute-unit limit.

limit_p35Uint8

35th-percentile compute-unit limit.

limit_p40Uint8

40th-percentile compute-unit limit.

limit_p45Uint8

45th-percentile compute-unit limit.

limit_p50Uint8

50th-percentile compute-unit limit.

limit_p55Uint8

55th-percentile compute-unit limit.

limit_p60Uint8

60th-percentile compute-unit limit.

limit_p65Uint8

65th-percentile compute-unit limit.

limit_p70Uint8

70th-percentile compute-unit limit.

limit_p75Uint8

75th-percentile compute-unit limit.

limit_p80Uint8

80th-percentile compute-unit limit.

limit_p85Uint8

85th-percentile compute-unit limit.

limit_p90Uint8

90th-percentile compute-unit limit.

limit_p95Uint8

95th-percentile compute-unit limit.

limit_p96Uint8

96th-percentile compute-unit limit.

limit_p97Uint8

97th-percentile compute-unit limit.

limit_p98Uint8

98th-percentile compute-unit limit.

limit_p99Uint8

99th-percentile compute-unit limit.

limit_p99_9Uint8

99.9th-percentile compute-unit limit.

limit_p99_99Uint8

99.99th-percentile compute-unit limit.

limit_p99_999Uint8

99.999th-percentile compute-unit limit.

data_pointsUint4

Samples folded in.

is_validBoolean

Window met the minimum sample count.

position_meanFloat4

Mean within-block position.

position_medianFloat4

Median within-block position.

position_minFloat4

Minimum within-block position.

position_maxFloat4

Maximum within-block position.

position_p5Float4

5th-percentile within-block position.

position_p10Float4

10th-percentile within-block position.

position_p15Float4

15th-percentile within-block position.

position_p20Float4

20th-percentile within-block position.

position_p25Float4

25th-percentile within-block position.

position_p30Float4

30th-percentile within-block position.

position_p35Float4

35th-percentile within-block position.

position_p40Float4

40th-percentile within-block position.

position_p45Float4

45th-percentile within-block position.

position_p50Float4

50th-percentile within-block position.

position_p55Float4

55th-percentile within-block position.

position_p60Float4

60th-percentile within-block position.

position_p65Float4

65th-percentile within-block position.

position_p70Float4

70th-percentile within-block position.

position_p75Float4

75th-percentile within-block position.

position_p80Float4

80th-percentile within-block position.

position_p85Float4

85th-percentile within-block position.

position_p90Float4

90th-percentile within-block position.

position_p95Float4

95th-percentile within-block position.

position_p96Float4

96th-percentile within-block position.

position_p97Float4

97th-percentile within-block position.

position_p98Float4

98th-percentile within-block position.

position_p99Float4

99th-percentile within-block position.

position_p99_9Float4

99.9th-percentile within-block position.

position_p99_99Float4

99.99th-percentile within-block position.

position_p99_999Float4

99.999th-percentile within-block position.

position_spreadFloat4

Max minus min within-block position.

position_at_fee_p25Float4

Mean within-block position of txs landing in the 25th fee percentile.

position_at_fee_p50Float4

Mean within-block position of txs landing in the 50th fee percentile.

position_at_fee_p65Float4

Mean within-block position of txs landing in the 65th fee percentile.

position_at_fee_p70Float4

Mean within-block position of txs landing in the 70th fee percentile.

position_at_fee_p75Float4

Mean within-block position of txs landing in the 75th fee percentile.

position_at_fee_p85Float4

Mean within-block position of txs landing in the 85th fee percentile.

position_at_fee_p90Float4

Mean within-block position of txs landing in the 90th fee percentile.

position_at_fee_p95Float4

Mean within-block position of txs landing in the 95th fee percentile.

position_at_fee_p99Float4

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.