curl --request GET \
--url https://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles', 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://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles",
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.sandbox.busha.so/v1/exchange/markets/{symbol}/candles"
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.sandbox.busha.so/v1/exchange/markets/{symbol}/candles")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Candles retrieved",
"data": [
{
"time": "2026-09-06T09:00:00Z",
"open": "1369.40",
"high": "1371.90",
"low": "1368.80",
"close": "1371.05",
"volume": "94200.00",
"quote_volume": "129108910.00",
"trades": 312
},
{
"time": "2026-09-06T10:00:00Z",
"open": "1371.05",
"high": "1373.60",
"low": "1370.20",
"close": "1371.80",
"volume": "88150.00",
"quote_volume": "120920417.00",
"trades": 287
},
{
"time": "2026-09-06T11:00:00Z",
"open": "1371.80",
"high": "1375.90",
"low": "1371.10",
"close": "1372.10",
"volume": "102640.00",
"quote_volume": "140878174.00",
"trades": 341
}
]
}List candles
OHLCV rows for one market, oldest first. Each row is an object naming its own fields: time, open, high, low, close, volume, quote_volume and trades.
time is the RFC3339 instant the interval opened; open, high, low, close, volume and quote_volume are decimal strings, because prices must never be JSON numbers on this surface; trades is a count, and so a JSON number.
interval is required. start_time and end_time bound the window; with neither, the most recent limit intervals are returned. limit defaults to 200 and is capped at 1000. There is no history ceiling: page back through time with end_time rather than being told older data cannot be retrieved. The bar that is still forming is included, and it moves as the market trades.
Every interval from the market’s first trade to the one forming now has a row, as Binance, Kraken and OKX publish klines. An interval nothing traded in is flat at the previous close: open, high, low and close are that close, and volume, quote_volume and trades are zero. Intervals before the market’s first trade are left out.
curl --request GET \
--url https://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles', 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://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles",
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.sandbox.busha.so/v1/exchange/markets/{symbol}/candles"
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.sandbox.busha.so/v1/exchange/markets/{symbol}/candles")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.busha.so/v1/exchange/markets/{symbol}/candles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Candles retrieved",
"data": [
{
"time": "2026-09-06T09:00:00Z",
"open": "1369.40",
"high": "1371.90",
"low": "1368.80",
"close": "1371.05",
"volume": "94200.00",
"quote_volume": "129108910.00",
"trades": 312
},
{
"time": "2026-09-06T10:00:00Z",
"open": "1371.05",
"high": "1373.60",
"low": "1370.20",
"close": "1371.80",
"volume": "88150.00",
"quote_volume": "120920417.00",
"trades": 287
},
{
"time": "2026-09-06T11:00:00Z",
"open": "1371.80",
"high": "1375.90",
"low": "1371.10",
"close": "1372.10",
"volume": "102640.00",
"quote_volume": "140878174.00",
"trades": 341
}
]
}Path Parameters
The market symbol, BASE-QUOTE in uppercase
A market's one canonical identifier: the base asset, a hyphen, the quote asset, all uppercase. USDT-NGN means USDT priced in NGN, so a buy acquires USDT and spends NGN. The same string is used in paths, query parameters, request bodies and stream subscriptions; there is no second spelling of a market anywhere on this surface.
5 - 21^[A-Z0-9]{2,10}-[A-Z0-9]{2,10}$"USDT-NGN"