# Get Liquidity Position History

Returns historical snapshots of a liquidity position, including balances, liquidity, price bounds and fees.

_Source: https://beta.taostats.io/docs/api-reference/dtao/get-liquidity-position-history_

_Last reviewed: 2026-09-18_

```http
GET https://api.taostats.io/api/dtao/liquidity/position/history/v1
```

Requires an API key in the `Authorization` header.

Returns historical snapshots of a liquidity position, including balances, liquidity, price bounds and fees. Select a position and optionally narrow the block or time range.

## Try it

Try this request in the browser on the HTML version of this page, or use the code samples below.

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/api/dtao/liquidity/position/history/v1"
```

**JavaScript**

```js
const response = await fetch('https://api.taostats.io/api/dtao/liquidity/position/history/v1', {
  headers: {
    Authorization: '<YOUR_API_KEY>',
  },
});
const data = await response.json();
```

**Python**

```python
import requests

response = requests.get(
    "https://api.taostats.io/api/dtao/liquidity/position/history/v1",
    headers={"Authorization": "<YOUR_API_KEY>"},
)
data = response.json()
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `position_id` | query | `string` | Yes |  |
| `block_number` | query | `integer (int32)` |  |  |
| `block_start` | query | `integer (int32)` |  | Start of block range (inclusive) |
| `block_end` | query | `integer (int32)` |  | End of block range (inclusive) |
| `timestamp_start` | query | `integer (int64)` |  | Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) |
| `timestamp_end` | query | `integer (int64)` |  | End of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) |
| `page` | query | `integer (int32)` |  |  |
| `limit` | query | `integer (int32)` |  |  |
| `order` | query | `string` |  | One of `block_number_asc`, `block_number_desc`, `timestamp_asc`, `timestamp_desc`. |

## Responses

### `200` — Liquidity position history retrieved successfully

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `array` | Yes |  |
| `data[].alpha` | `string` | Yes |  |
| `data[].alpha_committed` | `string` | Yes |  |
| `data[].alpha_withdrawn` | `string` | Yes |  |
| `data[].block_number` | `integer (int32)` | Yes |  |
| `data[].coldkey` | `object` | Yes |  |
| `data[].coldkey.hex` | `string` | Yes | The hex format of the hot key |
| `data[].coldkey.ss58` | `string` | Yes | The SS58 format of the hot key |
| `data[].fees_claimable_alpha` | `string` | Yes |  |
| `data[].fees_claimable_tao` | `string` | Yes |  |
| `data[].fees_claimed_alpha` | `string` | Yes |  |
| `data[].fees_claimed_tao` | `string` | Yes |  |
| `data[].id` | `string` | Yes |  |
| `data[].is_closed` | `boolean` | Yes |  |
| `data[].liquidity` | `string` | Yes |  |
| `data[].max_price` | `string` | Yes |  |
| `data[].min_price` | `string` | Yes |  |
| `data[].netuid` | `integer (int32)` | Yes |  |
| `data[].opened_block_number` | `integer (int32)` | Yes |  |
| `data[].opened_timestamp` | `string (date-time)` | Yes |  |
| `data[].position_id` | `string` | Yes |  |
| `data[].tao` | `string` | Yes |  |
| `data[].tao_committed` | `string` | Yes |  |
| `data[].tao_withdrawn` | `string` | Yes |  |
| `data[].tick_high` | `integer (int32)` | Yes |  |
| `data[].tick_low` | `integer (int32)` | Yes |  |
| `data[].timestamp` | `string (date-time)` | Yes |  |
| `pagination` | `object` | Yes |  |
| `pagination.current_page` | `integer (int32)` | Yes |  |
| `pagination.next_page` | `integer (int32), nullable` |  |  |
| `pagination.per_page` | `integer (int32)` | Yes |  |
| `pagination.prev_page` | `integer (int32), nullable` |  |  |
| `pagination.total_items` | `integer (int32)` | Yes |  |
| `pagination.total_pages` | `integer (int32)` | Yes |  |

### Other responses

| Status | Meaning |
| --- | --- |
| `400` | Bad request |
| `404` | Liquidity position history not found |
| `500` | Internal server error |

Every request needs an `Authorization` header holding your API key — see [Getting started with the Taostats API](https://beta.taostats.io/docs/start-here/getting-started-with-taostats-api).
