Orderbook

Orderbook

GET https://tradeano.com/api/coingecko/orderbook?ticker_id={symbol}&depth=100

Example : https://tradeano.com/api/coingecko/orderbook?ticker_id=BTC_USDT&depth=100

Response FieldData TypeDescription

ticker_id

String

Ticker ID such as BTC_USDT or ETH_USDT

timestamp

timestamp

Current Timestamp

bids

decimal

List of Bids (An array containing 2 elements. The offer price and quantity for each bid order

ask

decimal

List of Bids (An array containing 2 elements. The ask price and quantity for each ask order

depth

Integer

Depth = 100 means 50 for each bid/ask side.

Output :-

{
    "ticker_id":"BTC_USDT",
    "timestamp":1703846494,
    "bids":
    [
    ["42783.75000000","0.06000000"],
    ["42783.15000000","0.00700000"],
    ["42782.95000000","0.14000000"],
    ["42782.35000000","0.07000000"],
    ["42782.05000000","0.01180000"]
    ],
    "ask":
    [
    ["42785.75000000","0.13000000"],
    ["42785.95000000","0.04500000"],
    ["42786.25000000","0.08200000"],
    ["42786.55000000","0.05100000"],
    ["42786.90000000","0.12000000"]
    ]

}

Last updated