get https://api.amberdata.com/markets/spot/analytics/depth/dashboard
This endpoint provides the average order book depth across exchanges and currency pairs over a specified time period. To retrieve the average depth for the past 24 hours, set the hourAgo parameter to 24. The response includes depth measurements at various basis point levels from the mid-price.
RESPONSE DATA
Field | Type | Description |
---|---|---|
payload.metadata.api-version | string | Version of the API. |
payload.data[index].pair | string | The currency pair in question. |
payload.data[index].exchange | string | The name of the exchange. |
payload.data[index].side | string | This represents the bid or ask side of the order book depth. |
payload.data[index].basisPoints(xxx) | number | This represents the total amount of order book size, in coin terms, at the level represented. The level is in basisPoint away from best bid/ask. |
payload.data[index].basisPoints(xxx)UsdMillion | number | This represents the total amount of order book size, in USD millions, at the level represented. The level is in basisPoint away from best bid/ask. |