Token API
Select what you want to achieve:
- Get Token Metadata
- Get Token Balances
- Get Token Swaps
- Get Pairs & Liquidity
- Get Token Prices
- Get Token Snipers
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 |
---|---|---|---|---|
2 | getSPL | Get token balance by wallet | Method Documentation | https://solana-gateway.moralis.io/account/:network/:address/tokens |
3 | balance | Get native balance by wallet | Method Documentation | https://solana-gateway.moralis.io/account/:network/:address/balance |
4 | 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 |
---|---|---|---|---|
5 | getSwapsByPairAddress | Get swaps by pair address | Method Documentation | https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/swaps |
6 | getSwapsByWalletAddress | Get swaps by wallet address | Method Documentation | https://solana-gateway.moralis.io/token/:network/:tokenAddress/swaps |
7 | 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 |
---|---|---|---|---|
8 | getTokenPairs | Get token pairs by address | Method Documentation | https://solana-gateway.moralis.io/token/:network/:address/pairs |
9 | getTokenPairStats | Get token pair statistics | Method Documentation | https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/stats |
10 | 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 |
---|---|---|---|---|
11 | getTokenPrice | Get token price | Method Documentation | https://solana-gateway.moralis.io/token/:network/:address/price |
12 | getCandleSticks | Get OHLCV candlesticks by pair address | Method Documentation | https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/ohlcv |
Get Token Snipers
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
13 | getSnipersByPairAddress | Get snipers by pair address | Method Documentation | https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/snipers |