⚙️
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
  • Estimated Price
  • Examples
  1. Reference
  2. Orders

Request Indicative Price

requires auth

Estimated Price

Use this endpoint to request an indicative price of the asset you want to trade. Before submitting an order, you will be able to see the indicative market price.

** nbbo price will always be better or equal to top of the book quotes

GET /api/v1/routing/account/{accountid}/order/estimate

Path Parameters:

Path
Type
Description

accountId *

string

your account ID

Query Parameters:

Query
Type
Description

source *

string

the asset you want to sell

destination *

string

the asset you want to buy

size *

string

the amount of source asset

quote *

string

the asset you want the indicative price to be displayed in

Examples

// quote as source asset
GET /api/v1/routing/account/{accountId}/order/estimate?source=USDT&destination=BTC&size=50&quote=USDT
// Successful Response body
{
    "source": "50 USDT",
    "destination": "0.00206525633592975968892629 BTC",
    "price": "24210.069776878545711065754069 BTC/USDT",
    "status": "ok",
    "httpStatusCode": 200
}
// quote as destination asset
GET /api/v1/routing/account/{accountId}/order/estimate?source=USDT&destination=BTC&size=50&quote=BTC
// Successful Response body
{
    "source": "50 USDT",
    "destination": "0.0020703630240946832118486997 BTC",
    "price": "0.000041407260481893664236974 USDT/BTC",
    "status": "ok",
    "httpStatusCode": 200
}

PreviousAvailable Asset PairsNextMarket Order

Last updated 11 months ago

Page cover image