> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polynode.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Volume History

> Bucketed notional volume and trade counts. `bucket` = 1m,5m,15m,1h,4h,1d.

| Parameter          | Description                                        |
| ------------------ | -------------------------------------------------- |
| `bucket`           | `1m`, `5m`, `15m`, `1h`, `4h`, `1d` (default `1h`) |
| `after` / `before` | Time window (Unix seconds or ms)                   |
| `limit`            | Max buckets (default 200, up to 2000)              |

`notional_volume` is price × quantity summed in USD; `quantity` is base-asset units. Buckets are **newest first**. Rolled up from every archived execution, accruing from July 9, 2026 onward.


## OpenAPI

````yaml GET /v3/perps/volume/{instrument}
openapi: 3.1.0
info:
  title: PolyNode API
  description: >-
    Real-time Polymarket data API with decoded mempool settlements, OHLCV
    candles, and full Polygon JSON-RPC proxy.
  contact:
    name: PolyNode
    url: https://polynode.dev
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.polynode.dev
    description: Production
security:
  - api_key: []
paths:
  /v3/perps/volume/{instrument}:
    get:
      tags:
        - Perps
      summary: Volume history
      description: >-
        Bucketed notional volume and trade counts. `bucket` =
        1m,5m,15m,1h,4h,1d.
      operationId: perps_volume
      parameters:
        - name: instrument
          in: path
          required: true
          description: Instrument id (e.g. `6`), symbol (`BTC-USD`), or bare asset (`btc`).
          schema:
            type: string
        - name: bucket
          in: query
          required: false
          description: Bucket size (default 1h).
          schema:
            type: string
        - name: after
          in: query
          required: false
          description: Only rows after this time (Unix seconds or ms).
          schema:
            type: string
        - name: before
          in: query
          required: false
          description: Only rows before this time (Unix seconds or ms).
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Max rows to return.
          schema:
            type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                bucket: 1h
                data:
                  - notional_volume: '88142.80821'
                    quantity: '1.37503'
                    timestamp: 1783738800000
                    trade_count: 258
                  - notional_volume: '186684.57225'
                    quantity: '2.91545'
                    timestamp: 1783735200000
                    trade_count: 514
                instrument_id: 6
                more: true
                symbol: BTC-USD
components:
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key

````