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. API key required.
Utilities
Token launch, fee management, batched SOL/SPL transfers, distribute, consolidate.
Streaming & History API
Real-time streaming and historical data APIs.
Quick Start
1
Choose Your API
Trading API: Buy, sell, and swap tokensUtilities: Token launch, fee management, and batched SOL/SPL transfersStreaming & History: real-time and historical data
2
Get API Access
Every endpoint requires an API key — create an account at
raze.bot, pick a plan or top up credits, and issue a key.
3
Start Building
Follow our Environment Setup guide
API Overview
Trading API
API key required on every endpoint. You control tip and platform fee per request (tipWallet/tipLamports, feeWallet/feeBps) — omit them for a zero-fee transaction:
- Quote: Get swap quotes (
/swap/sol/quote/:mint) - Streaming quotes: One WebSocket, quotes pushed when the route moves (
/swap/sol/quote/stream) - Swap: Buy and sell tokens (
/swap/sol/buy,/swap/sol/sell) - Round-trips: Buy and sell the same mint atomically in one transaction (
/swap/sol/buy-sell,/swap/sol/sell-buy) - Instructions: Raw swap instructions for custom transactions (
/swap/sol/instructions) - Perpetuals: Jupiter Perps + Phoenix (
/perp/sol/*)
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
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 API key
Streaming API
Connect to real-time WebSocket feeds
History API
Access historical data and analytics
