Skip to main content
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>'
[
  {
    "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": {}
    }
  }
]
This endpoint returns tokens that match a keyword.

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

q
string
required

The query string to search in name and symbol. Performs a case-insensitive substring search. The query string to search in name and symbol. Performs a case-insensitive substring search.

chain
string

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

sort
enum<string>
default:volume

Sort by a certain field Sort by a certain field

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

Granularity of the sorting field. Only used if sort is volume or trade_count. 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 Sorting order

Available options:
asc,
desc
limit
integer
default:200

Maximum number of tokens to return. 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. 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. Minimum 1h volume in USD. Only returns tokens with volume >= this value.

Response

Successful Response

chain
string
required
address
string
required
object
string
default:token
Allowed value: "token"
type
enum<string> | null
Available options:
native,
evm_erc20,
evm_erc721,
evm_erc1155,
sol_spl,
sui_token,
near_nep141,
stellar_classic,
stellar_sac,
stellar_wasm
price
number | null
decimals
integer | null
info
TokenInfo · object
attributes
TokenAttributes · object