Tickers
curl --request GET \
--url https://api.cryptorank.io/v3/tickers \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.cryptorank.io/v3/tickers"
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.cryptorank.io/v3/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://api.cryptorank.io/v3/tickers",
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.cryptorank.io/v3/tickers"
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.cryptorank.io/v3/tickers")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cryptorank.io/v3/tickers")
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{
"data": [
{
"id": 12345,
"exchangeId": 200,
"exchangeName": "Binance",
"exchangeType": "cex-spot",
"baseSymbol": "BTC",
"quoteSymbol": "USDT",
"lastPrice": "65000.5",
"priceUsd": "65000.5",
"priceChangePercent24h": 1.23,
"high24hUsd": "65500",
"low24hUsd": "64000",
"spread": 0.05,
"volume24hUsd": "12500000",
"volumeShare": 12.34,
"tradeUrl": "https://www.binance.com/en/trade/BTC_USDT"
}
],
"meta": {
"page": 1,
"pageSize": 25,
"hasNextPage": true
},
"status": {
"usedCredits": 1,
"timestamp": 1780000000000
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Validation failed",
"status": 400
}
}{
"error": {
"code": "API_KEY_MISSING",
"message": "API key is missing",
"status": 401
}
}{
"error": {
"code": "NO_ACTIVE_SUBSCRIPTION",
"message": "No active subscription found",
"status": 403
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"status": 429
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"status": 500
}
}Tickers
Tickers
Trading pairs filtered by coin, by exchange, or both.
Available from: Basic
Cost: 1 credit per request
GET
/
v3
/
tickers
Tickers
curl --request GET \
--url https://api.cryptorank.io/v3/tickers \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.cryptorank.io/v3/tickers"
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.cryptorank.io/v3/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://api.cryptorank.io/v3/tickers",
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.cryptorank.io/v3/tickers"
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.cryptorank.io/v3/tickers")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cryptorank.io/v3/tickers")
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{
"data": [
{
"id": 12345,
"exchangeId": 200,
"exchangeName": "Binance",
"exchangeType": "cex-spot",
"baseSymbol": "BTC",
"quoteSymbol": "USDT",
"lastPrice": "65000.5",
"priceUsd": "65000.5",
"priceChangePercent24h": 1.23,
"high24hUsd": "65500",
"low24hUsd": "64000",
"spread": 0.05,
"volume24hUsd": "12500000",
"volumeShare": 12.34,
"tradeUrl": "https://www.binance.com/en/trade/BTC_USDT"
}
],
"meta": {
"page": 1,
"pageSize": 25,
"hasNextPage": true
},
"status": {
"usedCredits": 1,
"timestamp": 1780000000000
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Validation failed",
"status": 400
}
}{
"error": {
"code": "API_KEY_MISSING",
"message": "API key is missing",
"status": 401
}
}{
"error": {
"code": "NO_ACTIVE_SUBSCRIPTION",
"message": "No active subscription found",
"status": 403
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"status": 429
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"status": 500
}
}currencyId only — all tickers for a coin across exchanges; exchangeId only — all tickers on an exchange; both — tickers for that coin on that exchange.
Authorizations
Query Parameters
Page number (1-based). Returns up to 50 items per page.
Required range:
1 <= x <= 1000Filter by coin id — matches pairs where the coin is the base or the quote asset.
Example:
1
Filter by exchange id.
Example:
200
Sort field.
Available options:
id, volume, spread, lastPrice Sort direction.
Available options:
asc, desc ⌘I