Skip to main content
GET
/
api
/
v1
/
developer
/
tokens
Get Tokens List
curl --request GET \
  --url https://api.allium.so/api/v1/developer/tokens \
  --header 'X-API-KEY: <api-key>'
import requests

url = "https://api.allium.so/api/v1/developer/tokens"

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.allium.so/api/v1/developer/tokens', 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.allium.so/api/v1/developer/tokens",
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.allium.so/api/v1/developer/tokens"

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.allium.so/api/v1/developer/tokens")
.header("X-API-KEY", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.allium.so/api/v1/developer/tokens")

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
[
  {
    "chain": "<string>",
    "address": "<string>",
    "object": "token",
    "price": 123,
    "decimals": 123,
    "info": {
      "name": "<string>",
      "symbol": "<string>"
    },
    "attributes": {
      "total_liquidity_usd": {
        "amount": 123,
        "details": "<string>"
      },
      "price_diff_1d": 123,
      "price_diff_pct_1d": 123,
      "price_diff_1h": 123,
      "price_diff_pct_1h": 123,
      "total_supply": 123,
      "fully_diluted_valuation_usd": 123,
      "volume_1h": 123,
      "volume_1d": 123,
      "volume_usd_1h": 123,
      "volume_usd_1d": 123,
      "volume_24h": 123,
      "volume_usd_24h": 123,
      "trade_count_1h": 123,
      "trade_count_1d": 123,
      "all_time_high": 123,
      "all_time_low": 123,
      "image_url": "<string>",
      "token_creation_time": "2023-11-07T05:31:56Z",
      "holders_count": 123,
      "stellar_fields": {}
    }
  }
]
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}
This endpoint returns the top N tokens sorted by a specified criteria, making it useful for discovering trending tokens or filtering by specific metrics.
Tokens that have never traded on a DEX are included, with price-derived fields (price, fully_diluted_valuation_usd, price changes) omitted rather than reported as 0. They rank last under any FDV or volume sort.

Supported Chains

To get Stellar tokens, pass chain=stellar as a query parameter. Sort, granularity, order, and volume thresholds are currently not supported.

Authorizations

X-API-KEY
string
header
required

Query Parameters

chain
string

The chain of the tokens. Do not pass anything to search across all tokens.

sort
enum<string>
default:volume

Sort by a certain field

Available options:
volume,
trade_count,
fully_diluted_valuation
granularity
enum<string> | null

Granularity of the sorting field. Only used if sort is volume or trade_count.

Available options:
1d,
1h
order
enum<string>
default:desc

Sorting order

Available options:
asc,
desc
limit
integer
default:200

Maximum number of tokens to return.

Required range: 0 <= x <= 200
volume_usd_1d_threshold
number

Minimum 1d volume in USD. Only returns tokens with volume >= this value.

volume_usd_1h_threshold
number

Minimum 1h volume in USD. Only returns tokens with volume >= this value.

Response

Successful Response

chain
string
required

Lowercase chain name

address
string
required

Token contract address

object
string
default:token
Allowed value: "token"
type
enum<string> | null

Token standard type: evm_erc20/evm_erc721/evm_erc1155 (EVMs), sol_spl (Solana), sui_token (Sui), near_nep141/near_nep245 (Near), stellar_classic/stellar_sac/stellar_wasm (Stellar), or native (All)

Available options:
native,
non_native,
evm_erc20,
evm_erc721,
evm_erc1155,
sol_spl,
sui_token,
near_nep141,
near_nep245,
stellar_classic,
stellar_sac,
stellar_wasm
price
number | null

Current price (USD); omitted for tokens that have never been DEX-priced

decimals
integer | null

Token decimal places

info
TokenInfo · object | null

Token name and symbol

attributes
TokenAttributes · object | null

Token market attributes