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

# Get position volume chart

> Retrieve volume over time for a specific position with buy/sell breakdown



## OpenAPI

````yaml https://api.struct.to/openapi.json get /polymarket/market/position/volume-chart
openapi: 3.1.0
info:
  title: Polymarket API
  description: >-
    RESTful API for querying Polymarket prediction markets data including
    events, markets, traders, holders, and real-time metrics
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.struct.to/v1
security: []
paths:
  /polymarket/market/position/volume-chart:
    get:
      tags:
        - Market
      summary: Get position volume chart
      description: >-
        Retrieve volume over time for a specific position with buy/sell
        breakdown
      operationId: get_position_volume_chart
      parameters:
        - name: position_id
          in: query
          description: Position/token ID (required)
          required: true
          schema:
            type: string
        - name: resolution
          in: query
          description: 'Time interval: 1, 5, 15, 30, 60, 240, D, 1D (default: 60)'
          required: false
          schema:
            $ref: '#/components/schemas/CandlestickResolution'
        - name: count_back
          in: query
          description: 'Number of data points (max: 2500)'
          required: false
          schema:
            type: integer
            format: int32
        - name: from
          in: query
          description: Start timestamp (Unix seconds)
          required: false
          schema:
            type: integer
            format: int64
        - name: to
          in: query
          description: End timestamp (Unix seconds)
          required: false
          schema:
            type: integer
            format: int64
        - name: pagination_key
          in: query
          description: Cursor-based pagination key from previous response
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Volume with buy/sell breakdown over time
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PositionVolumeDataPoint'
components:
  schemas:
    CandlestickResolution:
      type: string
      enum:
        - 1S
        - 5S
        - 10S
        - 30S
        - '1'
        - '5'
        - '15'
        - '30'
        - '60'
        - '240'
        - D
        - 1D
    PositionVolumeDataPoint:
      type: object
      required:
        - t
        - v
        - bv
        - sv
        - tc
        - btc
        - stc
      properties:
        t:
          type: integer
          format: int64
        v:
          type: number
          format: double
        bv:
          type: number
          format: double
        sv:
          type: number
          format: double
        tc:
          type: integer
          format: int32
        btc:
          type: integer
          format: int32
        stc:
          type: integer
          format: int32

````