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

# Get finalized user open orders

> Read a user's finalized open-order snapshot and replay cursor.

<ParamField path="userId" type="string" required>
  Unsigned decimal Kuru user ID.
</ParamField>

<ResponseField name="feedEpoch" type="integer | null" required>
  Feed epoch containing `globalUserSeq`.
</ResponseField>

<ResponseField name="data" type="array" required>
  Up to 2,000 open orders, ordered by market address and then order ID.
</ResponseField>

<ResponseField name="globalUserSeq" type="string | null" required>
  Finalized user sequence covered by the snapshot.
</ResponseField>

<ResponseField name="truncated" type="boolean" required>
  `true` when additional open orders were omitted.
</ResponseField>

`price` is an integer in market price precision (pp). `remainingSize` uses the
market's native size precision. `minSizeAfterBlock` is the block height after
which reduce-after-block behavior applies.

When both cursor fields are non-null, install this snapshot and subscribe to
`userOrders@f` with the same `feedEpoch` and `globalUserSeq`.

<ResponseExample>
  ```json 200 theme={null}
  {
    "feedEpoch": 18,
    "data": [],
    "state": "finalized",
    "servedView": "finalized",
    "globalUserSeq": null,
    "truncated": false
  }
  ```
</ResponseExample>


## OpenAPI

````yaml api/data-source/openapi.yaml GET /api/v1/users/{userId}/orders
openapi: 3.1.0
info:
  title: Kuru Data Source API
  version: 1.0.0
servers:
  - url: https://api.mainnet.kuru.io
    description: Monad mainnet (default)
  - url: https://api.testnet.kuru.io
    description: Monad testnet
security: []
paths:
  /api/v1/users/{userId}/orders:
    get:
      summary: Get user orders
      operationId: getUserOrders
      parameters:
        - name: userId
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: User orders

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.