Exchange Statistics
curl --request GET \
--url https://api.amberdata.com/arc/exchanges/statistics \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/arc/exchanges/statistics"
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://api.amberdata.com/arc/exchanges/statistics', 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.amberdata.com/arc/exchanges/statistics",
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://api.amberdata.com/arc/exchanges/statistics"
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://api.amberdata.com/arc/exchanges/statistics")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/arc/exchanges/statistics")
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{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"metadata": {
"next": null
},
"data": {
"lastUpdatedAt": 1733246810233,
"totalExchanges": 22,
"totalInstrumentsSpot": 22629,
"byExchange": [
{
"exchange": "binance",
"instrumentsSpot": 2832
},
{
"exchange": "binanceus",
"instrumentsSpot": 549
},
{
"exchange": "bitfinex",
"instrumentsSpot": 1428
},
{
"exchange": "bitget",
"instrumentsSpot": 991
},
{
"exchange": "bithumb",
"instrumentsSpot": 617
},
{
"exchange": "bitmex",
"instrumentsSpot": 20
},
{
"exchange": "bitstamp",
"instrumentsSpot": 271
},
{
"exchange": "bybit",
"instrumentsSpot": 751
},
{
"exchange": "cboedigital",
"instrumentsSpot": 10
},
{
"exchange": "ftx",
"instrumentsSpot": 621
},
{
"exchange": "ftxus",
"instrumentsSpot": 67
},
{
"exchange": "gdax",
"instrumentsSpot": 721
},
{
"exchange": "gemini",
"instrumentsSpot": 274
},
{
"exchange": "huobi",
"instrumentsSpot": 1905
},
{
"exchange": "itbit",
"instrumentsSpot": 14
},
{
"exchange": "kraken",
"instrumentsSpot": 1350
},
{
"exchange": "lmax",
"instrumentsSpot": 46
},
{
"exchange": "mercadobitcoin",
"instrumentsSpot": 701
},
{
"exchange": "mexc",
"instrumentsSpot": 5853
},
{
"exchange": "okex",
"instrumentsSpot": 1283
},
{
"exchange": "poloniex",
"instrumentsSpot": 1686
},
{
"exchange": "zb",
"instrumentsSpot": 639
}
]
}
}
}Asset Reference & Classification
Exchange Statistics
Retrieve the latest known instruments statistics from exchanges that Amberdata supports.
GET
/
exchanges
/
statistics
Exchange Statistics
curl --request GET \
--url https://api.amberdata.com/arc/exchanges/statistics \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/arc/exchanges/statistics"
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://api.amberdata.com/arc/exchanges/statistics', 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.amberdata.com/arc/exchanges/statistics",
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://api.amberdata.com/arc/exchanges/statistics"
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://api.amberdata.com/arc/exchanges/statistics")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/arc/exchanges/statistics")
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{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"metadata": {
"next": null
},
"data": {
"lastUpdatedAt": 1733246810233,
"totalExchanges": 22,
"totalInstrumentsSpot": 22629,
"byExchange": [
{
"exchange": "binance",
"instrumentsSpot": 2832
},
{
"exchange": "binanceus",
"instrumentsSpot": 549
},
{
"exchange": "bitfinex",
"instrumentsSpot": 1428
},
{
"exchange": "bitget",
"instrumentsSpot": 991
},
{
"exchange": "bithumb",
"instrumentsSpot": 617
},
{
"exchange": "bitmex",
"instrumentsSpot": 20
},
{
"exchange": "bitstamp",
"instrumentsSpot": 271
},
{
"exchange": "bybit",
"instrumentsSpot": 751
},
{
"exchange": "cboedigital",
"instrumentsSpot": 10
},
{
"exchange": "ftx",
"instrumentsSpot": 621
},
{
"exchange": "ftxus",
"instrumentsSpot": 67
},
{
"exchange": "gdax",
"instrumentsSpot": 721
},
{
"exchange": "gemini",
"instrumentsSpot": 274
},
{
"exchange": "huobi",
"instrumentsSpot": 1905
},
{
"exchange": "itbit",
"instrumentsSpot": 14
},
{
"exchange": "kraken",
"instrumentsSpot": 1350
},
{
"exchange": "lmax",
"instrumentsSpot": 46
},
{
"exchange": "mercadobitcoin",
"instrumentsSpot": 701
},
{
"exchange": "mexc",
"instrumentsSpot": 5853
},
{
"exchange": "okex",
"instrumentsSpot": 1283
},
{
"exchange": "poloniex",
"instrumentsSpot": 1686
},
{
"exchange": "zb",
"instrumentsSpot": 639
}
]
}
}
}Was this page helpful?
⌘I