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

# Get open orders

> Get all open orders for the authenticated user



## OpenAPI

````yaml api-reference/oapi-schemas/orders-schema.json get /v1/orders/open
openapi: 3.0.1
info:
  title: Orders API
  description: Order management endpoints for trading
  version: v1.0.0
servers:
  - url: https://api.polymarket.us
security: []
tags:
  - name: Orders
paths:
  /v1/orders/open:
    get:
      tags:
        - Orders
      summary: Get open orders
      description: Get all open orders for the authenticated user
      operationId: OrdersService_GetOpenOrders
      parameters:
        - name: slugs
          in: query
          description: List of market slugs to filter by
          required: false
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          description: List of open orders
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOpenOrdersResponse'
        '401':
          description: Unauthorized - invalid or missing API key
        '500':
          description: Internal server error
components:
  schemas:
    GetOpenOrdersResponse:
      type: object
      properties:
        orders:
          type: array
          items:
            $ref: '#/components/schemas/Order'
          description: List of open orders
    Order:
      type: object
      properties:
        id:
          type: string
          description: Exchange-assigned order ID
        market_slug:
          type: string
          description: Market slug for this order
        side:
          $ref: '#/components/schemas/OrderSide'
        type:
          $ref: '#/components/schemas/OrderType'
        price:
          $ref: '#/components/schemas/Amount'
        quantity:
          type: number
          format: double
          description: Order quantity in shares
        cumQuantity:
          type: number
          format: double
          description: Cumulative filled quantity
        leavesQuantity:
          type: number
          format: double
          description: Remaining unfilled quantity
        tif:
          $ref: '#/components/schemas/TimeInForce'
        goodTillTime:
          type: string
          format: date-time
          description: Expiration time for GTD orders
        intent:
          $ref: '#/components/schemas/OrderIntent'
        marketMetadata:
          $ref: '#/components/schemas/MarketMetadata'
        state:
          $ref: '#/components/schemas/OrderState'
        avgPx:
          $ref: '#/components/schemas/Amount'
          description: Average fill price
        insertTime:
          type: string
          format: date-time
          description: Time order was inserted into the book
        createTime:
          type: string
          format: date-time
          description: Time order was created
    OrderSide:
      type: integer
      enum:
        - 1
        - 2
      description: 'Side of the order: 1 = BUY, 2 = SELL'
    OrderType:
      type: integer
      enum:
        - 1
        - 2
      description: 'Type of order: 1 = LIMIT, 2 = MARKET'
    Amount:
      type: object
      required:
        - value
        - currency
      properties:
        value:
          type: string
          format: decimal
          example: '0.55'
          description: The amount as a decimal string
        currency:
          type: string
          example: USD
          description: The currency code
      description: Represents a monetary amount with its currency
    TimeInForce:
      type: integer
      enum:
        - 1
        - 2
        - 3
        - 4
      description: >-
        Time in force: 1 = GTC (Good Till Cancel), 2 = GTD (Good Till Date), 3 =
        IOC (Immediate or Cancel), 4 = FOK (Fill or Kill)
    OrderIntent:
      type: integer
      enum:
        - 1
        - 2
        - 3
        - 4
      description: 'Intent of the order: 1 = BUY_YES, 2 = SELL_YES, 3 = BUY_NO, 4 = SELL_NO'
    MarketMetadata:
      type: object
      properties:
        slug:
          type: string
          description: Market slug
        icon:
          type: string
          description: Market image URL
        title:
          type: string
          description: Market title
        outcome:
          type: string
          description: Market outcome
        eventSlug:
          type: string
          description: Event slug
    OrderState:
      type: integer
      description: >-
        Current state of the order: 1 = PARTIALLY_FILLED, 2 = FILLED, 3 =
        CANCELED, 4 = REPLACED, 5 = REJECTED, 6 = EXPIRED, 7 = PENDING_NEW, 8 =
        PENDING_REPLACE, 9 = PENDING_CANCEL, 10 = PENDING_RISK

````