# Collecting Liquidity Data

The SDK includes several functions that simplify gathering liquidity-depth data.

#### To Get Liquidity Depth Data

1. Initialize the SDK with the [Constructor](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/constructor).
2. Sync strategy data by calling [startDataSync](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/startdatasync).
3. Call the relevant liquidity data function:
   * [getRateLiquidityDepthByPair](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/getrateliquiditydepthbypair)
   * [getMinRateByPair](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/getminratebypair)
   * [getMaxRateByPair](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/getmaxratebypair)
