# Getting User and Pair Data

The SDK simplifies getting data related to token pairs and strategies. This includes viewing strategy details, seeing what pairs are currently active, and checking if a pair has liquidity.&#x20;

#### To Get User or Pair 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 desired data gathering function:
   * [pairs](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/getcachedpairs)
   * [hasLiquidityByPair](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/hasliquiditybypair)
   * [getLiquidityByPair](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/getliquiditybypair)
   * [getUserStrategies](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/sdk-functions/getuserstrategies)
