Get Taker Buy Sell Volume Data
curl --request GET \
--url https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume \
--header 'X-API-Key: <api-key>'import requests
url = "https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"buy_sell_ratio": 123,
"buy_vol": 123,
"sell_vol": 123,
"timestamp": 123
}
],
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}Crypto
Get Taker Buy Sell Volume Data
Feature Overview OpenAPI JSON Spec Get taker buy sell volume data for a specific trading pair symbol with optional time range filtering.
Main Use Cases
- Market Sentiment Analysis: Track the ratio of taker buy to sell volume over time
- Trading Strategy: Use buy/sell volume ratio as a market sentiment indicator
- Risk Management: Monitor extreme buying or selling pressure in the market
- Technical Analysis: Combine with price action for comprehensive analysis
Query Parameters & Logic
Required Parameters:
symbol: Trading pair symbol (e.g., BTCUSDT)period: Data period (currently only supports1d)
Optional Parameters:
start_time: Start timestamp (Unix seconds) - if not provided, returns recent dataend_time: End timestamp (Unix seconds) - if not provided, returns up to current timelimit: Maximum number of results to return (1-500, default: 30)
Supported Periods:
1d: 1-day intervals
Validation Rules:
- Symbol is required and must be a valid trading pair
- If both start_time and end_time are provided, start_time must be before end_time
- Period must be
1d - Limit range: 1-500, default is 30
Response Data Structure
data([]TakerBuySellVolumeData): Array of taker buy sell volume data points (latest first, reverse chronological order)count(int32): Actual number of data points returned (0-1000)
TakerBuySellVolumeData fields:
buy_vol(string): Taker buy volume in string formatsell_vol(string): Taker sell volume in string formatbuy_sell_ratio(string): Buy/Sell ratio in string format (e.g., “1.5” means buy volume is 1.5x sell volume)timestamp(string): Unix timestamp in seconds as string (e.g., “1763978100”)
Data Interpretation:
- buySellRatio > 1.0: More buying pressure (bullish sentiment)
- buySellRatio = 1.0: Equal buy and sell volume (neutral)
- buySellRatio < 1.0: More selling pressure (bearish sentiment)
Usage Examples
- Get latest 5 data points:
?symbol=BTCUSDT&period=1d&limit=5 - Get latest 100 data points:
?symbol=BTCUSDT&period=1d&limit=100 - Get data for specific time range:
?symbol=BTCUSDT&start_time=1733270400&end_time=1733356800&period=1d&limit=200 - Get maximum data points:
?symbol=ETHUSDT&period=1d&limit=500
Important Notes
- If start_time and end_time are not provided, returns the most recent data
- Results are ordered by timestamp in descending order (latest first)
- Higher buy/sell ratio indicates more bullish sentiment
- Data is provided in 1-day intervals
GET
/
v1
/
crypto
/
taker-buy-sell-volume
Get Taker Buy Sell Volume Data
curl --request GET \
--url https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume \
--header 'X-API-Key: <api-key>'import requests
url = "https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-tools.prd.arrays.org/api/v1/crypto/taker-buy-sell-volume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"buy_sell_ratio": 123,
"buy_vol": 123,
"sell_vol": 123,
"timestamp": 123
}
],
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}Authorizations
API Key authentication. Example: "your-api-key-here"
Query Parameters
Crypto token symbol (e.g., BTC, ETH, SOL)
Start timestamp (Unix seconds)
End timestamp (Unix seconds)
Maximum number of results (1-1000, default: 30)
Time interval (only 1d supported, default: 1d)
Available options:
1d Exchange name (only binance supported, default: binance)
Available options:
binance 
