> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Started

> Welcome to Raze.bot's Developer Docs. Get started with our APIs and tools.

## Welcome to Raze.bot

Raze.bot provides powerful APIs for Solana blockchain trading and data. Choose your path based on your needs:

<CardGroup cols={2}>
  <Card title="Trading API" icon="bolt" href="/api-reference/router/swap/buy">
    Quote, buy, sell, and swap Solana tokens. Auth optional with usage-based fees.
  </Card>

  <Card title="Utilities" icon="wand-magic-sparkles" href="/api-reference/history/utils/overview">
    Token launch, fee management, batched SOL/SPL transfers, distribute, consolidate.
  </Card>

  <Card title="Streaming & History API" icon="crown" href="/api-reference/streaming">
    Subscription-based access to real-time streaming and historical data APIs.
  </Card>
</CardGroup>

## Quick Start

<Steps>
  <Step title="Choose Your API">
    **Trading API**: Buy, sell, and swap tokens with per-transaction fees

    **Utilities**: Token launch, fee management, and batched SOL/SPL transfers

    **Premium API**: Subscription required for streaming and history endpoints
  </Step>

  <Step title="Get API Access">
    For Premium API, create an account at [raze.bot](https://raze.bot)
  </Step>

  <Step title="Start Building">
    Follow our [Environment Setup](/get-started/environment-setup) guide
  </Step>
</Steps>

## 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 host `api.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

Swap / quote / buy / sell stay on `router.raze.bot`.

### Streaming & History API (Subscription)

<AccordionGroup>
  <Accordion title="Streaming API">
    Real-time WebSocket streaming for live data:

    * Trades, deploys, migrations, alerts
    * Connect via `wss://ws.raze.bot/ws/sol?apiKey=YOUR_KEY`
  </Accordion>

  <Accordion title="History API">
    Comprehensive historical data and analytics:

    * **GraphQL** (`POST /api/sol/graphql`): multi-root and batch queries — e.g. [trending board](/api-reference/history/graphql/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
  </Accordion>
</AccordionGroup>

Visit [raze.bot](https://raze.bot) to view plans and pricing.

## Next Steps

<CardGroup cols={2}>
  <Card title="Environment Setup" icon="gear" href="/get-started/environment-setup">
    Set up your development environment
  </Card>

  <Card title="Portal Setup" icon="key" href="/portal/setup">
    Get your Premium API key
  </Card>

  <Card title="Streaming API" icon="signal-stream" href="/api-reference/streaming">
    Connect to real-time WebSocket feeds
  </Card>

  <Card title="History API" icon="clock-rotate-left" href="/api-reference/history/price/price">
    Access historical data and analytics
  </Card>
</CardGroup>
