---
title: "Get Token Liquidity"
method: GET
path: "/defi/v1/dex/gettokenliquidity"
tags: ["dex"]
---

# Get Token Liquidity

`GET /defi/v1/dex/gettokenliquidity`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/dex/gettokenliquidity`
- Auth: API key in header `X-API-Key`

Retrieves detailed liquidity metrics for tokens in specified pools across supported DEX protocols. It returns the current liquidity amounts for each token, enabling users to assess market depth and token distribution within the pool.

> 💡 
**Compute Unit Value:** `40` (Fixed)

## Query parameters

- `poolAddress` string, required: Pool address whose liquidity is to be fetched.
- `dexId` '1000' | '1001' | '1300' | '1301' | '1305' | '1306' | '1307' | '1308' | '1309' | '1310' | '1100' | '1101' | '1200' | '1201' | '2900' | '2901' | '2800' | '2808' | '2809' | '1500' | '1400' | '1402' | '2300' | '2100' | '2101' | '2500' | '2501' | '2700' | '2400' | '2401' | '3000' | '3001' | '3100' | '3300' | '3301' | '3500' | '3501' | '3400' | '3401' | '3600' | '3800' | '3700': The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols).
- `vsCurrencies` string: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.
- `poolId` string, required: Pool ID of the token pair.

## Response `200`

Successful response

- object
  - `status` integer
  - `msg` string
  - `data` object

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
