GET /api/tickers
curl --request GET \
--url https://public-api.binibit.com/api/tickersimport requests
url = "https://public-api.binibit.com/api/tickers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://public-api.binibit.com/api/tickers', 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://public-api.binibit.com/api/tickers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://public-api.binibit.com/api/tickers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.binibit.com/api/tickers")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.binibit.com/api/tickers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"timestamp": 123,
"currencyPairCode": "<string>",
"price": 123,
"price24hAgo": 123,
"priceChangePercentage24h": 123,
"volume24h": 123,
"bidPrice": 123,
"askPrice": 123
}Market Data
GET /api/tickers
24-hour ticker information for a single trading pair.
GET
/
api
/
tickers
GET /api/tickers
curl --request GET \
--url https://public-api.binibit.com/api/tickersimport requests
url = "https://public-api.binibit.com/api/tickers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://public-api.binibit.com/api/tickers', 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://public-api.binibit.com/api/tickers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://public-api.binibit.com/api/tickers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.binibit.com/api/tickers")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.binibit.com/api/tickers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"timestamp": 123,
"currencyPairCode": "<string>",
"price": 123,
"price24hAgo": 123,
"priceChangePercentage24h": 123,
"volume24h": 123,
"bidPrice": 123,
"askPrice": 123
}Description
Returns the current ticker — last price, 24h price change, 24h volume, best bid and ask — for one trading pair.Parameters
string
required
Pair code in
{base}_{target} format, e.g. ETH_BTC, TRX_USDT. See Currency pair codes.Response
integer
required
Last update time, Unix epoch in seconds.
string
required
Pair code, echoed back.
decimal
required
Last traded price (one base unit in target currency).
decimal
required
Price 24 hours before the current timestamp.
decimal
required
Percentage change of
price vs price24hAgo.decimal
required
24-hour trading volume in base currency.
decimal
required
Current highest bid.
decimal
required
Current lowest ask.
Example request
curl "https://public-api.binibit.com/api/tickers?currencyPairCode=ETH_BTC"
const url = new URL("https://public-api.binibit.com/api/tickers");
url.searchParams.set("currencyPairCode", "ETH_BTC");
const ticker = await fetch(url).then(r => r.json());
import requests
ticker = requests.get(
"https://public-api.binibit.com/api/tickers",
params={"currencyPairCode": "ETH_BTC"},
).json()
Example response
{
"timestamp": 1777458497,
"currencyPairCode": "ETH_BTC",
"price": 0.03027857,
"price24hAgo": 0.02972996,
"priceChangePercentage24h": 1.2561641096159775593971696400,
"volume24h": 2.53540593,
"bidPrice": 0.02981188,
"askPrice": 0.0304212
}
Notes
- This endpoint returns a single ticker for a specified pair. To list all pairs, use
GET /api/currencies/pairsand combine with this endpoint. - Aggregator-spec equivalent: see Aggregator Compatibility / tickers for the CoinGecko-format endpoint that returns all pairs in one call.
timestampis in seconds, not milliseconds.
