---
title: "Net Unrealized Profit and Loss"
method: GET
path: "/btc/network-indicator/nupl"
tags: ["BTC Network Indicator"]
---

# Net Unrealized Profit and Loss

`GET /btc/network-indicator/nupl`

Net Unrealized Profit and Loss shows how different between `market_cap` and `realized_cap`.
`nupl` is calculated as difference between `market_cap` and `realized_cap` divided by `market_cap`.
If `market_cap` > `realized_cap`, then `nupl` > 0, which means bitcoin on-chain expected value is less than what they actually have.
So this value will give selling pressure.
`nup` is net unrealized profit, which is calculated as sum of products of UTxO's value and price difference between created and destroyed, divided by `market_cap`.
`nup` only contains UTxOs in profit.
`nul` is net unrealized loss. This is opposite indicator of `nup`.
It only contains UTxOs in loss.


**📖 Data Guide:** [Net Unrealized Profit/Loss (NUPL)](/data-guide/utxo/net-unrealized-profit-and-loss-nupl) — definition, interpretation, and chart examples.

## Query parameters

- `window` string
- `from` string
- `to` string
- `limit` integer
- `format` string

## Response `200`

nupl

- object
  - `status` object, required — The status object is return with most of requests and indicates if the request was successful. If it is not successful, error information is included.
    - `code` integer, required — HTTP status code
    - `message` string, required — Text description of the error or success.
  - `result` object, required
    - `window` string, required — The size of window. It can be day or block, and it depends on the user request.
    - `data` object[], required
      - `blockheight` string — The height of the block. This optional field only appears when window=block is used.
      - `date` string — The date in YYYY-DD-MM. This optional field only appears when window=day is used.
      - `datetime` string — The date and time formatted as YYYY-MM-DD HH:MM:SS (UTC time). This field only appears when window=block is used.
      - `nupl` number, required — Net Unrealized Profit and Loss is the difference between `market_cap` and `realized_cap` divided by `market_cap`.
      - `nup` number, required — Net Unrealized Profit is the sum of products of UTxO's value and price difference between created and destroyed only in profit, divided by `market_cap`.
      - `nul` number, required — Net Unrealized Loss is the sum of products of UTxO's value and price difference between created and destroyed only in loss, divided by `market_cap`.

---

[API](https://skmtc.net/cryptoquant/apis/cryptoquant-data-api.md) · [All operations](https://skmtc.net/cryptoquant/apis/cryptoquant-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptoquant/cryptoquant-data-api/versions/81ee223d4908/schema)
