> ## 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.

# Profitability

### Contents

* [UTXO set, gross unrealized loss, USD](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/market/profitability.md#unrealized-utxo-losses-usd)
* [UTXO set, gross unrealized profit, USD](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/market/profitability.md#unrealized-utxo-profits-usd)

## Unrealized UTXO Losses (USD)

### Definition

The total unrealized loss of unspent transaction outputs on the network.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Unrealized UTXO Losses (USD) | UTXOLossUnrealUSD | USD | 1 day |

### Release History

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

### Availability for Assets

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

## Unrealized UTXO Profits (USD)

### Definition

The total unrealized profit of unspent transaction outputs on the network.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Unrealized UTXO Profits (USD) | UTXOProfUnrealUSD | USD | 1 day |

### Release History

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

### Availability for Assets

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

### API Endpoints

Exhange Deposits metrics can be accessed using these endpoints:

* `timeseries/asset-metrics`

and by passing in the metric ID's `UTXO*` in the `metrics` parameter.

`GET /timeseries/asset-metrics`

> [tab] Shell
>
> ```shell theme={null}
> curl --compressed "https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=UTXOLossUnrealUSD&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=UTXOLossUnrealUSD&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="UTXOLossUnrealUSD", 
>         assets="btc",
>     ).to_dataframe()
> )
> ```
