Welcome to Raze.bot
Raze.bot provides powerful APIs for Solana blockchain trading and data. Choose your path based on your needs:Trading API
Quote, buy, sell, and swap Solana tokens. Auth optional with usage-based fees.
Utilities
Token launch, fee management, batched SOL/SPL transfers, distribute, consolidate.
Streaming & History API
Subscription-based access to real-time streaming and historical data APIs.
Quick Start
1
Choose Your API
Trading API: Buy, sell, and swap tokens with per-transaction feesUtilities: Token launch, fee management, and batched SOL/SPL transfersPremium API: Subscription required for streaming and history endpoints
2
Get API Access
For Premium API, create an account at raze.bot
3
Start Building
Follow our Environment Setup guide
API Overview
Trading API
Public users pay 0.001 SOL minimum tip + 0.5% swap fee. API key users have full control over tip/fee params (or zero fees):- Quote: Get swap quotes (
/swap/sol/quote/:mint) — auth required - Swap: Buy and sell tokens (
/swap/sol/buy,/swap/sol/sell) — auth optional - Instructions: Raw swap instructions for custom transactions (
/swap/sol/instructions) — auth required
Utilities
API key required. Hosted on the History API hostapi.raze.bot:
- Transactions: Batched transfer / burn (SOL + SPL + Token-2022), distribute, consolidate
- Token launch: pumpfun, bonk, meteora_dbc, meteora_cpamm — body discriminator on
platform - Fees: claim pump.fun creator fees + Meteora partner/creator fees; manage pump.fun fee-sharing config
router.raze.bot.
Streaming & History API (Subscription)
Streaming API
Streaming API
Real-time WebSocket streaming for live data:
- Trades, deploys, migrations, alerts
- Connect via
wss://ws.raze.bot/ws/sol?apiKey=YOUR_KEY
History API
History API
Comprehensive historical data and analytics:
- GraphQL (
POST /api/sol/graphql): multi-root and batch queries — e.g. trending board (top lists + per-mint enrichment in one request) - Price: Current prices, image proxy
- Trades: Recent trades, by mint, by signer, volume
- Tokens: OHLC, holders, top traders, metadata, supply, deploys, migrations, search
- Alerts: By mint, recent, top (daily/weekly/monthly)
- Sentiment: Hourly, daily, weekly analysis
Next Steps
Environment Setup
Set up your development environment
Portal Setup
Get your Premium API key
Streaming API
Connect to real-time WebSocket feeds
History API
Access historical data and analytics
