⚙️
1Konto v1.0 API Docs
  • Welcome!
  • Reference
    • API Reference
    • Service
      • Service Information
      • Service Time
    • Authentication
      • Login and Authentication
    • Market Data
      • Get Top of Book
      • Get Order Book
    • Accounting
      • Get Account
      • Get Account Credit
      • Get Transactions
      • Transfers Instructions
        • Get Deposit Instructions
        • Get Withdraw Instructions
      • Withdraw Requests
        • Request Withdraw - Fiat
        • Request Withdraw - Blockchain
        • Querying for Withdraw Requests
    • Orders
      • Available Asset Pairs
      • Request Indicative Price
      • Market Order
      • Limit Order
      • RFQ - Request for Quote
        • Request Quote
        • Accept Quote
      • Querying for Orders
      • Get Order
Powered by GitBook
On this page
  • Request Specific Order
  • Example
  1. Reference
  2. Orders

Get Order

requires auth

Request Specific Order

Client might want to get full detail about one specific order that they know the orderId.

GET /api/v1/routing/order/account/{accountId}/order/{orderId}

Must specify the accountId and desired orderId in the request:

Path Parameters:

Path
Type
Description

accountId *

string

your account ID

orderId *

string

the order ID you want to query

Example

GET /api/v1/routing/order/account/myAccountId/order/abcd01234
// Successful Response body
{
    "order": {
        "accountId": "myAccountId",
        "orderId": "abcd01234",
        "ordering": 1081,
        "size": "100 USDT",
        "source": "USDT",
        "destination": "BTC",
        "type": "market",
        "submittedAt": "2023-02-21T22:07:38.6325460Z",
        "result": {
            "status": "filled",
            "price": 0.0000411222366, //To know the price in terms of source asset; 1/"price" = 24,317.743
            "updatedAt": "2023-02-21T22:07:41.5738620Z",
            "total": "0.00411222366 BTC"
        }
    },  
    "status": "ok",
    "httpStatusCode": 200
}

PreviousQuerying for Orders

Last updated 1 year ago

Page cover image