Search Tokens
curl --request GET \
--url https://api.allium.so/api/v1/developer/tokens/search \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.allium.so/api/v1/developer/tokens/search"
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/search', 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/search",
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/search"
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/search")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.allium.so/api/v1/developer/tokens/search")
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",
"type": "native",
"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>"
}
]
}Tokens
Fetch tokens by keyword
Search tokens with a query string.
GET
/
api
/
v1
/
developer
/
tokens
/
search
Search Tokens
curl --request GET \
--url https://api.allium.so/api/v1/developer/tokens/search \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.allium.so/api/v1/developer/tokens/search"
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/search', 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/search",
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/search"
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/search")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.allium.so/api/v1/developer/tokens/search")
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",
"type": "native",
"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 tokens that match a keyword.
Tokens that have never traded on a DEX are included in results, 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.
Query Parameters
Response
Successful Response
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 Was this page helpful?