> For the complete documentation index, see [llms.txt](https://docs.carbondefi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carbondefi.xyz/developer-guides/carbon-defi-sdk/interacting-with-the-sdk/getting-user-and-pair-data.md).

# 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](/developer-guides/carbon-defi-sdk/sdk-functions/constructor.md).
2. Sync strategy data by calling [startDataSync](/developer-guides/carbon-defi-sdk/sdk-functions/startdatasync.md).
3. Call the desired data gathering function:
   * [pairs](/developer-guides/carbon-defi-sdk/sdk-functions/getcachedpairs.md)
   * [hasLiquidityByPair](/developer-guides/carbon-defi-sdk/sdk-functions/hasliquiditybypair.md)
   * [getLiquidityByPair](/developer-guides/carbon-defi-sdk/sdk-functions/getliquiditybypair.md)
   * [getUserStrategies](/developer-guides/carbon-defi-sdk/sdk-functions/getuserstrategies.md)
