Compare market depth between exchanges and regions

Market depth is a measure of how well a market can handle large orders without impacting asset prices. A "deep" market has enough volume on both sides - bids (buy orders) and asks (sell orders) - to handle large orders while keeping prices stable. Market depth varies between exchanges and over time, so traders often monitor it across different platforms to determine the best market on which to trade. It can also be used to compare market depth between different regions by customizing the exchanges you select.

This chart shows the 1% market depth for all trading pairs with BTC as the base asset. It shows the USD value of all bids (bid_volume_1) and asks (ask_volume_1) within 1% of the mid-price.

How to build the request

Use Market Metrics (assets) with the following parameters to replicate this chart.

Paramater
Value

asset

btc

start_time

2022-11-05T00:00:00.000Z

end_time

2022-11-28T00:00:00.000Z

interval

1d

sources

true

Here's an example of a cURL string request using the values above:

curl -X GET "https://us.market-api.kaiko.io/v2/data/analytics.v2/asset_metrics?asset=btc&start_time=2022-11-05T00:00:00.000Z&end_time=2022-11-28T00:00:00.000Z&interval=1d&sources=true" -H "accept: application/json" -H "X-Api-Key: YOUR_API_KEY"

When you receive your response, search for the following fields to find the data you need:

  • timestamp

  • buy_market_depths:

    • exchange

    • volume_usds: {bid_volume_0_1}

  • sell_market_depths:

    • exchange

    • volume_usds: {ask_volume_0_1}

Last updated

Was this helpful?