Skip to main content

Get Open Orders

List your current open orders. Only open or un-settled orders are returned.

warning

For all transactions related to the private endpoint, you must authorize before sending your request.

For more information you can check our Authentication V1 article. This endpoint requires the Trade API key permission.

  • pairSymbol is optional; when omitted, open orders for all pairs are returned.

Open Orders​

GET /api/v1/openOrders

Query Parameters​

NameTypeDescription
pairSymbolstringBTCUSDT, ETHUSDT etc.

Headers​

NameTypeDescription
X-PCK*stringAPI public key.
X-Stamp*integerCurrent time in milliseconds since the Unix epoch (UTC).
X-Signature*stringHMAC-SHA256 signature. See Authentication V1.
X-NonceintegerOptional. Backward tolerance for X-Stamp in milliseconds. Default 5000, maximum 60000.
{
"success": true,
"message": null,
"code": 0,
"data": {
"asks": [
{
"id": 16060235,
"price": "85420.00",
"amount": "0.09733687",
"quantity": "0.09733687",
"stopPrice": "0.00",
"pairSymbol": "BTCUSDT",
"pairSymbolNormalized": "BTC_USDT",
"type": "sell",
"method": "limit",
"orderClientId": "da593000-6eb3-4a1c-ba26-c616122a0210",
"time": 0,
"updateTime": 1591286401373,
"status": "Untouched",
"leftAmount": "0.09733687"
}
],
"bids": [
{
"id": 16071095,
"price": "85391.00",
"amount": "0.08956055",
"quantity": "0.08956055",
"stopPrice": "0.00",
"pairSymbol": "BTCUSDT",
"pairSymbolNormalized": "BTC_USDT",
"type": "buy",
"method": "limit",
"orderClientId": "da593000-6eb3-4a1c-ba26-c616122a0210",
"time": 0,
"updateTime": 1591352311273,
"status": "Untouched",
"leftAmount": "0.08956055"
}
]
}
}

Note that time is not populated for open orders (always 0); use updateTime for a meaningful timestamp.

Stop orders cannot be placed through the API, but orders you place on the BtcTurk Global website can be stop orders: their method is stoplimit or stopmarket and stopPrice is the trigger price. For other orders stopPrice is "0.00" (with denominatorScale decimals).

Code Example​

curl -X GET "https://api.global.btcturk.com/api/v1/openOrders?pairSymbol=BTCUSDT" \
-H "X-PCK: YOUR_API_PUBLIC_KEY" \
-H "X-Stamp: 1735866257711" \
-H "X-Signature: COMPUTED_SIGNATURE"