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

Solana API

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

Swagger Interface

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
9getTopHoldersGet token top holdersMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/holders/:address
10getTokenHolderStatsGet token holder statisticsMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/holders/:address
11getHistoricalTokenHoldersGet historical token holder statisticsMethod Documentationhttps://solana-gateway.moralis.io/token/mainnet/holders/:address/historical

Get Token Swaps

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

Get Pairs & Liquidity

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

Get Token Analytics

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

Get Volume Stats

No.MethodDescriptionAPI ReferenceURL
21getVolumeStatsByChainGet volume statistics by chainMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/chains
22getVolumeStatsByCategoryGet volume and chain data by categoriesMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/categories?chain=solana
23getTimeSeriesVolumeRetrieve timeseries volume data by chainMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/timeseries?chain=eth&timeframe=1d
24getTimeSeriesVolumeByCategoryRetrieve 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
25getTokenPriceGet token priceMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/price
26getMultipleTokenPricesGet multiple token pricesMethod Documentationhttps://solana-gateway.moralis.io/token/:network/:address/price
27getCandleSticksGet OHLCV candlesticks by pair addressMethod Documentationhttps://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/ohlcv

Get Token Snipers

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

Get Filtered Tokens

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

Search Tokens

No.MethodDescriptionAPI ReferenceURL
31searchTokensSearch 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

Premium Endpoints

No.MethodDescriptionAPI ReferenceURL
1searchTokensSearch tokensMethod Documentationhttps://deep-index.moralis.io/api/v2.2/tokens/search
2getMultipleTokenAnalyticsGet multiple token analyticsMethod Documentationhttps://deep-index.moralis.io/api/v2.2/tokens/analytics
3getVolumeStatsByChainGet volume statistics by chainMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/chains
4getVolumeStatsByCategoryGet volume and chain data by categoriesMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/categories?chain=eth
5getTimeSeriesVolumeRetrieve timeseries volume data by chainMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/timeseries
6getTimeSeriesVolumeByCategoryRetrieve timeseries volume data by categoryMethod Documentationhttps://deep-index.moralis.io/api/v2.2/volume/timeseries/artificial-intelligence
7getFilteredTokensGet filtered tokensMethod Documentationhttps://deep-index.moralis.io/api/v2.2/discovery/tokens