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

# List Positions

> Returns the open Polymarket positions held by the calling actor.



## OpenAPI

````yaml /openapi/v1.json get /v1/polymarket/positions
openapi: 3.0.0
info:
  title: ParlayX API
  version: 1.0.0
  description: Aggregated prediction-market trading API
servers:
  - url: https://api.parlayx.com
security: []
tags:
  - name: Authentication
    description: Confirm your signing and read the server clock.
  - name: Discovery
    description: Browse sports, competitions, events, and markets.
  - name: Polymarket
    description: Submit and manage orders on Polymarket outcomes.
  - name: Kalshi
    description: Submit and manage orders on Kalshi markets.
paths:
  /v1/polymarket/positions:
    get:
      tags:
        - Polymarket
      summary: List Positions
      description: Returns the open Polymarket positions held by the calling actor.
      operationId: listPolymarketPositions
      parameters:
        - name: PX-Key-Id
          in: header
          required: true
          schema:
            type: string
          description: The key id issued for your signing keypair.
        - name: PX-Timestamp
          in: header
          required: true
          schema:
            type: string
          description: >-
            Unix seconds at signing, valid within 30 seconds of the server
            clock.
        - name: PX-Signature
          in: header
          required: true
          schema:
            type: string
          description: Ed25519 signature of the request
        - name: PX-Content-Sha256
          in: header
          required: true
          schema:
            type: string
          description: >-
            Hex SHA-256 of the request body, or the SHA-256 of the empty string
            when there is no body.
        - schema:
            type: string
            minLength: 1
            description: Filter to a single Polymarket outcome token.
          required: false
          name: tokenId
          in: query
      responses:
        '200':
          description: Positions found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPolymarketPositionsResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    ListPolymarketPositionsResponse:
      type: object
      properties:
        positions:
          type: array
          items:
            $ref: '#/components/schemas/PolymarketPosition'
          description: Open positions held by the calling actor, ordered by tokenId.
      required:
        - positions
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              $ref: '#/components/schemas/ApiErrorCode'
            message:
              type: string
              description: Plain-text explanation of the error.
            orderId:
              type: string
              format: uuid
              description: >-
                The affected order, present only on
                ORDER_RECONCILIATION_REQUIRED; read it back to determine whether
                it reached the venue.
          required:
            - code
            - message
      required:
        - error
    PolymarketPosition:
      type: object
      properties:
        tokenId:
          type: string
          minLength: 1
          description: >-
            Polymarket outcome-token id that identifies both the market and the
            outcome.
          example: >-
            71321045679252212594626385532706912750332728571942532289631379312455583992563
        size:
          type: string
          description: Outcome shares held, negative when short.
          example: '120'
        averagePrice:
          type: string
          nullable: true
          description: >-
            Weighted-average entry price of the holding in dollars from 0 to 1,
            or null when flat.
          example: '0.54'
        mark:
          type: string
          nullable: true
          description: >-
            Indicative current price in dollars from 0 to 1, or null when no
            fresh price is available.
          example: '0.62'
        valueUsd:
          type: string
          nullable: true
          description: Current value of the holding in dollars, or null when mark is null.
          example: '74.40'
        unrealizedPnlUsd:
          type: string
          nullable: true
          description: >-
            Unrealized profit or loss in dollars against averagePrice, or null
            when mark is null.
          example: '9.60'
        redeemable:
          type: boolean
          description: >-
            Whether the market has resolved, so the position settles rather than
            trades.
      required:
        - tokenId
        - size
        - averagePrice
        - mark
        - valueUsd
        - unrealizedPnlUsd
        - redeemable
    ApiErrorCode:
      type: string
      enum:
        - INVALID_REQUEST
        - NOT_FOUND
        - INSUFFICIENT_BALANCE
        - IDEMPOTENCY_CONFLICT
        - ORDER_NOT_CANCELLABLE
        - ORDER_RECONCILIATION_REQUIRED
        - INTERNAL_ERROR
      description: Stable identifier for the error category.

````