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

# Get user orders

> Returns paginated orders for the authenticated user with venue market details.



## OpenAPI

````yaml /openapi/openapi.json get /execution/orders
openapi: 3.0.2
info:
  title: AGG API
  version: 1.0.0
  description: >-
    Prediction market aggregator REST API — authentication, users, venue events,
    venue markets, orderbooks, charts, and execution workflows.
servers:
  - url: https://api.agg.market
    description: Production
  - url: https://api.staging.agg.market
    description: Staging
security: []
paths:
  /execution/orders:
    get:
      tags:
        - Users
      summary: Get user orders
      description: >-
        Returns paginated orders for the authenticated user with venue market
        details.
      operationId: getOrders
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - nextCursor
                  - hasMore
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      required:
                        - id
                        - quoteId
                        - venue
                        - status
                        - side
                        - amountRaw
                        - limitPriceRaw
                        - timeInForce
                        - expiresAt
                        - slippageBps
                        - quotedPriceRaw
                        - quotedCostRaw
                        - quotedSharesRaw
                        - quotedToWinRaw
                        - filledAmountRaw
                        - executionPrice
                        - actualSharesRaw
                        - actualToWinRaw
                        - partialFillReason
                        - txHash
                        - errorMessage
                        - dagRunId
                        - createdAt
                        - updatedAt
                        - venueMarket
                        - venueMarketOutcome
                      properties:
                        id:
                          type: string
                        quoteId:
                          type: string
                          nullable: true
                        venue:
                          type: string
                          enum:
                            - kalshi
                            - polymarket
                            - limitless
                            - opinion
                            - predict
                            - probable
                            - myriad
                            - hyperliquid
                        status:
                          type: string
                        side:
                          type: string
                        amountRaw:
                          type: string
                        orderType:
                          type: string
                          enum:
                            - market
                            - limit
                        limitPriceRaw:
                          type: string
                          nullable: true
                        limitSizeRaw:
                          type: string
                          nullable: true
                        timeInForce:
                          type: string
                          enum:
                            - GTC
                            - GTD
                            - FOK
                            - FAK
                            - IOC
                            - ALO
                          nullable: true
                        postOnly:
                          type: boolean
                        expiresAt:
                          format: date-time
                          type: string
                          nullable: true
                        reservedCostRaw:
                          type: string
                          nullable: true
                        filledSizeRaw:
                          type: string
                          nullable: true
                        filledCostRaw:
                          type: string
                          nullable: true
                        remainingSizeRaw:
                          type: string
                          nullable: true
                        averageFillPriceRaw:
                          type: string
                          nullable: true
                        venueOrderId:
                          type: string
                          nullable: true
                        cancelRequestedAt:
                          type: string
                          nullable: true
                        cancelledAt:
                          type: string
                          nullable: true
                        slippageBps:
                          type: number
                          nullable: true
                        quotedPriceRaw:
                          type: string
                          nullable: true
                        quotedCostRaw:
                          type: string
                          nullable: true
                        quotedSharesRaw:
                          type: string
                          nullable: true
                        quotedToWinRaw:
                          type: string
                          nullable: true
                        filledAmountRaw:
                          type: string
                          nullable: true
                        executionPrice:
                          type: string
                          nullable: true
                        actualSharesRaw:
                          type: string
                          nullable: true
                        actualToWinRaw:
                          type: string
                          nullable: true
                        partialFillReason:
                          type: string
                          nullable: true
                        txHash:
                          type: string
                          nullable: true
                        errorMessage:
                          type: string
                          nullable: true
                        dagRunId:
                          type: string
                          nullable: true
                        createdAt:
                          type: string
                        updatedAt:
                          type: string
                        venueMarket:
                          type: object
                          required:
                            - id
                            - venueEventId
                            - question
                            - image
                          properties:
                            id:
                              type: string
                            venueEventId:
                              type: string
                            question:
                              type: string
                            image:
                              type: string
                              nullable: true
                          nullable: true
                        venueMarketOutcome:
                          type: object
                          required:
                            - label
                            - title
                          properties:
                            label:
                              type: string
                            title:
                              type: string
                              nullable: true
                          nullable: true
                  nextCursor:
                    type: string
                    nullable: true
                  hasMore:
                    type: boolean
        '401':
          description: '401'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
        '403':
          description: '403'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
      security:
        - appId: []
          bearerAuth: []
components:
  securitySchemes:
    appId:
      type: apiKey
      in: header
      name: x-app-id
      description: Your application ID. Required for all app-tier and user-tier routes.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT access token returned by POST /auth/verify. Required for user-tier
        routes.

````