tanX Docupaper
AboutTrade
  • ABOUT
    • πŸ“’tanX Docupaper
  • TECH
    • πŸ‘©β€πŸ’»Tech Docupaper
      • 🏨High level architecture
      • πŸ€”Starkware logic
      • 🌊Transactional flow
        • Off-chain accounts
        • The deposit flow
        • The withdrawal flow
        • The trade flow
        • The transfer flow
        • Full withdrawal
    • πŸ”ŒAPI Documentation
      • πŸ˜‹Getting started
        • Test connectivity
      • πŸ“ˆMarket
        • 24hr Tickers Price
        • K-line/Candlestick data
        • Orderbook
        • Recent trades
      • ↔️Trading
        • Create order
        • Get order
        • List orders
        • Cancel order
        • Bulk Cancel
        • List trades
      • πŸ”Account
        • Generating L2 Key Pairs
        • Login
        • Deposit
        • Withdrawal
        • Profile Information
        • Balance details
        • Profit and loss details
      • 🌏Web-socket stream
        • πŸ—οΈPrivate web-socket connection
        • πŸ‘₯Public websocket connection
      • ✨Internal Transfer
        • Create Internal Transfer
        • Get Internal Transfer
        • Check User Existence
        • List Internal Transfers
      • πŸ§ͺSDK Reference
        • NodeJS SDK
        • Python SDK
  • LEGAL
    • ‼️tanX Disclaimer
Powered by GitBook
On this page

Was this helpful?

  1. TECH
  2. API Documentation
  3. Trading

Get order

Get individual order details. ( Private πŸ”’ )

Retrieve a single order’s details using this endpoint. Please note that this is a Private πŸ”’ route which means it needs to be authorised by the account initiating this request.

Note: You will need to include the JWT Auth token to request headers to access this endpoint. To get the JWT Auth Token, refer the login section of the documentation.

Endpoint

GET /sapi/v1/orders/{order_id}/

Example

{baseurl}/sapi/v1/orders/23157052/

Response

{
  "status": "success",
  "message": "Order Retrieved Successfully",
  "payload": {
    "id": 23157052,
    "uuid": "a0b17d1f-0f2c-4c93-ad40-2e71077de499",
    "side": "buy",
    "ord_type": "market",
    "price": null,
    "avg_price": "0.0",
    "state": "cancel",
    "market": "btcusdc",
    "created_at": "2022-11-08T11:53:09+01:00",
    "updated_at": "2022-11-08T11:53:14+01:00",
    "origin_volume": "0.0051",
    "remaining_volume": "0.0051",
    "executed_volume": "0.0",
    "maker_fee": "0.001",
    "taker_fee": "0.001",
    "trades_count": 0,
    "trades": []
  }
}
PreviousCreate orderNextList orders

Last updated 1 year ago

Was this helpful?

πŸ”Œ
↔️