raptor.trade

block

Per-block trade aggregate with USD pricing.

Block-level trade summary including USD-denominated VWAP, range, and volume.

Try it

Sign in to run live

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

Parameters

baseoptional
string

Filter to a base token mint (base58). Omit to return every pair on the market.

quoteoptional
string

Filter to a quote token mint (base58).

limitoptional
integer

Maximum data points (1-1000, default 100). 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::market::block",
  "params": {
    "base": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
    "limit": 10
  }
}'

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,
        "slot": "37",
        "timestamp": "2026-06-01T02:16:22.000000000Z",
        "base": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
        "quote": "So11111111111111111111111111111111111111112",
        "vwap": "0.00001942",
        "vwap_raw": "0.00001942",
        "min": "0.00001942",
        "max": "0.00001942",
        "base_volume": "48210.7531",
        "quote_volume": "48210.7531",
        "total_volume": "48210.7531",
        "buy_volume": "48210.7531",
        "sell_volume": "48210.7531",
        "num_swaps": "37",
        "buy_swaps": "37",
        "sell_swaps": "37",
        "quote_usd_price": "0.000019",
        "vwap_usd": "0.000019",
        "vwap_usd_raw": "0.000019",
        "min_usd": "0.000019",
        "max_usd": "0.000019",
        "volume_usd": "48210.7531",
        "buy_volume_usd": "48210.7531",
        "sell_volume_usd": "48210.7531",
        "outlier_count": "37",
        "outlier_volume_pct": "48210.7531"
      }
    ]
  }
]

Fields

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

slotUint8

Solana slot (block).

timestampDateTime

Block time.

baseUtf8

Base token mint.

quoteUtf8

Quote token mint.

vwapFloat8

Volume-weighted average price.

vwap_rawFloat8

VWAP before outlier trimming.

minFloat8

Minimum trade price.

maxFloat8

Maximum trade price.

base_volumeFloat8

Base volume in the block.

quote_volumeFloat8

Quote volume in the block.

total_volumeFloat8

Total base volume.

buy_volumeFloat8

Buy-side base volume.

sell_volumeFloat8

Sell-side base volume.

num_swapsUint4

Trades in the block.

buy_swapsUint4

Buy trades.

sell_swapsUint4

Sell trades.

quote_usd_priceFloat8

Quote token price in USD.

vwap_usdFloat8

VWAP in USD.

vwap_usd_rawFloat8

USD VWAP before trimming.

min_usdFloat8

Minimum price in USD.

max_usdFloat8

Maximum price in USD.

volume_usdFloat8

Total volume in USD.

buy_volume_usdFloat8

Buy volume in USD.

sell_volume_usdFloat8

Sell volume in USD.

outlier_countUint4

Trades flagged as outliers.

outlier_volume_pctFloat4

Outlier share of volume.

Errors

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