Skip to main content
GET
/
api
/
v1
/
orderbook
Get orderbook depth
curl --request GET \
  --url https://api.mainnet.aptoslabs.com/decibel/api/v1/orderbook \
  --header 'Authorization: Bearer <token>'
{
  "asks": [
    [
      "<string>"
    ]
  ],
  "bids": [
    [
      "<string>"
    ]
  ],
  "ticker_id": "<string>",
  "timestamp": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.decibel.trade/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Query Parameters

ticker_id
string
required

Ticker identifier, e.g. "BTC-PERP"

Response

Orderbook depth

CoinGecko/CMC orderbook response with bid/ask depth. Prices and quantities are string pairs per the aggregator spec.

asks
string[][]
required

Ask levels as [price, quantity] string pairs, lowest price first

bids
string[][]
required

Bid levels as [price, quantity] string pairs, highest price first

ticker_id
string
required
timestamp
string
required

Unix timestamp in milliseconds of last update