## `clmm_range_stats`

4 credits · 0.02 USDC

`GET /clmm_range_stats`

For Raydium CLMM, Orca Whirlpool and Meteora DLMM: liquidity by price, share of time a range of the given width would have stayed in range over 7 and 30 days, fee yield inside the range, impermanent loss and how many rebalances it would have needed.

| Parameter | Type | Description |
| --- | --- | --- |
| `pool`required | `string` | Concentrated liquidity pool |
| `width_pct` | `number` | Full range width in percent of the current price Default 10. |

**curl**

```sh
curl "https://api.dexra.dev/clmm_range_stats?pool=Czfq3xZZDmsdGdUyrNLtRhGc47cXcZtLG4crryfu44zE&width_pct=10" \
  -H "Authorization: Bearer dxr_…"
```

**TypeScript**

```ts
import { Dexra } from '@dexra/client'

const dexra = new Dexra({ apiKey: process.env.DEXRA_API_KEY })
const result = await dexra.clmmRangeStats({ pool: "Czfq3xZZDmsdGdUyrNLtRhGc47cXcZtLG4crryfu44zE", width_pct: 10 })
console.log(result.summary)
```

**Python**

```python
import os
from dexra import Dexra

dexra = Dexra(api_key=os.environ["DEXRA_API_KEY"])
result = dexra.clmm_range_stats(pool="Czfq3xZZDmsdGdUyrNLtRhGc47cXcZtLG4crryfu44zE", width_pct=10)
print(result["summary"])
```

**MCP**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "clmm_range_stats",
    "arguments": {
      "pool": "Czfq3xZZDmsdGdUyrNLtRhGc47cXcZtLG4crryfu44zE",
      "width_pct": 10
    }
  }
}
```

[Try it in the Playground](https://dexra.dev/app/playground?tool=clmm_range_stats)

Source: https://dexra.dev/docs/tools/clmm_range_stats
