Instruments
curl --request GET \
--url https://api.amberdata.com/markets/spot/exchanges/information \
--compressed \
--header 'Accept-Encoding: <accept-encoding>' \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/spot/exchanges/information"
headers = {
"Accept-Encoding": "<accept-encoding>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Accept-Encoding': '<accept-encoding>', 'x-api-key': '<api-key>'}
};
fetch('https://api.amberdata.com/markets/spot/exchanges/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/exchanges/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 => [
"Accept-Encoding: <accept-encoding>",
"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/exchanges/information"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Accept-Encoding", "<accept-encoding>")
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/exchanges/information")
.header("Accept-Encoding", "<accept-encoding>")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/spot/exchanges/information")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept-Encoding"] = '<accept-encoding>'
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"metadata": {
"next": "https://api.amberdata.com/markets/spot/exchanges/information?cursor=N4IglgdgxgNgrgEwKYEkIEMoBcwDckgBcWATnEgDTjTzICqEAznAA4sD2JWSCAogB5QAFuggBzJIyIAzdDEaUQOALZIAYp2XosREMrAwYYBVHYQEUqtM3bdAK0ZmQVFuglEAjFUZgAXgUIAVgAGYIBfIA",
"api-version": "2023-09-30"
},
"data": [
{
"exchange": "binance",
"instrument": "1000cat_bnb",
"active": true,
"ohlcv": {
"startDate": 1734393600000,
"endDate": 1739750400000
},
"orderBookSnapshot": {
"startDate": 1734427800000,
"endDate": 1739895780000
},
"orderBookEvent": {
"startDate": 1734426029092,
"endDate": 1739895599692
},
"ticker": {
"startDate": 1734426147738,
"endDate": 1739895595115
},
"trade": {
"startDate": 1734426214300,
"endDate": 1739894107524
}
},
{
"exchange": "binance",
"instrument": "1000cat_fdusd",
"active": true,
"ohlcv": {
"startDate": 1734393600000,
"endDate": 1739750400000
},
"orderBookSnapshot": {
"startDate": 1734427800000,
"endDate": 1739895780000
},
"orderBookEvent": {
"startDate": 1734426029293,
"endDate": 1739895599593
},
"ticker": {
"startDate": 1734426145880,
"endDate": 1739895592405
},
"trade": {
"startDate": 1734426221718,
"endDate": 1739895250067
}
}
]
}
}Exchanges
Instruments
Provides detailed metadata for available trading pairs on supported Spot market exchanges, including exchange names, trading instruments, and available data types (OHLCV, Order Book Snapshots, Order Book Events, Ticker, and Trades) with respective data availability periods.
GET
/
spot
/
exchanges
/
information
Instruments
curl --request GET \
--url https://api.amberdata.com/markets/spot/exchanges/information \
--compressed \
--header 'Accept-Encoding: <accept-encoding>' \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/spot/exchanges/information"
headers = {
"Accept-Encoding": "<accept-encoding>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Accept-Encoding': '<accept-encoding>', 'x-api-key': '<api-key>'}
};
fetch('https://api.amberdata.com/markets/spot/exchanges/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/exchanges/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 => [
"Accept-Encoding: <accept-encoding>",
"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/exchanges/information"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Accept-Encoding", "<accept-encoding>")
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/exchanges/information")
.header("Accept-Encoding", "<accept-encoding>")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/spot/exchanges/information")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept-Encoding"] = '<accept-encoding>'
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"metadata": {
"next": "https://api.amberdata.com/markets/spot/exchanges/information?cursor=N4IglgdgxgNgrgEwKYEkIEMoBcwDckgBcWATnEgDTjTzICqEAznAA4sD2JWSCAogB5QAFuggBzJIyIAzdDEaUQOALZIAYp2XosREMrAwYYBVHYQEUqtM3bdAK0ZmQVFuglEAjFUZgAXgUIAVgAGYIBfIA",
"api-version": "2023-09-30"
},
"data": [
{
"exchange": "binance",
"instrument": "1000cat_bnb",
"active": true,
"ohlcv": {
"startDate": 1734393600000,
"endDate": 1739750400000
},
"orderBookSnapshot": {
"startDate": 1734427800000,
"endDate": 1739895780000
},
"orderBookEvent": {
"startDate": 1734426029092,
"endDate": 1739895599692
},
"ticker": {
"startDate": 1734426147738,
"endDate": 1739895595115
},
"trade": {
"startDate": 1734426214300,
"endDate": 1739894107524
}
},
{
"exchange": "binance",
"instrument": "1000cat_fdusd",
"active": true,
"ohlcv": {
"startDate": 1734393600000,
"endDate": 1739750400000
},
"orderBookSnapshot": {
"startDate": 1734427800000,
"endDate": 1739895780000
},
"orderBookEvent": {
"startDate": 1734426029293,
"endDate": 1739895599593
},
"ticker": {
"startDate": 1734426145880,
"endDate": 1739895592405
},
"trade": {
"startDate": 1734426221718,
"endDate": 1739895250067
}
}
]
}
}Query Parameters
Was this page helpful?