raptor.trade

recommendation

Tiered priority-fee recommendations.

Suggested compute-unit price, fee, and limit across six urgency tiers, each with expected landing rank and inclusion probability. Built on the fast sub-minute windows for real-time fee setting.

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: 1s, 10s, 30s, 1m, 3m, 5m, 15m.

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::recommendation",
  "params": {
    "window": "1m"
  }
}'

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,
        "timestamp": "2026-06-01T02:16:22.000000000Z",
        "window_duration": "PT1M",
        "window_start": "2026-06-01T02:16:22.000000000Z",
        "window_end": "2026-06-01T02:16:22.000000000Z",
        "tx_count": "37",
        "no_priority_tx_count": "37",
        "total_tx_count": "37",
        "data_points": "37",
        "is_valid": true,
        "min_price": "37",
        "min_fee": "37",
        "min_cu_limit": "37",
        "min_landing_rank_pct": "0.00001942",
        "min_landing_inclusion_pct": "0.00001942",
        "low_price": "37",
        "low_fee": "37",
        "low_cu_limit": "37",
        "low_landing_rank_pct": "0.00001942",
        "low_landing_inclusion_pct": "0.00001942",
        "medium_price": "37",
        "medium_fee": "37",
        "medium_cu_limit": "37",
        "medium_landing_rank_pct": "0.00001942",
        "medium_landing_inclusion_pct": "0.00001942",
        "high_price": "37",
        "high_fee": "37",
        "high_cu_limit": "37",
        "high_landing_rank_pct": "0.00001942",
        "high_landing_inclusion_pct": "0.00001942",
        "very_high_price": "37",
        "very_high_fee": "37",
        "very_high_cu_limit": "37",
        "very_high_landing_rank_pct": "0.00001942",
        "very_high_landing_inclusion_pct": "0.00001942",
        "max_price": "37",
        "max_fee": "37",
        "max_cu_limit": "37",
        "max_landing_rank_pct": "0.00001942",
        "max_landing_inclusion_pct": "0.00001942",
        "median_block_fill_pct": "0.62",
        "saturated_block_share_pct": "0.18",
        "fee_volatility": "0.34",
        "avg_cu_per_tx": "37"
      }
    ]
  }
]

Fields

Numbers come back as strings and timestamps as ISO-8601 strings; every data point carries a stable id. See Data model.

timestampDateTime

Last update time.

window_durationDuration

Window length, e.g. 5m.

window_startDateTime

Window start (inclusive).

window_endDateTime

Window end (exclusive).

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.

data_pointsUint4

Samples folded in.

is_validBoolean

Window met the minimum sample count.

min_priceUint8

Minimum tier: compute-unit price (micro-lamports per CU).

min_feeUint8

Minimum tier: total priority fee (lamports).

min_cu_limitUint8

Minimum tier: suggested compute-unit limit.

min_landing_rank_pctFloat4

Minimum tier: expected within-block rank percentile.

min_landing_inclusion_pctFloat4

Minimum tier: expected inclusion probability.

low_priceUint8

Low tier: compute-unit price (micro-lamports per CU).

low_feeUint8

Low tier: total priority fee (lamports).

low_cu_limitUint8

Low tier: suggested compute-unit limit.

low_landing_rank_pctFloat4

Low tier: expected within-block rank percentile.

low_landing_inclusion_pctFloat4

Low tier: expected inclusion probability.

medium_priceUint8

Medium tier: compute-unit price (micro-lamports per CU).

medium_feeUint8

Medium tier: total priority fee (lamports).

medium_cu_limitUint8

Medium tier: suggested compute-unit limit.

medium_landing_rank_pctFloat4

Medium tier: expected within-block rank percentile.

medium_landing_inclusion_pctFloat4

Medium tier: expected inclusion probability.

high_priceUint8

High tier: compute-unit price (micro-lamports per CU).

high_feeUint8

High tier: total priority fee (lamports).

high_cu_limitUint8

High tier: suggested compute-unit limit.

high_landing_rank_pctFloat4

High tier: expected within-block rank percentile.

high_landing_inclusion_pctFloat4

High tier: expected inclusion probability.

very_high_priceUint8

Very high tier: compute-unit price (micro-lamports per CU).

very_high_feeUint8

Very high tier: total priority fee (lamports).

very_high_cu_limitUint8

Very high tier: suggested compute-unit limit.

very_high_landing_rank_pctFloat4

Very high tier: expected within-block rank percentile.

very_high_landing_inclusion_pctFloat4

Very high tier: expected inclusion probability.

max_priceUint8

Maximum tier: compute-unit price (micro-lamports per CU).

max_feeUint8

Maximum tier: total priority fee (lamports).

max_cu_limitUint8

Maximum tier: suggested compute-unit limit.

max_landing_rank_pctFloat4

Maximum tier: expected within-block rank percentile.

max_landing_inclusion_pctFloat4

Maximum tier: expected inclusion probability.

median_block_fill_pctFloat4

Median block fill across the window.

saturated_block_share_pctFloat4

Share of blocks that were saturated.

fee_volatilityFloat4

Fee volatility over the window.

avg_cu_per_txUint8

Mean compute units per tx.

Errors

Invalid parameters return -32602; an unknown method returns -32601. See Errors for the full table.