SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokensByVolume('24h');curl --request GET \
--url https://data.solanatracker.io/tokens/volume/{timeframe} \
--header 'x-api-key: <api-key>'import requests
url = "https://data.solanatracker.io/tokens/volume/{timeframe}"
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://data.solanatracker.io/tokens/volume/{timeframe}', 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://data.solanatracker.io/tokens/volume/{timeframe}",
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://data.solanatracker.io/tokens/volume/{timeframe}"
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://data.solanatracker.io/tokens/volume/{timeframe}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/tokens/volume/{timeframe}")
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[
{
"token": {
"name": "<string>",
"symbol": "<string>",
"mint": "<string>",
"uri": "<string>",
"decimals": 123,
"description": "<string>",
"image": "<string>",
"hasFileMetaData": true,
"strictSocials": {},
"creation": {
"creator": "<string>",
"created_tx": "<string>",
"created_time": 123
}
},
"pools": [
{
"poolId": "<string>",
"liquidity": {
"quote": 123,
"usd": 123
},
"price": {
"quote": 123,
"usd": 123
},
"tokenSupply": 123,
"lpBurn": 123,
"tokenAddress": "<string>",
"marketCap": {
"quote": 123,
"usd": 123
},
"market": "<string>",
"quoteToken": "<string>",
"decimals": 123,
"security": {
"freezeAuthority": "<string>",
"mintAuthority": "<string>"
},
"lastUpdated": 123,
"deployer": "<string>",
"txns": {
"buys": 123,
"total": 123,
"volume": 123,
"volume24h": 123,
"sells": 123
},
"bundleId": "<string>"
}
],
"events": {},
"risk": {
"snipers": {
"count": 123,
"totalBalance": 123,
"totalPercentage": 123,
"wallets": [
"<string>"
]
},
"bundlers": {
"count": 123,
"totalBalance": 123,
"totalPercentage": 123,
"totalInitialBalance": 123,
"totalInitialPercentage": 123,
"wallets": [
{
"wallet": "<string>",
"initialBalance": 123,
"initialPercentage": 123,
"balance": 123,
"percentage": 123,
"bundleTime": 123
}
]
},
"insiders": {
"count": 123,
"totalBalance": 123,
"totalPercentage": 123,
"wallets": [
"<string>"
]
},
"top10": 123,
"dev": {
"percentage": 123,
"amount": 123
},
"fees": {},
"rugged": true,
"risks": [
"<string>"
],
"score": 123,
"jupiterVerified": true
},
"buys": 123,
"sells": 123,
"txns": 123,
"holders": 123
}
]Tokens
Get Tokens by Volume with Timeframe
Retrieves the top 100 tokens sorted by highest volume within the specified timeframe
GET
/
tokens
/
volume
/
{timeframe}
SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokensByVolume('24h');curl --request GET \
--url https://data.solanatracker.io/tokens/volume/{timeframe} \
--header 'x-api-key: <api-key>'import requests
url = "https://data.solanatracker.io/tokens/volume/{timeframe}"
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://data.solanatracker.io/tokens/volume/{timeframe}', 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://data.solanatracker.io/tokens/volume/{timeframe}",
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://data.solanatracker.io/tokens/volume/{timeframe}"
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://data.solanatracker.io/tokens/volume/{timeframe}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/tokens/volume/{timeframe}")
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[
{
"token": {
"name": "<string>",
"symbol": "<string>",
"mint": "<string>",
"uri": "<string>",
"decimals": 123,
"description": "<string>",
"image": "<string>",
"hasFileMetaData": true,
"strictSocials": {},
"creation": {
"creator": "<string>",
"created_tx": "<string>",
"created_time": 123
}
},
"pools": [
{
"poolId": "<string>",
"liquidity": {
"quote": 123,
"usd": 123
},
"price": {
"quote": 123,
"usd": 123
},
"tokenSupply": 123,
"lpBurn": 123,
"tokenAddress": "<string>",
"marketCap": {
"quote": 123,
"usd": 123
},
"market": "<string>",
"quoteToken": "<string>",
"decimals": 123,
"security": {
"freezeAuthority": "<string>",
"mintAuthority": "<string>"
},
"lastUpdated": 123,
"deployer": "<string>",
"txns": {
"buys": 123,
"total": 123,
"volume": 123,
"volume24h": 123,
"sells": 123
},
"bundleId": "<string>"
}
],
"events": {},
"risk": {
"snipers": {
"count": 123,
"totalBalance": 123,
"totalPercentage": 123,
"wallets": [
"<string>"
]
},
"bundlers": {
"count": 123,
"totalBalance": 123,
"totalPercentage": 123,
"totalInitialBalance": 123,
"totalInitialPercentage": 123,
"wallets": [
{
"wallet": "<string>",
"initialBalance": 123,
"initialPercentage": 123,
"balance": 123,
"percentage": 123,
"bundleTime": 123
}
]
},
"insiders": {
"count": 123,
"totalBalance": 123,
"totalPercentage": 123,
"wallets": [
"<string>"
]
},
"top10": 123,
"dev": {
"percentage": 123,
"amount": 123
},
"fees": {},
"rugged": true,
"risks": [
"<string>"
],
"score": 123,
"jupiterVerified": true
},
"buys": 123,
"sells": 123,
"txns": 123,
"holders": 123
}
]SDK Example
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokensByVolume('24h');
Authorizations
API Key for authentication
Path Parameters
Available options:
5m, 15m, 30m, 1h, 6h, 12h, 24h Was this page helpful?
⌘I