# alpha-prices (/docs/query/alpha-prices)

**Category:** Prices & swaps

## Parameters [#parameters]

This read takes no parameters.

## CLI [#cli]

```bash
btcli query alpha-prices --json
```

## Python [#python]

Namespace method (autocomplete, signature help):

```python
import bittensor as bt

sub = bt.Subtensor()
result = sub.prices.alpha_prices()
```

Or dispatch by name, as an agent would:

```python
result = sub.read("alpha_prices")
```

Async is the same surface awaited: `async with bt.Subtensor() as client:`.

## On-chain implementation [#on-chain-implementation]

* Runtime API [`SwapRuntimeApi.current_alpha_price_all`](/code/runtime/src/lib.rs#L2425-L2435)

Every file is browsable under [/code](/code) exactly as built into the runtime.
