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.
Public API
Token metadata, image proxy, uploads, and utility transactions (create, distribute, transfer, etc.).
Streaming & History API
Subscription-based access to real-time streaming and historical data APIs.
Quick Start
Choose Your API
Trading API: Buy, sell, and swap tokens with per-transaction feesPublic API: Token metadata, image proxy, and utility transactionsPremium API: Subscription required for streaming and history endpoints
Get API Access
For Premium API, create an account at my.raze.bot
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
Public API
No API key required:- Metadata: Token metadata lookup, off-chain metadata fetching
- Media: Image proxy with compression, temporary image uploads
- Transactions: Create tokens, distribute, consolidate, mixer, transfer, burn, fee-claim
Streaming & History API (Subscription)
Streaming API
Streaming API
Real-time WebSocket streaming for live data:
- Trades, deploys, migrations, alerts
- Connect via
wss://de.raze.sh/ws/sol?apiKey=YOUR_KEY
History API
History API
Comprehensive historical data and analytics:
- 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
