Account Data

Query Orders Info

Retrieve information about specific orders.

API Key Permissions Required: Orders and trades - Query open orders & trades or Orders and trades - Query closed orders & trades, depending on status of order

post/private/QueryOrders

Request

  • Base URL: https://api.kraken.com/0
  • URL: https://api.kraken.com/0/private/QueryOrders
  • 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 id

txidstring required

The Kraken order identifier. To query multiple orders, use comma delimited list of up to 50 ids.

cl_ord_idstring

Restrict results to given client order id

consolidate_takerboolean

Whether or not to consolidate trades by individual taker trades

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.

Response

Orders info retrieved.

resultobject

Orders keyed by txid.

errorstring[]

Example response

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

Changes

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