Build advanced trading bots, monitor portfolios, and automate Solana DeFi strategies with enterprise-grade reliability and sub-millisecond WebSocket updates.
pip install axiomtradeapi
Everything you need to build sophisticated Solana trading applications
Sub-millisecond token updates with automatic reconnection and heartbeat monitoring
Multi-wallet balance monitoring with batch operations for up to 1000 addresses
Advanced bot frameworks with built-in risk management and position sizing
Production-grade authentication with automatic token refresh and validation
Comprehensive Solana market information with price feeds and volume analysis
Efficient bulk operations with automatic batching and connection pooling
From installation to your first trading bot in just a few steps
pip install axiomtradeapi
from axiomtradeapi import AxiomTradeClient
# Initialize client
client = AxiomTradeClient()
# Get wallet balance
balance = client.GetBalance("BJBgjyDZx5FSsyJf6bFKVXuJV7DZY9PCSMSi5d9tcEVh")
print(f"Balance: {balance['sol']} SOL")
{
"sol": 1.234567890,
"lamports": 1234567890,
"slot": 344031778
}
import asyncio
async def handle_new_tokens(tokens):
for token in tokens:
print(f"New token: {token['tokenName']}")
async def monitor():
client = AxiomTradeClient(auth_token="your-token")
await client.subscribe_new_tokens(handle_new_tokens)
await client.ws.start()
asyncio.run(monitor())
WebSocket features require authentication tokens. Get them from your browser after logging into axiom.trade.
class TokenSniperBot:
def __init__(self):
self.client = AxiomTradeClient(auth_token="...")
self.min_liquidity = 10.0 # SOL
async def analyze_token(self, token_data):
if token_data['liquiditySol'] > self.min_liquidity:
print(f"🎯 Opportunity: {token_data['tokenName']}")
return await self.execute_trade(token_data)
async def execute_trade(self, token):
# Your trading logic here
pass
Comprehensive guides and tutorials for every skill level
Complete documentation for all classes, methods, and functions
Real-world examples and use cases for different trading scenarios
Monitor multiple wallets and track portfolio performance with real-time balance updates.
Detect new token launches and analyze them for trading opportunities with customizable filters.
Scan for arbitrage opportunities across different DEXs with profit calculation and execution.
Connect with developers, share strategies, and get support
Join our active Discord community for real-time help, strategy discussions, and announcements.
Contribute to the project, report issues, and access the latest source code and examples.
Need custom trading solutions? Our expert team can build tailored bots and integrations.