Account Data

Get Open Orders

Retrieve information about currently open orders.

API Key Permissions Required: Orders and trades - Query open orders & trades

post/private/OpenOrders

Request

  • Base URL: https://api.kraken.com/0
  • URL: https://api.kraken.com/0/private/OpenOrders
  • Auth: API key in header API-Key and API key in header API-Sign

Query parameters

account_idstring

Public wallet account ID. Omit to use the authenticated user's default wallet. See List Wallet Accounts.

Request body

nonceinteger required

Nonce used in construction of API-Sign header

tradesboolean

Whether or not to include trades related to position in output

userrefinteger

Restrict results to given user reference

cl_ord_idstring

Restrict results to given client order id

consolidate_takerboolean

Whether or not to consolidate trades by individual taker trades

with_cursorboolean

Use cursor-based pagination. Each page then holds at most limit orders, and the response includes cursor.next when more orders are available.

limitinteger

Maximum number of orders to return. When with_cursor is true, defaults to 50 and values above 100 are rejected. Otherwise all open orders are returned unless limit is set (capped at 1000).

cursorstring

Opaque pagination token from cursor.next of the previous page. Requires with_cursor.

rebase_multiplier'rebased' | 'base' nullable

Optional parameter for viewing xStocks data.

  • rebased: Display in terms of underlying equity.
  • base: Display in terms of SPV tokens.

Example request

{
  "nonce": 1234567,
  "trades": true,
  "cl_ord_id": "9cc788d8-9c00-4b25-94d3-26d93603948d"
}

Response

Open orders info retrieved.

errorstring[]

Example response

{
  "error": [
    "EGeneral:Invalid arguments"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.