> ## 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.

# Positioning

> Aggregate positioning for one instrument across all tracked accounts, over time: total long size, total short size, and the net. Answers 'is the crowd long or short, and how is that shifting' — impossible from Polymarket's per-account API.

How the whole market is positioned on one instrument, over time. Each row is a point in time with the total **long** size, total **short** size, and the **net** across every tracked account. Watch the net flip, or watch one side build up ahead of a move.

Add `after` / `before` (Unix seconds or milliseconds) to bound the window, and `limit` for the number of points.

This is a cross-account aggregate. Polymarket's API only exposes one account at a time and keeps no history, so this view doesn't exist there at all.


## OpenAPI

````yaml GET /v3/perps/positioning/{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/positioning/{instrument}:
    get:
      tags:
        - Perps
      summary: Positioning over time
      description: >-
        Aggregate positioning for one instrument across all tracked accounts,
        over time: total long size, total short size, and the net. Answers 'is
        the crowd long or short, and how is that shifting' — impossible from
        Polymarket's per-account API.
      operationId: perps_positioning
      parameters:
        - name: instrument
          in: path
          required: true
          description: Instrument id (`6`), symbol (`BTC-USD`), or bare asset (`btc`).
          schema:
            type: string
        - name: after
          in: query
          required: false
          description: Window start (Unix s or ms)
          schema:
            type: integer
        - name: before
          in: query
          required: false
          description: Window end
          schema:
            type: integer
        - name: limit
          in: query
          required: false
          description: Max snapshots (default 500)
          schema:
            type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                  - long_size: '2.35002'
                    net_size: '-0.81676'
                    positions: 28
                    short_size: '3.16678'
                    snapshot_ts: 1783602083934
                  - long_size: '2.35002'
                    net_size: '-0.81676'
                    positions: 28
                    short_size: '3.16678'
                    snapshot_ts: 1783601483559
                instrument_id: 6
                symbol: BTC-USD
components:
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key

````