---
title: "SOPR Ratio"
method: GET
path: "/btc/market-indicator/sopr-ratio"
tags: ["BTC Market Indicator"]
---

# SOPR Ratio

`GET /btc/market-indicator/sopr-ratio`

SOPR Ratio is calculated as long term holders' SOPR divided by short term holders' SOPR. Higher value of the ratio means higher spent profit of LTH over STH, which is usually useful for spotting market tops.


**📖 Data Guide:** [SOPR Ratio (LTH-SOPR/STH-SOPR)](/data-guide/utxo/spent-output-profit-ratio-sopr/sopr-ratio-lth-sopr-sth-sopr) — definition, interpretation, and chart examples.

## Query parameters

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

## Response `200`

Long term holders' SOPR divided by short term holders' SOPR.

- 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.
      - `sopr_ratio` number, required — Long term holders' SOPR divided by short term holders' SOPR.

---

[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/revisions/81ee223d4908/schema)
