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

# Get user positions

> Returns a paginated list of active token positions held by a specific user on the specified platform.



## OpenAPI

````yaml GET /v1/api/profile/positions
openapi: 3.1.0
info:
  title: Dot Prediction API
  description: >-
    A unified API for accessing prediction market data across Kalshi,
    Polymarket, and Limitless.
  version: 1.0.0
servers:
  - url: https://api.dotprediction.io
security:
  - apiKey: []
paths:
  /v1/api/profile/positions:
    get:
      tags:
        - Profiles
      summary: Get user positions
      description: >-
        Returns a paginated list of active token positions held by a specific
        user on the specified platform.
      operationId: getUserPositions
      parameters:
        - name: provider
          in: query
          required: true
          description: The prediction market platform.
          schema:
            type: string
            enum:
              - kalshi
              - polymarket
        - name: user
          in: query
          required: true
          description: The user identifier on the platform (username or address).
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Maximum number of positions to return.
          schema:
            type: string
        - name: cursor
          in: query
          required: false
          description: Pagination cursor from a previous response.
          schema:
            type: string
      responses:
        '200':
          description: A paginated list of user positions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfilePositionsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    ProfilePositionsResponse:
      type: object
      properties:
        user:
          type: string
          description: User identifier.
        positions:
          type: array
          items:
            $ref: '#/components/schemas/Position'
          description: List of active positions.
        pagination:
          $ref: '#/components/schemas/Pagination'
    Position:
      type: object
      properties:
        token_id:
          type: string
          description: Token identifier for this position.
        market_id:
          type: string
          description: Market this position belongs to.
        title:
          type: string
          description: Market title.
        shares:
          type: number
          description: Raw shares held.
        shares_normalized:
          type: number
          description: Normalized shares (human-readable).
        redeemable:
          type: boolean
          description: Whether this position can be redeemed.
        market_status:
          type: string
          description: Current market status (e.g., open, closed, resolved).
        label:
          type: string
          description: Outcome label (e.g., Yes, No).
        winning_outcome:
          type: string
          nullable: true
          description: Winning outcome if market is resolved, null otherwise.
    Pagination:
      type: object
      properties:
        total:
          type: integer
          description: Total number of results.
        limit:
          type: integer
          description: Number of results per page.
        has_more:
          type: boolean
          description: Whether more results are available.
        next_cursor:
          type: string
          nullable: true
          description: Cursor to use for the next page. `null` if no more results.
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            status:
              type: integer
              description: HTTP status code.
            message:
              type: string
              description: Human-readable error message.
            resolution:
              type: string
              description: Suggested action to resolve the error.
            error_text:
              type: string
              description: Detailed error information.
  responses:
    BadRequest:
      description: Invalid request parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Rate limit exceeded. Check the `Retry-After` header.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Generate one via the dashboard or the
        `/v1/api/auth/api-keys` endpoint.

````