Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Solana API

This section contains a full list of all methods within the Solana Web3 data.

Full List of APIs by Category

Find your favorite method by selecting one of the following categories:

Token API

Select what you want to achieve:

Get Token Metadata

No.MethodDescriptionAPI ReferenceURL
1getTokenMetadataGet token metadataMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/metadata

Get Token Balances

No.MethodDescriptionAPI ReferenceURL
2getSPLGet token balance by walletMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:address/tokens
3balanceGet native balance by walletMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:address/balance
4getPortfolioGet portfolio by walletMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:address/portfolio

Get Pump Fun Tokens

No.MethodDescriptionAPI ReferenceURL
5getNewTokensByExchangeGet new tokens by exchangeMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/exchange/:exchange/new
6getBondingTokensByExchangeGet tokens in bonding phase by exchangeMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/exchange/:exchange/bonding
7getGraduatedTokensByExchangeGet graduated tokens by exchangeMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/exchange/:exchange/graduated
8getTokenBondingStatusGet bonding status by token addressMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/:tokenAddress/bonding-status

Get Token Holders

No.MethodDescriptionAPI ReferenceURL
9getTokenHolderStatsGet token holder statisticsMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/holders/:address
10getHistoricalTokenHoldersGet historical token holder statisticsMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/holders/:address/historical

Get Token Swaps

No.MethodDescriptionAPI ReferenceURL
11getSwapsByPairAddressGet swaps by pair addressMethod Documentationhttps://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/swaps
12getSwapsByWalletAddressGet swaps by wallet addressMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:tokenAddress/swaps
13getSwapsByTokenAddressGet swaps by token addressMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:walletAddress/swaps

Get Pairs & Liquidity

No.MethodDescriptionAPI ReferenceURL
14getTokenPairsGet token pairs by addressMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/pairs
15getTokenPairStatsGet token pair statisticsMethod Documentationhttps://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/stats
16getAggregatedTokenPairStatsGet aggregated token pair statisticsMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/pairs/stats

Get Token Analytics

No.MethodDescriptionAPI ReferenceURL
17getTokenAnalyticsGet token analyticsMethod Documentationhttps://deep-index.moralis.io/api/v2.2/tokens/:address/analytics
18getMultipleTokenAnalyticsGet multiple token analyticsMethod Documentationhttps://deep-index.moralis.io/api/v2.2/tokens/:address/analytics
19getTimeSeriesTokenAnalyticsGet timeseries token analyticsMethod Documentationhttps://deep-index.moralis.io/api/v2.2/tokens//analytics/timeseries

Get Volume Stats

No.MethodDescriptionAPI ReferenceURL
20getVolumeStatsByChainGet volume statistics by chainMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/chains
21getVolumeStatsByCategoryGet volume and chain data by categoriesMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/categories?chain=solana
22getTimeSeriesVolumeRetrieve timeseries volume data by chainMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/timeseries?chain=eth&timeframe=1d
23getTimeSeriesVolumeByCategoryRetrieve timeseries volume data by categoryMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/timeseries/artificial-intelligence?chain=eth&timeframe=1d

Get Token Prices

No.MethodDescriptionAPI ReferenceURL
24getTokenPriceGet token priceMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/price
25getMultipleTokenPricesGet multiple token pricesMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/price
26getCandleSticksGet OHLCV candlesticks by pair addressMethod Documentationhttps://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/ohlcv

Get Token Snipers

No.MethodDescriptionAPI ReferenceURL
27getSnipersByPairAddressGet snipers by pair addressMethod Documentationhttps://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/snipers

Get Filtered Tokens

No.MethodDescriptionAPI ReferenceURL
28getFilteredTokensGet filtered tokensMethod Documentationhttps://deep-index.moralis.io/api/v2.2/discovery/tokens
No.MethodDescriptionAPI ReferenceURL
29getTrendingTokensGet trending tokensMethod Documentationhttps://deep-index.moralis.io/api/v2.2/tokens/trending

Search Tokens

No.MethodDescriptionAPI ReferenceURL
30searchTokensSearch tokensMethod Documentationhttps://deep-index.moralis.io/api/v2.2/tokens/search

Wallet API

Select what you want to achieve:

Get Native Balance

No.MethodDescriptionAPI ReferenceURL
1balanceGet native balance by walletMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:address/balance

Get Token Balances

No.MethodDescriptionAPI ReferenceURL
2getSPLGet token balance by walletMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:address/tokens

Get Portfolio

No.MethodDescriptionAPI ReferenceURL
3getPortfolioGet portfolio by walletMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:address/portfolio

Get Wallet Token Swaps

No.MethodDescriptionAPI ReferenceURL
4getSwapsByWalletAddressGet token swaps by wallet addressMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:walletAddress/swaps

Get Wallet NFTs

No.MethodDescriptionAPI ReferenceURL
5getNFTsGet NFTs by walletMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:address/nft

NFT API

No.MethodDescriptionAPI ReferenceURL
1getNFTsGet NFTs by walletMethod Documentationhttps://solana-gateway.moralis.io/account/:network/:address/nft
2getNFTMetadataGet NFT metadataMethod Documentationhttps://solana-gateway.moralis.io/nft/:network/:address/metadata

Price API

No.MethodDescriptionAPI ReferenceURL
1getTokenPriceGet token priceMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/price
2getMultipleTokenPricesGet multiple token pricesMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/price
3getCandleSticksGet the OHLCV candlesticks by using pair addressMethod Documentationhttps://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/ohlcv