Niza Global - API Docs
  • Introduction
  • General
  • Authentication
  • PUBLIC ENDPOINTS
    • Markets
    • Tickers
    • OHLC Data
    • Order Book
    • Historical Trades
  • AUTHENTICATED ENDPOINTS
    • Balances
      • (Deprecated) Trade Wallet
      • Spot Wallet
    • Orders
      • Create Order
      • Cancel Order
      • Open Orders
      • Closed Orders
      • Get Order
    • Trades
      • Trades History
      • Get Trade
  • Websocket API 1.0
    • Overview
    • Connection Details
    • WebSocket Authentication
    • Public Channels
      • Ticker Information
      • OHLC
      • Recent Trades
      • Orderbook
    • Private Channels
      • Order Executed
      • Trade Executed
Powered by GitBook
On this page
  1. AUTHENTICATED ENDPOINTS
  2. Orders

Open Orders

Get open orders list

GET /open-orders

Get open orders with pagination

Headers

Name
Value

X-API-Key

API Key

X-API-Sign

Generated Signature

Query Params

Name
Type
Required
Description

pair

string

Example NIZA/USDT

page-size

number

If not set, no pagination is applied

page

number

Page number if pagination is enabled

Response

{
    "success": true,
    "message": "Request processed successfully",
    "data": [
        {
            "id": 420,
            "user_id": 16,
            "transaction_id": "O39OO7-NIBT3-7RTNX1",
            "status": "open",
            "open_time": "1711233663.0000",
            "close_time": null,
            "expire_time": "0.0000",
            "reason": null,
            "pair": "NIZAEUR",
            "type": "buy",
            "order_type": "limit",
            "description": {
                "pair": "NIZAEUR",
                "type": "buy",
                "close": "",
                "order": "buy 2092.00000000 NIZAEUR @ limit",
                "price": "0.01410000",
                "leverage": "none",
                "orderType": "limit",
                "secondaryPrice": null
            },
            "volume": {
                "amount": "2092.00000000",
                "currency": "NIZA"
            },
            "volume_executed": {
                "amount": "0.00000000",
                "currency": "NIZA"
            },
            "fee": null,
            "price": {
                "amount": "0.01410000",
                "currency": "EUR"
            },
            "secondary_price": null,
            "limit_price": null,
            "cost": null,
            "asset_pair": {
                "id": 679,
                "name": "NIZAEUR",
                "display_name": "NIZA/EUR",
                "base_name": "NIZA",
                "quote_name": "EUR"
            },
            "trigger_conditions": "--",
            "trades": []
        },
        {
            "id": 419,
            "user_id": 16,
            "transaction_id": "ORQPE8-UZJQK-INBBPM",
            "status": "open",
            "open_time": "1711233600.0000",
            "close_time": null,
            "expire_time": "0.0000",
            "reason": null,
            "pair": "NIZAEUR",
            "type": "buy",
            "order_type": "limit",
            "description": {
                "pair": "NIZAEUR",
                "type": "buy",
                "close": "",
                "order": "buy 1000.00000000 NIZAEUR @ limit",
                "price": "0.01450000",
                "leverage": "none",
                "orderType": "limit",
                "secondaryPrice": null
            },
            "volume": {
                "amount": "1000.00000000",
                "currency": "NIZA"
            },
            "volume_executed": {
                "amount": "0.00000000",
                "currency": "NIZA"
            },
            "fee": null,
            "price": {
                "amount": "0.01450000",
                "currency": "EUR"
            },
            "secondary_price": null,
            "limit_price": null,
            "cost": null,
            "asset_pair": {
                "id": 679,
                "name": "NIZAEUR",
                "display_name": "NIZA/EUR",
                "base_name": "NIZA",
                "quote_name": "EUR"
            },
            "trigger_conditions": "--",
            "trades": []
        }
    ],
    "code": 200,
    "meta": {
        "current_page": 1,
        "from": 1,
        "to": 2,
        "path": "https://app.niza.io/trade/v1/open-orders",
        "per_page": 2,
        "total": 9,
        "last_page": 5
    }
}
{
  "error": "Invalid Signature"
}
PreviousCancel OrderNextClosed Orders

Last updated 1 year ago