# Get Pending Coldkey Swap

Returns pending coldkey swaps with old and new key information and their scheduled execution blocks.

_Source: https://beta.taostats.io/docs/api-reference/pending-coldkey-swap/get-pending-coldkey-swap_

_Last reviewed: 2026-09-18_

```http
GET https://api.taostats.io/api/pending_coldkey_swap/v1
```

Requires an API key in the `Authorization` header.

Returns pending coldkey swaps with old and new key information and their scheduled execution blocks. Records also include predicted execution timestamps.

## Try it

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

### Examples

List all pending coldkey swaps on the network

```text
https://api.taostats.io/api/pending_coldkey_swap/v1
```

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/api/pending_coldkey_swap/v1"
```

**JavaScript**

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

**Python**

```python
import requests

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

## Parameters

_No parameters._

## Responses

### `200` — Pending coldkey swaps retrieved successfully

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `array` | Yes |  |
| `data[].block_number` | `integer (int32)` | Yes |  |
| `data[].execution_block_number` | `integer (int32)` | Yes |  |
| `data[].new_coldkey` | `object, nullable` |  |  |
| `data[].new_coldkey.hex` | `string` | Yes | The hex format of the hot key |
| `data[].new_coldkey.ss58` | `string` | Yes | The SS58 format of the hot key |
| `data[].new_coldkey_hash` | `string, nullable` |  |  |
| `data[].old_coldkey` | `object` | Yes |  |
| `data[].old_coldkey.hex` | `string` | Yes | The hex format of the hot key |
| `data[].old_coldkey.ss58` | `string` | Yes | The SS58 format of the hot key |
| `data[].predicted_execution_timestamp` | `string (date-time)` | 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` | Pending coldkey swaps 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).
