cURL
curl -X GET "https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day" \
-H "Authorization: Bearer <YOUR_API_KEY>"fetch("https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day", { headers: { "Authorization": "Bearer <YOUR_API_KEY>"} })
.then(response => response.json())
.then(data => console.log(data))require('axios')
.get("https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day", { headers: { Authorization: 'Bearer <YOUR_API_KEY>' } })
.then(response => console.log(response))require 'net/http'
uri = URI("https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer <YOUR_API_KEY>"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.bodyimport requests
headers = {'Authorization': 'Bearer <YOUR_API_KEY>'}
url = "https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day"
print(requests.get(url, headers=headers).json())<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble")
.header("Authorization", "Bearer <token>")
.asString();{
"status": {
"code": 123,
"message": "<string>"
},
"result": {
"window": "<string>",
"data": [
{
"date": "<string>",
"asset": "<string>",
"volume_usd": 123,
"price_usd": 123,
"volume_state": "<string>"
}
]
}
}Top Indicators
Volume Bubble
Volume bubble map — daily trading volume in USD and whether it is running hot or cold against its own history.
GET
/
indicator
/
top-indicator
/
volume-bubble
cURL
curl -X GET "https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day" \
-H "Authorization: Bearer <YOUR_API_KEY>"fetch("https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day", { headers: { "Authorization": "Bearer <YOUR_API_KEY>"} })
.then(response => response.json())
.then(data => console.log(data))require('axios')
.get("https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day", { headers: { Authorization: 'Bearer <YOUR_API_KEY>' } })
.then(response => console.log(response))require 'net/http'
uri = URI("https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer <YOUR_API_KEY>"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.bodyimport requests
headers = {'Authorization': 'Bearer <YOUR_API_KEY>'}
url = "https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble?asset=btc&window=day"
print(requests.get(url, headers=headers).json())<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cryptoquant.com/v2/indicator/top-indicator/volume-bubble")
.header("Authorization", "Bearer <token>")
.asString();{
"status": {
"code": 123,
"message": "<string>"
},
"result": {
"window": "<string>",
"data": [
{
"date": "<string>",
"asset": "<string>",
"volume_usd": 123,
"price_usd": 123,
"volume_state": "<string>"
}
]
}
}What it measures
Volume bubble map — daily trading volume in USD and whether it is running hot or cold against its own history. The daily trading volume in USD is the volume summed across all exchanges and valued atprice_usd. The 30-day moving average minus the 365-day moving average of that volume is converted to a z-score using the mean and sample standard deviation of the same difference over the trailing 365 days. The label is assigned from that z-score.
The source data is aggregated across exchanges: spot OHLCV and taker volume for market=spot, perpetual-contract OHLCV and taker volume for market=futures. Values are daily, recomputed every day at about 01:10 UTC over the full history; the latest row is the previous UTC day.
Assets and windows
| Market | Assets | Windows |
|---|---|---|
spot (default) | 448 assets, e.g. btc, eth, sol, xrp, bnb, doge | day |
futures | 356 assets, e.g. btc, eth, sol, xrp, bnb, doge | day |
asset as a lowercase symbol; several assets can be requested at once, comma-separated (asset=btc,eth). The supported assets differ between the two markets: an asset that is not supported for the requested market returns 400 (Unsupported asset for spot: x). The full lists are returned by /v2/discovery/endpoints. window accepts only day; any other value returns 400. limit applies per asset.
Each call costs 20 credits.
Response fields
Rows are returned underresult.data, one per asset per day.
| Field | Type | Description |
|---|---|---|
date | string | Day, YYYY-MM-DD (UTC). |
asset | string | Asset symbol, lowercase. |
volume_usd | number | Daily trading volume in USD (volume summed across exchanges × price_usd). |
price_usd | number | Price in USD: the median, across exchanges, of the daily close for USD-denominated quote currencies (USD, USDT, USDC, …). |
volume_state | string | Label derived from the 365-day z-score of the volume moving-average difference. See the table below. |
Labels
volume_state is a label. The label is assigned from z, the 365-day z-score of (MA30 − MA365) of volume_usd:
| Label | Condition |
|---|---|
Overheating | z ≥ 2 |
Heating | 1 ≤ z < 2 |
Neutral | −1 < z < 1 |
Cooling | z ≤ −1 |