๐ฃ๐ Solscan API Tools
April 13, 2025 ยท View on GitHub
Features
This MCP server exposes the following tools for interacting with the Solscan API:
-
chain_info- Get Solana blockchain information
- Input:
- No parameters required
- Returns: Blockchain information including block height, current epoch, absolute slot, and transaction count
-
token_meta- Get token metadata
- Input:
token_address(string): A token address on Solana blockchain
- Returns: Token metadata including name, symbol, price, market cap, etc.
-
token_meta_multi- Get the metadata of multiple tokens (max 20 tokens)
- Input:
address(string[]): Array of token addresses (max 20)
- Returns: Metadata for multiple tokens
-
token_markets- Get token market data and liquidity pools
- Inputs:
token_address(string): Token address to querysort_by(string, optional): Field to sort byprogram(string[], optional): Filter by program addresses (max 5)page(number, optional): Page number (default: 1)page_size(number, optional): Items per page (10, 20, 30, 40, 60, 100)
- Returns: Market data and liquidity pools for the token
-
token_holders- Get token holder distribution
- Inputs:
token_address(string): Token address to querypage(number, optional): Page number (default: 1)page_size(number, optional): Items per page (10, 20, 30, 40)from_amount(string, optional): Minimum token holding amountto_amount(string, optional): Maximum token holding amount
- Returns: List of token holders with their balances
-
token_list- Get the list of tokens
- Inputs:
sort_by(string, optional): Field to sort bysort_order(string, optional): Sort order (asc/desc)page(number, optional): Page numberpage_size(number, optional): Items per page
- Returns: List of tokens with their information
-
token_top- Get the list of top tokens
- Input:
- No parameters required
- Returns: List of top tokens on Solana
-
token_trending- Get the list of trending tokens
- Input:
limit(number, optional): Number of tokens to return
- Returns: List of trending tokens
-
token_price- Get historical token price data
- Inputs:
token_address(string): Token address to queryfrom_time(number, optional): Start date in UNIX timestamp formatto_time(number, optional): End date in UNIX timestamp format
- Returns: Historical price data for the specified date range
-
token_price_multi- Get historical price data for multiple tokens
- Inputs:
address(string[]): Array of token addresses (max 20)from_time(number, optional): Start date in UNIX timestampto_time(number, optional): End date in UNIX timestamp
- Returns: Historical price data for multiple tokens
-
token_transfer- Get transfer data of a token
- Inputs:
address(string): Token addressactivity_type(string, optional): Type of activityfrom(string, optional): Sender addressto(string, optional): Recipient addressamount(string, optional): Transfer amountblock_time(string, optional): Block timeexclude_amount_zero(boolean, optional): Exclude zero amount transferspage(number, optional): Page numberpage_size(number, optional): Items per pagesort_by(string, optional): Field to sort bysort_order(string, optional): Sort ordervalue(string, optional): Value filter
- Returns: List of token transfers
-
token_defi_activities- Get defi activities involving a token
- Inputs:
address(string): Token addressfrom(string, optional): From addressplatform(string, optional): DeFi platformsource(string, optional): Sourceactivity_type(string, optional): Type of activitytoken(string, optional): Related token addressfrom_time(number, optional): Start timeto_time(number, optional): End timepage(number, optional): Page numberpage_size(number, optional): Items per pagesort_by(string, optional): Field to sort bysort_order(string, optional): Sort order
- Returns: List of DeFi activities for the token
-
account_transfer- Get transfer data of an account
- Inputs:
address(string): Account addressactivity_type(string, optional): Type of activitytoken_account(string, optional): Token account addressfrom(string, optional): Sender addressto(string, optional): Recipient addresstoken(string, optional): Token addressamount(string, optional): Transfer amountfrom_time(number, optional): Start timeto_time(number, optional): End timeexclude_amount_zero(boolean, optional): Exclude zero amount transfersflow(string, optional): Direction of flowpage(number, optional): Page numberpage_size(number, optional): Items per pagesort_by(string, optional): Field to sort bysort_order(string, optional): Sort ordervalue(string, optional): Value filter
- Returns: List of account transfers
-
account_detail- Get the details of an account
- Input:
address(string): Account address
- Returns: Detailed information about the account
-
balance_change- Get detailed balance change activities
- Inputs:
account(string): Wallet address to querytoken_account(string, optional): Token account addresstoken(string, optional): Token addressfrom_time(number, optional): Start timeto_time(number, optional): End timepage(number, optional): Page numberpage_size(number, optional): Items per pageremove_spam(boolean, optional): Remove spam tokensamount(string, optional): Amount filterflow(string, optional): Direction of flowsort_by(string, optional): Field to sort bysort_order(string, optional): Sort orderbefore_tx(string, optional): Transaction signature to paginate from
- Returns: List of balance changes for the specified wallet
-
transaction_detail- Get detailed transaction information
- Input:
tx(string): Transaction signature
- Returns: Detailed information about the transaction
-
transaction_last- Get the list of the latest transactions
- Inputs:
limit(number, optional): Number of transactions to returnfilter(string, optional): Filter criteria
- Returns: List of the latest transactions
-
transaction_actions- Get parsed actions from a transaction
- Input:
tx(string): Transaction signature
- Returns: Parsed actions from the transaction
-
block_last- Get the list of the latest blocks
- Input:
limit(number, optional): Number of blocks to return
- Returns: List of the latest blocks
-
block_transactions- Get the list of transactions of a block
- Inputs:
block(number/string): Block number or hashpage(number, optional): Page numberpage_size(number, optional): Items per pageexclude_vote(boolean, optional): Exclude vote transactionsprogram(string, optional): Filter by program address
- Returns: List of transactions in the block
-
block_detail- Get the details of a block
- Input:
block(number/string): Block number or hash
- Returns: Detailed information about the block
-
market_list- Get the list of pool markets
- Inputs:
page(number, optional): Page numberpage_size(number, optional): Items per pageprogram(string, optional): Filter by program address
- Returns: List of pool markets
-
market_info- Get token market info
- Input:
address(string): Market address
- Returns: Detailed market information
-
market_volume- Get token market volume
- Inputs:
address(string): Market addresstime(string, optional): Time period
- Returns: Market volume data
-
account_defi_activities- Get defi activities involving an account
- Inputs:
address(string): Account addressactivity_type(string, optional): Type of activityfrom(string, optional): From addressplatform(string, optional): DeFi platformsource(string, optional): Sourcetoken(string, optional): Token addressfrom_time(number, optional): Start timeto_time(number, optional): End timepage(number, optional): Page numberpage_size(number, optional): Items per pagesort_by(string, optional): Field to sort bysort_order(string, optional): Sort order
- Returns: List of DeFi activities for the account
-
account_transactions- Get the list of transactions of an account
- Inputs:
address(string): Account addressbefore(string, optional): Transaction signature to paginate fromlimit(number, optional): Number of transactions to return
- Returns: List of account transactions
-
account_portfolio- Get the portfolio for a given address
- Input:
address(string): Account address
- Returns: Portfolio information including tokens and their values
-
account_token_accounts- Get token accounts of an account
- Inputs:
address(string): Account addresstype(string): Account typepage(number, optional): Page numberpage_size(number, optional): Items per pagehide_zero(boolean, optional): Hide zero balance accounts
- Returns: List of token accounts
-
account_stake- Get the list of stake accounts of an account
- Inputs:
address(string): Account addresspage(number, optional): Page numberpage_size(number, optional): Items per page
- Returns: List of stake accounts
-
account_reward_export- Export the rewards for an account
- Inputs:
address(string): Account addresstime_from(number, optional): Start timetime_to(number, optional): End time
- Returns: Rewards data in exportable format
-
account_transfer_export- Export transfer data of an account
- Inputs:
address(string): Account addressactivity_type(string, optional): Type of activitytoken_account(string, optional): Token account addressfrom(string, optional): Sender addressto(string, optional): Recipient addresstoken(string, optional): Token addressamount(string, optional): Transfer amountfrom_time(number, optional): Start timeto_time(number, optional): End timeexclude_amount_zero(boolean, optional): Exclude zero amount transfersflow(string, optional): Direction of flow
- Returns: Transfer data in exportable format
-
account_metadata- Get the metadata of an account
- Input:
address(string): Account address
- Returns: Account metadata information
-
nft_news- Get the list of new NFTs
- Inputs:
filter(string): Filter criteriapage(number, optional): Page numberpage_size(number, optional): Items per page
- Returns: List of new NFTs
-
nft_activities- Get NFT activities
- Inputs:
from(string, optional): From addressto(string, optional): To addresssource(string, optional): Sourceactivity_type(string, optional): Type of activityfrom_time(number, optional): Start timeto_time(number, optional): End timetoken(string, optional): NFT token addresscollection(string, optional): NFT collectioncurrency_token(string, optional): Currency tokenprice(string, optional): Price filterpage(number, optional): Page numberpage_size(number, optional): Items per page
- Returns: List of NFT activities
-
nft_collection_lists- Get the list of NFT collections
- Inputs:
range(number, optional): Time rangesort_order(string, optional): Sort ordersort_by(string, optional): Field to sort bypage(number, optional): Page numberpage_size(number, optional): Items per pagecollection(string, optional): Collection name search
- Returns: List of NFT collections
-
nft_collection_items- Get the list of items of an NFT collection
- Inputs:
collection(string): Collection addresssort_by(string, optional): Field to sort bypage(number, optional): Page numberpage_size(number, optional): Items per page
- Returns: List of NFT items in the collection