> ## Documentation Index
> Fetch the complete documentation index at: https://kb.talostrading.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Supply Profitability

## Contents

* [Supply in UTXOs at Profit](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/supply/profitability.md#splyutxoprof)
* [Supply in UTXOs at Loss](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/supply/profitability.md#splyutxoloss)

## Supply in UTXOs at Profit (native units)

### Definition

The sum of all native units held in unspent transaction outputs created on days where the closing price was lower than or equal to the closing price at the end of the period.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Supply in UTXOs at Profit (native units) | SplyUTXOProf | Native units | 1 day |

### Release History

* Release Version: NDP-EOD 4.8 (Nov, 2020)

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/SplyUTXOProf](https://coverage.coinmetrics.io/asset-metrics/SplyUTXOProf)

## Supply in UTXOs at Loss (native units)

### Definition

The sum of all native units held in unspent transaction outputs created on days when the closing price was higher than the closing price at the end of the period.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Supply in UTXOs at Loss (native units) | SplyUTXOLoss | Native units | 1 day |

### Release History

* Release Version: NDP-EOD 4.8 (Nov, 2020)

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/SplyUTXOLoss](https://coverage.coinmetrics.io/asset-metrics/SplyUTXOLoss)

## API Endpoints

Supply Profitability metrics can be accessed using these endpoints:

* `timeseries/asset-metrics`

and by passing in the metric ID's `SplyUTXOProf` and `SplyUTXOLoss` in the `metrics` parameter.

`GET /timeseries/asset-metrics`

> [tab] Shell
>
> ```shell theme={null}
> curl --compressed "https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=SplyUTXOProf&assets=btc&pretty=true&api_key=<your_key>"
> ```

> [tab] Python
>
> ```python theme={null}
> import requests
> response = requests.get('https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=SplyUTXOProf&assets=btc&pretty=true&api_key=<your_key>').json()
> print(response)
> ```

> [tab] Python Client
>
> ```python theme={null}
> from coinmetrics.api_client import CoinMetricsClient
>
> api_key = "<API_KEY>"
> client = CoinMetricsClient(api_key)
>
> print(
>     client.get_asset_metrics(
>         metrics="SplyUTXOProf", 
>         assets="btc",
>     ).to_dataframe()
> )
> ```
