# auto-stake (/docs/query/auto-stake)

**Category:** Staking

## Parameters [#parameters]

| Parameter      | Type    | Description                                   |
| -------------- | ------- | --------------------------------------------- |
| `coldkey_ss58` | string  | Coldkey whose auto-stake destination to read. |
| `netuid`       | integer | Subnet to query.                              |

## CLI [#cli]

```bash
btcli query auto-stake --coldkey <ss58|name> --netuid <integer> --json
```

## Python [#python]

```python
import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("auto_stake", coldkey_ss58="5F...", netuid=1)
```
