Information Depth Analytics Pairs and Exchanges
curl --request GET \
--url https://api.amberdata.com/markets/spot/analytics/depth/information \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/spot/analytics/depth/information"
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/markets/spot/analytics/depth/information', 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/markets/spot/analytics/depth/information",
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/markets/spot/analytics/depth/information"
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/markets/spot/analytics/depth/information")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/spot/analytics/depth/information")
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": {
"data": [
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "btc_usd",
"startDate": "2025-02-22T00:08:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "btc_usdt",
"startDate": "2025-02-22T00:08:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "doge_usd",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "doge_usdt",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "eth_usd",
"startDate": "2025-02-22T00:08:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "eth_usdt",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "sol_usd",
"startDate": "2025-02-22T00:06:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "sol_usdt",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "sui_usd",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "usdt_usd",
"startDate": "2025-02-22T00:08:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "xrp_usd",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "xrp_usdt",
"startDate": "2025-02-22T00:07:00Z"
}
]
}
}{}Information
Information Depth Analytics Pairs and Exchanges
This endpoint retrieves all available exchanges and their associated currency pairs, along with the earliest and latest dates of historical data. It applies specifically to spot order book depth analytics.
GET
/
depth
/
information
Information Depth Analytics Pairs and Exchanges
curl --request GET \
--url https://api.amberdata.com/markets/spot/analytics/depth/information \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/spot/analytics/depth/information"
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/markets/spot/analytics/depth/information', 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/markets/spot/analytics/depth/information",
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/markets/spot/analytics/depth/information"
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/markets/spot/analytics/depth/information")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/spot/analytics/depth/information")
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": {
"data": [
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "btc_usd",
"startDate": "2025-02-22T00:08:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "btc_usdt",
"startDate": "2025-02-22T00:08:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "doge_usd",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "doge_usdt",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "eth_usd",
"startDate": "2025-02-22T00:08:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "eth_usdt",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "sol_usd",
"startDate": "2025-02-22T00:06:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "sol_usdt",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "sui_usd",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "usdt_usd",
"startDate": "2025-02-22T00:08:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "xrp_usd",
"startDate": "2025-02-22T00:07:00Z"
},
{
"endDate": "2025-03-05T21:39:00Z",
"exchange": "gdax",
"pair": "xrp_usdt",
"startDate": "2025-02-22T00:07:00Z"
}
]
}
}{}Authorizations
Query Parameters
[Optional] The exchange for which to retrieve listed spot instruments.
[Examples] gdax | okex | binance | binanceus
[Optional] The currency pair for the spot instrument.
[Examples] btc_usd | btc_usdc | eth_usd
[Optional] Time format of the timestamps in the return payload.
[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable
Was this page helpful?
⌘I