Filter Tokens

Returns a list of tokens based on a variety of filters.

Endpoint: filterTokens

Method: POST

Arguments

NameTypeDescription
excludeTokens[String]

A list of token IDs to exclude from results (address:networkId)

filtersTokenFilters

A set of filters to apply.

limitInt

The maximum number of tokens to return.

offsetInt

Where in the list the server should start when returning items. Use count+page from the previous query to request the next page of results.

phraseString

A phrase to search for. Can match a token contract address or partially match a token's name or symbol.

rankings[TokenRanking]

A list of ranking attributes to apply.

statsTypeTokenPairStatisticsType

The type of statistics returned. Can be FILTERED or UNFILTERED

tokens[String]

A list of token IDs (address:networkId). Can be left blank to discover new tokens.

Response

NameTypeDescription
countIntThe number of tokens returned.
pageIntWhere in the list the server started when returning items.
results[TokenFilterResult]The list of tokens matching the filter parameters.

NameTypeDescription
buyCount1IntThe number of buys in the past hour.
buyCount4IntThe number of buys in the past 4 hours.
buyCount12IntThe number of buys in the past 12 hours.
buyCount24IntThe number of buys in the past 24 hours.
change1StringThe percent price change in the past hour. Decimal format.
change4StringThe percent price change in the past 4 hours. Decimal format.
change12StringThe percent price change in the past 12 hours. Decimal format.
change24StringThe percent price change in the past 24 hours. Decimal format.
createdAtIntThe unix timestamp for the creation of the token's first pair.
exchanges[Exchange]The exchanges the token is listed on.
high1StringThe highest price in USD in the past hour.
high4StringThe highest price in USD in the past 4 hours.
high12StringThe highest price in USD in the past 12 hours.
high24StringThe highest price in USD in the past 24 hours.
holdersIntThe number of different wallets holding the token.
isScamBooleanWhether the token has been flagged as a scam.
lastTransactionIntThe unix timestamp for the token's last transaction.
liquidityStringAmount of liquidity in the token's top pair.
low1StringThe lowest price in USD in the past hour.
low4StringThe lowest price in USD in the past 4 hours.
low12StringThe lowest price in USD in the past 12 hours.
low24StringThe lowest price in USD in the past 24 hours.
marketCapStringThe fully diluted market cap. For circulating market cap multiply token { info { circulatingSupply } } by priceUSD.
pairPairMetadata for the token's top pair.
priceUSDStringThe token price in USD.
quoteTokenStringThe token of interest. Can be token0 or token1.
sellCount1IntThe number of sells in the past hour.
sellCount4IntThe number of sells in the past 4 hours.
sellCount12IntThe number of sells in the past 12 hours.
sellCount24IntThe number of sells in the past 24 hours.
tokenEnhancedTokenMetadata for the token.
txnCount1IntThe number of transactions in the past hour.
txnCount4IntThe number of transactions in the past 4 hours.
txnCount12IntThe number of transactions in the past 12 hours.
txnCount24IntThe number of transactions in the past 24 hours.
uniqueBuys1IntThe unique number of buys in the past hour.
uniqueBuys4IntThe unique number of buys in the past 4 hours.
uniqueBuys12IntThe unique number of buys in the past 12 hours.
uniqueBuys24IntThe unique number of buys in the past 24 hours.
uniqueSells1IntThe unique number of sells in the past hour.
uniqueSells4IntThe unique number of sells in the past 4 hours.
uniqueSells12IntThe unique number of sells in the past 12 hours.
uniqueSells24IntThe unique number of sells in the past 24 hours.
uniqueTransactions1IntThe unique number of transactions in the past hour.
uniqueTransactions4IntThe unique number of transactions in the past 4 hours.
uniqueTransactions12IntThe unique number of transactions in the past 12 hours.
uniqueTransactions24IntThe unique number of transactions in the past 24 hours.
volume1StringThe trade volume in USD in the past hour.
volume4StringThe trade volume in USD in the past 4 hours.
volume12StringThe trade volume in USD in the past 12 hours.
volume24StringThe trade volume in USD in the past 24 hours.

Explore

👋

Join our Discord

Ask questions, share what you're working on and request new features 👬👭