Token API
Select what you want to achieve:
Get Token Metadata
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
1 | getTokenMetadata | Get token metadata | Method Documentation | https://solana-gateway.moralis.io/token/:network/:address/metadata |
Get Token Balances
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
1 | getSPL | Get token balance by wallet | Method Documentation | https://solana-gateway.moralis.io/account/:network/:address/tokens |
2 | balance | Get native balance by wallet | Method Documentation | https://solana-gateway.moralis.io/account/:network/:address/balance |
3 | getPortfolio | Get portfolio by wallet | Method Documentation | https://solana-gateway.moralis.io/account/:network/:address/portfolio |
Get Token Swaps
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
1 | getSwapsByPairAddress | Get swaps by pair address | Method Documentation | https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/swaps |
2 | getSwapsByWalletAddress | Get swaps by wallet address | Method Documentation | https://solana-gateway.moralis.io/token/:network/:tokenAddress/swaps |
3 | getSwapsByTokenAddress | Get swaps by token address | Method Documentation | https://solana-gateway.moralis.io/account/:network/:walletAddress/swaps |
Get Pairs & Liquidity
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
1 | getTokenPairs | Get token pairs by address | Method Documentation | https://solana-gateway.moralis.io/token/:network/:address/pairs |
2 | getTokenPairStats | Get token pair statistics | Method Documentation | https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/stats |
3 | getAggregatedTokenPairStats | Get aggregated token pair statistics | Method Documentation | https://solana-gateway.moralis.io/token/:network/:address/pairs/stats |
Get Token Prices
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
1 | getTokenPrice | Get token price | Method Documentation | https://solana-gateway.moralis.io/token/:network/:address/price |
2 | getCandleSticks | Get OHLCV candlesticks by pair address | Method Documentation | https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/ohlcv |