# subnets (/docs/query/subnets)

one-query-per-subnet. This is what listing should use.

**Category:** Subnets

## Parameters [#parameters]

This read takes no parameters.

## CLI [#cli]

```bash
btcli query subnets --json
```

## Python [#python]

```python
import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("subnets")
```
