Fetches detailed metadata for a token, including its name, symbol, price, and additional information like social links. This is useful for users who want comprehensive data about a particular token.
Request Parameters:
address (string, query, required): The contract address of the token.
chain (string, query, required): The blockchain on which the token resides (e.g., "eth" for Ethereum).
Searches and retrieves all tokens available in the market. The result can be big and take time. Developers can cache it locally for operations like different sorting of all tokens.
getMainstreamTokens
Fetches detailed information about mainstream tokens like BTC, ETH, SOL, etc.
getTrendingTokens
Fetches the trending tokens based on chain activity and user interactions.
searchToken
This API allows users to search for tokens' details in a fuzzy way by providing the keywords in the token name or contract address.
Request Parameters:
content (string, query, required): Search keywords such as the address of the token or token name.
chain (string, query, optional): The blockchain network on which the token resides (e.g., Ethereum, BSC). If omitted, it will search across all supported chains.
getOHLCV
Retrieves OHLCV (Open, High, Low, Close, Volume) chart data for a specific token. Used for drawing the K-line of the token.
Request Parameters:
tokenName (string, path, required): The name of the token for which the OHLCV data is requested.
interval (string, query, required): The time interval for each OHLCV data point. Possible values include: