v1

latestOpenAPI 3.0.02026-07-2224101.3 MB
BTC Market Indicator

Spent Output Profit Ratio

sopr is abbreviation of Spent Output Profit Ratio. Spent Output Profit Ratio evaluates the profit ratio of the whole market participants by comparing the value of outputs at spent time to created time. sopr is a ratio that is calculated as the USD value of spent outputs at the spent time divided by the USD value of spent outputs at the created time. So you can see the value when UTxO destroyed. In a simple way, you can estimate the distribution of spent transaction output are in profit or not.

📖 Data Guide: Spent Output Profit Ratio (SOPR) · aSOPR (Adjusted SOPR) · STH-SOPR · LTH-SOPR — definition, interpretation, and chart examples.

get/btc/market-indicator/sopr

Query parameters

windowstring

Currently we support day and block.

fromstring

This defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.

tostring

This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.

limitinteger

The maximum number of entries to return before the latest data point (or before to if specified). This field ranges from 1 to 100,000.

formatstring

A format type about return message type. Supported formats are json, csv.

Response

spent_output_profit_ratio