# Raze.bot ## Docs - [Get alerts for a specific mint](https://docs.raze.bot/api-reference/history/alerts/by-mint.md) - [Get recent alerts](https://docs.raze.bot/api-reference/history/alerts/recent.md) - [Top performing alerts (all time)](https://docs.raze.bot/api-reference/history/alerts/top.md) - [Daily top performers](https://docs.raze.bot/api-reference/history/alerts/top-daily.md) - [Monthly top performers](https://docs.raze.bot/api-reference/history/alerts/top-monthly.md) - [Weekly top performers](https://docs.raze.bot/api-reference/history/alerts/top-weekly.md) - [Alerts](https://docs.raze.bot/api-reference/history/graphql/alerts.md): Fired trading alerts — by mint, most recent, and top ranked - [Overview](https://docs.raze.bot/api-reference/history/graphql/overview.md): Query the history service over GraphQL — one request, many inputs - [Platform](https://docs.raze.bot/api-reference/history/graphql/platform.md): Platform-wide PnL leaderboards, volume totals, and bonding-curve stats - [Price](https://docs.raze.bot/api-reference/history/graphql/price.md): SOL/USD reference price used by the history service - [Sentiment](https://docs.raze.bot/api-reference/history/graphql/sentiment.md): Chain-level health score time series and latest snapshot - [Tokens](https://docs.raze.bot/api-reference/history/graphql/tokens.md): Deployments, migrations, OHLCV, price changes, and token discovery queries - [Trades](https://docs.raze.bot/api-reference/history/graphql/trades.md): Queries for individual trades and aggregate trading volume - [Wallets](https://docs.raze.bot/api-reference/history/graphql/wallets.md): Aggregate stats, per-token breakdowns, and time-series performance for wallets - [Token bonding stats](https://docs.raze.bot/api-reference/history/platform/bonding.md): Returns the number of tokens deployed, tokens that bonded (migrated), and bonding percentage for the specified period. Optionally filter by DEX platform (e.g. pumpfun, raydiumv4, orca, meteoradlmm, pumpswap). - [PnL histogram distribution](https://docs.raze.bot/api-reference/history/platform/pnl-distribution.md): Returns a customizable histogram of profitable wallets by PnL range. Specify the number of buckets and the USD min/max range to build your own distribution chart. Includes counts for wallets below min and above max. Optionally filter by DEX platform. - [Top wallets by realized PnL](https://docs.raze.bot/api-reference/history/platform/pnl-leaderboard.md): Returns a paginated list of the most profitable wallets ranked by realized PnL (SOL and USD) for the specified period. Each entry includes the wallet address, PnL in SOL/USD, and trade count. Optionally filter by DEX platform. - [Aggregate PnL statistics](https://docs.raze.bot/api-reference/history/platform/pnl-summary.md): Returns aggregate statistics for profitable wallets: total count, total/average/median PnL, 90th and 99th percentile thresholds, and maximum PnL. All values in both SOL and USD. Optionally filter by DEX platform. - [Platform-wide trading volume](https://docs.raze.bot/api-reference/history/platform/volume.md): Returns total trading volume, trade counts, and fees across the entire platform for the specified period. Optionally filter by DEX platform (e.g. pumpfun, raydiumv4, orca, meteoradlmm, pumpswap). - [IPFS image proxy endpoint](https://docs.raze.bot/api-reference/history/price/image-proxy.md) - [Current SOL price](https://docs.raze.bot/api-reference/history/price/price.md) - [12-hour aggregated chain health](https://docs.raze.bot/api-reference/history/sentiment/12h.md) - [Daily aggregated chain health](https://docs.raze.bot/api-reference/history/sentiment/daily.md) - [Chain health scores (hourly)](https://docs.raze.bot/api-reference/history/sentiment/hourly.md) - [Latest chain health score](https://docs.raze.bot/api-reference/history/sentiment/latest.md) - [Chain health summary statistics](https://docs.raze.bot/api-reference/history/sentiment/summary.md) - [Weekly aggregated chain health](https://docs.raze.bot/api-reference/history/sentiment/weekly.md) - [Deploy by mint address](https://docs.raze.bot/api-reference/history/tokens/by-mint.md) - [Get tokens by owner address](https://docs.raze.bot/api-reference/history/tokens/by-owner.md) - [Recent token deploys](https://docs.raze.bot/api-reference/history/tokens/deploys.md) - [Token holder list](https://docs.raze.bot/api-reference/history/tokens/holders.md) - [Recent token migrations](https://docs.raze.bot/api-reference/history/tokens/migrations.md) - [OHLC candlestick data](https://docs.raze.bot/api-reference/history/tokens/ohlc.md) - [Token price changes at standard intervals](https://docs.raze.bot/api-reference/history/tokens/price-changes.md): Get token price changes at 5m, 1h, 4h, 12h, and 24h intervals. Optimized endpoint that fetches only 6 data points instead of aggregating thousands. - [Search tokens by name/symbol](https://docs.raze.bot/api-reference/history/tokens/search.md) - [Signer deploy/migration counts](https://docs.raze.bot/api-reference/history/tokens/signer-counts.md) - [Get token statistics](https://docs.raze.bot/api-reference/history/tokens/stats.md) - [Token supply and decimals](https://docs.raze.bot/api-reference/history/tokens/supply.md) - [Top traded tokens](https://docs.raze.bot/api-reference/history/tokens/top.md) - [Top traders with PnL](https://docs.raze.bot/api-reference/history/tokens/top-traders.md) - [Trades by token mint](https://docs.raze.bot/api-reference/history/trades/by-mint.md) - [Trades by signer address](https://docs.raze.bot/api-reference/history/trades/by-signer.md) - [Trades by signer and mint](https://docs.raze.bot/api-reference/history/trades/by-signer-mint.md) - [Get recent trades](https://docs.raze.bot/api-reference/history/trades/recent.md) - [Token trading volume](https://docs.raze.bot/api-reference/history/trades/volume.md) - [Get wallet performance history](https://docs.raze.bot/api-reference/history/wallets/performance.md) - [FIFO PnL breakdown for a wallet](https://docs.raze.bot/api-reference/history/wallets/pnl.md): Computes per-token realized PnL using FIFO (First In, First Out) cost-basis accounting. Each sell is matched against the oldest remaining buy lots to determine the exact cost basis consumed. Returns per-token breakdown plus aggregated totals in SOL and USD. - [Time-series FIFO PnL with unrealized valuation](https://docs.raze.bot/api-reference/history/wallets/pnl-history.md): Time-series PnL with FIFO cost-basis and unrealized position valuation. Returns cumulative realized PnL, unrealized PnL, and total PnL per bucket. - [Aggregated trading profile for one or more wallets](https://docs.raze.bot/api-reference/history/wallets/summary.md): Returns full trading summary for the given wallet address(es). Supports up to 500 comma-separated addresses. Single address returns a flat response, multiple addresses return an array in `data`, preserving input order. Optional `from` / `to` bounds scope the summary to a millisecond-precision time w… - [Per-token trading breakdown for a wallet](https://docs.raze.bot/api-reference/history/wallets/tokens.md) - [Burn tokens](https://docs.raze.bot/api-reference/public/burn.md): Build a transaction to burn SPL tokens. - [Fetch off-chain metadata from URI](https://docs.raze.bot/api-reference/public/chain-metadata.md): Fetch and normalize off-chain metadata from any URI (IPFS, Arweave, HTTP). - [Consolidate SOL](https://docs.raze.bot/api-reference/public/consolidate.md): Build transactions to sweep SOL from many wallets into one receiver. - [Create token](https://docs.raze.bot/api-reference/public/create.md): Deploy a new token on one of four platforms. - [Distribute SOL](https://docs.raze.bot/api-reference/public/distribute.md): Build transactions to distribute SOL from one sender to many recipients. - [Claim fees](https://docs.raze.bot/api-reference/public/fee-claim.md): Build a transaction to claim creator or partner fees. - [Image proxy](https://docs.raze.bot/api-reference/public/image-proxy.md): Proxy and compress images from any URL or IPFS hash. Supports JPEG, PNG, GIF, and WebP. - [Mixer](https://docs.raze.bot/api-reference/public/mixer.md): Build a privacy-preserving transfer from sender to receiver using on-chain pool contracts. - [Get token metadata](https://docs.raze.bot/api-reference/public/token-metadata.md): Fetch complete on-chain and off-chain metadata for a Solana token. - [Transfer SOL or token](https://docs.raze.bot/api-reference/public/transfer.md): Build a transfer transaction for native SOL or any SPL token. - [Upload image](https://docs.raze.bot/api-reference/public/upload.md): Upload an image file (JPEG, PNG, GIF, SVG). Max file size: 2MB. - [Get quote](https://docs.raze.bot/api-reference/router/quote.md): Get the current price quote for a token. **Requires API key.** - [Buy tokens](https://docs.raze.bot/api-reference/router/swap/buy.md): Build buy transactions for one or more wallets. - [Get swap instructions](https://docs.raze.bot/api-reference/router/swap/instructions.md): Get raw swap instructions and address lookup tables for building custom transactions. - [Sell tokens](https://docs.raze.bot/api-reference/router/swap/sell.md): Build sell transactions for one or more wallets. - [Submit bundle](https://docs.raze.bot/api-reference/sender/post-bundle.md): Submit a Jito-compatible bundle of signed transactions via REST. - [Submit transaction](https://docs.raze.bot/api-reference/sender/post-tx.md): Submit a single signed transaction via REST. The relay extracts the tip amount and routes through the appropriate channels. - [Protocols](https://docs.raze.bot/api-reference/sender/protocols.md): All supported protocols for submitting transactions to the relay - [sendBundle](https://docs.raze.bot/api-reference/sender/send-bundle.md): Submit a Jito-compatible bundle via JSON-RPC 2.0. Bundles are forwarded to the Jito Block Engine for atomic execution. - [sendTransaction](https://docs.raze.bot/api-reference/sender/send-transaction.md): Submit a single signed transaction via JSON-RPC 2.0. - [Events](https://docs.raze.bot/api-reference/streaming/websockets/events.md): Subscribe to event types (deploy, trade, migration, parsed, analysis, alert) - [Trades](https://docs.raze.bot/api-reference/streaming/websockets/trades.md): Subscribe to trades for specific token mints or wallet signers - [Development Basics](https://docs.raze.bot/get-started/development-basics.md): Learn the fundamentals of working with Raze.bot APIs - [Environment Setup](https://docs.raze.bot/get-started/environment-setup.md): Set up your development environment to build with Raze.bot APIs - [Get Started](https://docs.raze.bot/get-started/index.md): Welcome to Raze.bot's Developer Docs. Get started with our APIs and tools. - [Streaming Code Snippets](https://docs.raze.bot/get-started/streaming-snippets.md): Connect to the Raze Streaming WebSocket API with Python and JavaScript - [Advanced Usage](https://docs.raze.bot/iframe-integration/advanced.md): Error handling, async operations, and advanced patterns - [API Reference](https://docs.raze.bot/iframe-integration/api-reference.md): Commands and responses for iframe communication - [Usage Examples](https://docs.raze.bot/iframe-integration/examples.md): Complete examples for integrating the trading iframe - [iFrame Widget](https://docs.raze.bot/iframe-integration/index.md): Integrate the Raze trading app as an iframe in your TypeScript application - [React Component](https://docs.raze.bot/iframe-integration/react-component.md): Complete React component example for the trading dashboard - [Security & Best Practices](https://docs.raze.bot/iframe-integration/security.md): Security considerations and best practices for iFrame Widget - [TypeScript Types](https://docs.raze.bot/iframe-integration/types.md): Type definitions for iframe communication - [Build with Raze.bot](https://docs.raze.bot/index.md) - [Guidelines](https://docs.raze.bot/legal/index.md): Important legal documentation and guidelines that governs the use of our services and platform. Please review these documents carefully. - [Privacy Policy](https://docs.raze.bot/legal/privacy-policy.md): Privacy Policy for Raze.bot - [SDK & API License Agreement](https://docs.raze.bot/legal/sdk-api-license-agreement.md): Raze.bot API & SDK License Agreement - [Terms of Use](https://docs.raze.bot/legal/terms-of-use.md): Raze.bot Terms of Use - [FAQ](https://docs.raze.bot/portal/faq.md): FAQ for Raze.bot Portal - [Latency](https://docs.raze.bot/portal/latency.md): Latency details of Raze.bot APIs - [Rate Limit](https://docs.raze.bot/portal/rate-limit.md): Rate limiting details of Raze.bot APIs - [Response Codes](https://docs.raze.bot/portal/responses.md): Response codes for Raze.bot APIs - [Portal Setup](https://docs.raze.bot/portal/setup.md): Create an account and get your Premium API key - [Raze Fees](https://docs.raze.bot/solana-ui/fees/raze-fees.md): Transparent fee structure for Raze.bot platform - [How to Use](https://docs.raze.bot/solana-ui/how-to-use/how-to-use.md): Complete guide to using Raze.bot trading platform - [Locally Install](https://docs.raze.bot/solana-ui/how-to-use/locally-install.md): Get Raze running on your local machine - [Technical Integration](https://docs.raze.bot/solana-ui/how-to-use/technical-integration.md): Embed Raze in your application via iframe - [Introduction to Raze](https://docs.raze.bot/solana-ui/introduction.md): The first fully open-source multi-wallet trading platform for Solana - [Audit](https://docs.raze.bot/solana-ui/security/audit.md): Raze.bot Security Audit Documentation - [Key Features](https://docs.raze.bot/solana-ui/solana-multi-wallet/key-features.md): Comprehensive guide to all Raze.bot features - [Overview](https://docs.raze.bot/solana-ui/solana-multi-wallet/overview.md): Understanding the Raze multi-wallet trading platform - [Privacy and Legal Considerations](https://docs.raze.bot/solana-ui/tos/privacy-legal.md): Privacy policy and legal information for Raze ## OpenAPI Specs - [history](https://docs.raze.bot/openapi-spec/history.yaml) - [trading](https://docs.raze.bot/openapi-spec/trading.yaml) - [public](https://docs.raze.bot/openapi-spec/public.yaml) - [sender](https://docs.raze.bot/openapi-spec/sender.yaml) - [sender-send-transaction](https://docs.raze.bot/openapi-spec/sender-send-transaction.yaml) - [sender-send-bundle](https://docs.raze.bot/openapi-spec/sender-send-bundle.yaml) - [utils](https://docs.raze.bot/openapi-spec/utils.yaml) - [ultra](https://docs.raze.bot/openapi-spec/ultra/ultra.yaml) - [trigger](https://docs.raze.bot/openapi-spec/trigger/trigger.yaml) - [tokens](https://docs.raze.bot/openapi-spec/tokens/v2/tokens.yaml) - [swap](https://docs.raze.bot/openapi-spec/swap/swap.yaml) - [studio](https://docs.raze.bot/openapi-spec/studio/studio.yaml) - [send](https://docs.raze.bot/openapi-spec/send/send.yaml) - [recurring](https://docs.raze.bot/openapi-spec/recurring/recurring.yaml) - [price](https://docs.raze.bot/openapi-spec/price/v3/price.yaml) - [lend](https://docs.raze.bot/openapi-spec/lend/lend.yaml) - [openapi](https://docs.raze.bot/api-reference/openapi.json) ## AsyncAPI Specs - [websockets](https://docs.raze.bot/asyncapi-spec/websockets.yaml) - [trades](https://docs.raze.bot/asyncapi-spec/trades.yaml) - [events](https://docs.raze.bot/asyncapi-spec/events.yaml) - [streaming](https://docs.raze.bot/asyncapi-spec/streaming.yaml) - [swap](https://docs.raze.bot/asyncapi-spec/swap.yaml) - [history](https://docs.raze.bot/asyncapi-spec/history.yaml) - [example](https://docs.raze.bot/example.yaml) - [asyncapi](https://docs.raze.bot/asyncapi.yaml) - [parsed](https://docs.raze.bot/asyncapi-spec/parsed.yaml) - [migrations](https://docs.raze.bot/asyncapi-spec/migrations.yaml) - [creations](https://docs.raze.bot/asyncapi-spec/creations.yaml) - [analysis](https://docs.raze.bot/asyncapi-spec/analysis.yaml) - [alerts](https://docs.raze.bot/asyncapi-spec/alerts.yaml) ## Optional - [Get Api-Key](https://my.raze.bot/pricing) - [Support](https://discord.com/invite/RNK5v92XpB) - [Status](https://status.raze.bot/status/servers)