Skip to main content
POST
/
api
/
v1
/
developer
/
tokens
/
chain-address
Get Tokens
curl --request POST \
  --url https://api.allium.so/api/v1/developer/tokens/chain-address \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
[
  {
    "token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "chain": "ethereum"
  },
  {
    "token_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "chain": "solana"
  }
]
'
import requests

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

payload = [
{
"token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"chain": "ethereum"
},
{
"token_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"chain": "solana"
}
]
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{token_address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', chain: 'ethereum'},
{token_address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', chain: 'solana'}
])
};

fetch('https://api.allium.so/api/v1/developer/tokens/chain-address', 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/chain-address",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'token_address' => '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
'chain' => 'ethereum'
],
[
'token_address' => 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
'chain' => 'solana'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)

func main() {

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

payload := strings.NewReader("[\n {\n \"token_address\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n \"chain\": \"ethereum\"\n },\n {\n \"token_address\": \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\",\n \"chain\": \"solana\"\n }\n]")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.allium.so/api/v1/developer/tokens/chain-address")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"token_address\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n \"chain\": \"ethereum\"\n },\n {\n \"token_address\": \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\",\n \"chain\": \"solana\"\n }\n]")
.asString();
require 'uri'
require 'net/http'

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

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"token_address\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n \"chain\": \"ethereum\"\n },\n {\n \"token_address\": \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\",\n \"chain\": \"solana\"\n }\n]"

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 detailed token information for specific token addresses. Use query parameters to request additional attributes.
Tokens that have never traded on a DEX are still returned, with real decimals and total_supply from chain state. Price-derived fields (price, fully_diluted_valuation_usd, price changes, all-time high/low) are omitted for these tokens rather than reported as 0. A token does not exist error now means the address genuinely has no on-chain supply record.

Supported Chains

Authorizations

X-API-KEY
string
header
required

Body

application/json
Required array length: 1 - 200 elements
token_address
string
required

Token contract address

chain
string
required

Lowercase chain name

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