We’re excited to announce the launch of the Token Swap Transactions API for both EVM and Solana networks!
These APIs empower you to fetch detailed swap data for wallets, tokens, and token pairs, enabling seamless integration into trading, analytics, or notification platforms.
What’s New?
EVM APIs
Name | Description | API Reference | URL |
---|---|---|---|
Get Swaps by Pair Address | Fetch swaps by pair address | Method Documentation | https://deep-index.moralis.io/api/v2.2/pairs/:address/swaps |
Get Swaps by Token Address | Fetch swaps by ERC20 token address | Method Documentation | https://deep-index.moralis.io/api/v2.2/erc20/:address/swaps |
Get Swaps by Wallet Address | Fetch swaps by wallet address | Method Documentation | https://deep-index.moralis.io/api/v2.2/wallets/:address/swaps |
Solana APIs
Name | Description | API Reference | URL |
---|---|---|---|
Get Swaps by Pair Address | Fetch swaps by pair address | Method Documentation | https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/swaps |
Get Swaps by Token Address | Fetch swaps by token address | Method Documentation | https://solana-gateway.moralis.io/token/:network/:tokenAddress/swaps |
Get Swaps by Wallet Address | Fetch swaps by wallet address | Method Documentation | https://solana-gateway.moralis.io/account/:network/:walletAddress/swaps |
What Can You Do?
With these APIs, you can:
- Track Token Swaps: Retrieve swap transactions for specific wallets, token pairs, or token addresses on both EVM and Solana chains.
- Build Notification Systems: Power applications like Telegram bots or dashboards to monitor and alert users about token swaps.
- Analyze Market Activity: Gather and analyze token swap data to understand market dynamics or build trading algorithms.
Example Use Cases:
- Trading Dashboards: Monitor swap activity for specific tokens or wallets in real-time.
- Analytics Platforms: Provide insights into swap volumes and token flow across wallets and pairs.
- Notification Systems: Alert users about large swaps or specific swap events for tokens they are tracking.