Spent output profit ratio
Formula: Spent Output Profit Ratio — >1 coins move in profit, <1 at a loss; 1.0 acts as bull support / bear resistance
Realized — What did holders actually pay for their coins?
Data: from through at least ; analysed through block 977664; Updates: every block (5m, day).
SOPR uses Bitcoin's UTXO cost-basis data: Spent output profit ratio. It connects the current market with the prices at which coins were last moved.
Above 1: coins are being sold at a profit. Below 1: at a loss. In bull markets, dips to 1 often act as support — holders refuse to sell at break-even.
Cost-basis metrics describe on-chain movements, not every off-chain trade. They are best read as a market-structure view, not a guaranteed buy or sell signal.
Fields and units
sopr — SOPR (dimensionless ratio)usd — BTC price (US dollars)Data sources
Known limitations
Machine-readable: GET /api/v1/metrics/sopr · methodology
cURL
curl -H "X-API-Key: $KOTE_API_KEY" \
"https://kotecharts.com/api/v1/public/charts/sopr?from=2024-01-01"Python
import os, requests
r = requests.get(
"https://kotecharts.com/api/v1/public/charts/sopr",
params={"from": "2024-01-01"},
headers={"X-API-Key": os.environ["KOTE_API_KEY"]},
)
r.raise_for_status()
series = r.json()["data"]["series"]
print(series[-1]) # t, sopr, usdThe REST API needs an API key — no charge for non-commercial use; create one in a minute on your account page and export it as KOTE_API_KEY. No key? AI agents read this chart through the keyless MCP server.
Google Sheets
=KOTE_LATEST("sopr")
=KOTE_LATEST("sopr", "sopr")
=KOTE_SERIES("sopr", "sopr", "2024-01-01")Add the Google Sheets template (Apps Script) once, save your key from its menu, then use these formulas in any cell. Prefer notebooks? Open the Jupyter quickstart.
GET /api/v1/public/charts/sopr — REST API — JSON, API key, 3 requests per second (docs)get_chart {"id":"sopr"} · describe_chart {"id":"sopr"}Glossary: On-chain analysis · SOPR (spent output profit ratio) · Realized index (Kote Charts)
Kote Charts — “SOPR”, https://kotecharts.com/c/sopr. Non-commercial use with attribution; commercial use requires a licence — never financial advice.
Kote Charts — "SOPR", https://kotecharts.com/c/sopr (Bitcoin on-chain analytics computed from our own full node; non-commercial use with attribution).