Get Depth

Fetch market depth details for the specified markets. Orders with the same price will be aggregated.

Request

Method:

GET ./api/v2/openbook/depth/{market}

Parameters:

Request example:

curl --header "Authorization: $AUTH_HEADER" \
'https://ny.solana.dex.blxrbdn.com/api/v2/openbook/depth/SOLUSDC?limit=10' 

Response:

Fields:

bids & asks:

Example:

{
  "market": "SOL/USDC",
  "marketAddress": "8BnEgHoWFysVcuFFX7QztDmzuH8r5ZFvyP3sYwn1XTh6",
  "bids": [
    {
      "price": 26.351,
      "size": 155.233
    },
    {
      "price": 26.372,
      "size": 38.808
    }
  ],
  "asks": [
    {
      "price": 26.378,
      "size": 37.039
    },
    {
      "price": 26.4,
      "size": 148.155
    }
  ]
}

Last updated