Skip to main content
GET
/
indicator
/
pnl
/
pnl-index
PnL Index
curl --request GET \
  --url https://api.cryptoquant.com/v2/indicator/pnl/pnl-index \
  --header 'Authorization: Bearer <token>'
{
  "status": {
    "code": 123,
    "message": "<string>"
  },
  "result": {
    "window": "<string>",
    "data": [
      {
        "date": "<string>",
        "pnl_index": 123,
        "pnl_index_365day_MA": 123,
        "buy": 123,
        "neutral": 123
      }
    ]
  }
}

What it measures

Values above 1 (red line) indicate bitcoin price is overvalued, and values below -1.38 (green line) indicate bitcoin price is undervalued.

How to interpret it

Key thresholds

To determine if bitcoin is in a bull or bear market, we use the P&L Index 365-day moving average.

Run this metric in CryptoQuant Analytics

Authorizations

Authorization
string
header
required

For each API request, include the Authorization HTTP header with Bearer {access_token}.

Query Parameters

window
string
default:day

Time interval for aggregation.

from
string

Starting time, formatted as YYYYMMDDTHHMMSS (UTC). If window=day, YYYYMMDD is also accepted.

to
string

Ending time, formatted as YYYYMMDDTHHMMSS (UTC). If window=day, YYYYMMDD is also accepted.

limit
integer

Maximum number of data rows to return.

Response

200 - application/json

market regime

status
object
required

Returned with every response; indicates whether the request was successful.

result
object
required