Skip to main content
Public Beta — Join Discord for support queries. Raptor is currently free to use with no rate limits.

How to use Raptor

You do not need to run a Raptor client or server. Call Solana Tracker’s hosted API from your app, backend, or bot — get quotes, build swap transactions, sign them in the user’s wallet, and send them back. No binary and no RPC setup to operate.
Hosted API (recommended for most integrations)
  • HTTP: https://raptor-beta.solanatracker.io
  • WebSocket: wss://raptor-beta.solanatracker.io
Start with the Swap API guide for the full flow and copy-paste examples. Use the HTTP API reference and WebSocket section below for every endpoint.

Swap API guide

Step-by-step: quote → build → sign → send. Works with curl, fetch, and WebSockets.

Send transactions

Submit signed swaps and track confirmation status.
Self-host (optional) — Only if you want your own Raptor instance. Binary release: GitHub. CLI flags and environment variables are documented below.

Endpoints

Raptor’s basic flow is simple: get a quote, build a transaction, sign it with the user’s wallet, send it, then track status.

Swap

Analytics


WebSocket


Program ID - Mainnet: RaptorD5ojtsqDDtJeRsunPLg6GvLYNnwKJWxYE4m87

Supported DEXs

Raydium

  • Raydium AMM
  • Raydium CLMM
  • Raydium CPMM
  • Raydium LaunchLab/Launchpad

Meteora

  • Meteora DLMM
  • Meteora Dynamic AMM
  • Meteora DAMM (Dynamic AMM V2)
  • Meteora Curve
  • Meteora DBC (Dynamic Bonding Curve)

Orca

  • Whirlpool (legacy)
  • Whirlpool V2

Bonding Curves

  • Pump.fun
  • Pumpswap
  • Heaven (Buy/Sell)
  • MoonIt (Buy/Sell)
  • Boopfun (Buy/Sell)

PropAMM

  • Humidifi
  • Tessera
  • Solfi V1/V2
  • AlphaQ
  • ZeroFi
  • BisonFi
  • GoonFi V2

Other

  • FluxBeam
  • PancakeSwap V3

Routing

Multi-Hop

  • Up to 4-hop routes for optimal pricing
  • Route-aware slippage calculation (accounts for multi-hop risk)
  • DEX-specific routing preferences
  • Pool filtering by address lists
  • Mint allowlists via txt files
  • Direct-only route mode (onlyDirectRoutes / maxHops=1)
  • Circular arbitrage option

Slippage

  • Dynamic slippage based on volatility and route complexity
  • Route-aware multi-hop slippage adjustment
  • Manual slippage override (numeric or "dynamic")
  • Minimum output amount calculation with slippage protection

Platform Fees

  • Fee taken from input OR output tokens
  • Configurable fee basis points (up to 10%)
  • Fee wallet specification
  • Extra charge on positive slippage
  • Automatic fee adjustment in quotes and swaps

Tips & Transaction Controls

  • Optional native SOL tips via tipAccount and tipLamports
  • Transaction version selection (V0 or LEGACY)
  • Compute unit price override (computeUnitPriceMicroLamports)
  • Compute unit limit override (computeUnitLimit)
  • Maximum priority fee caps (maxPriorityFee)
  • Optional destination token account override (destinationTokenAccount)

Priority Fees

Dynamic Calculation

  • Route-specific priority fee calculation
  • DEX-specific fee adjustments
  • Recent fee data tracking (slots tracked, total fees)
  • Maximum fee caps and overrides

Priority Levels


Transaction Management

Yellowstone Jet TPU

  • Transaction sending
  • Automatic resending with slot alignment
  • Multiple identity support (4 default, configurable)

Tracking

  • Real-time status monitoring (pending / confirmed / failed / expired)
  • Latency measurement (send to confirm)
  • Parsed Raptor program events
  • Raw transaction storage
  • Automatic cleanup

Rate Limiting

  • Configurable RPS (uses few RPC calls generally)

Self-hosting (optional)

The sections below apply only when you run the Raptor binary yourself. If you use the hosted API above, you can ignore CLI flags and environment variables.

CLI flags

Help & Version

Pool Indexer

Routing Filters

Allowlist File Format

Both --include-mints-file and --include-pools-file expect a plain text file with one pubkey per line. Example:
  • Empty lines are ignored
  • # starts a comment
  • Mint allowlists keep any pool where either token_a or token_b matches a listed mint
  • Pool allowlists keep only the exact listed pool addresses
  • If used together with DEX filters, both filters apply

Performance

Feature Toggles

Yellowstone Jet TPU


Request Options

Common swap-building fields supported by POST /swap, POST /quote-and-swap, and /stream/swap subscriptions include:
  • dexes — comma-separated DEX allowlist
  • pools — comma-separated pool allowlist
  • maxHops — maximum route depth (1-4)
  • onlyDirectRoutes — force direct routes only
  • feeAccount, feeBps, feeFromInput, chargeBps — platform fee controls
  • priorityFee, maxPriorityFee — dynamic or fixed priority fee control
  • computeUnitPriceMicroLamports, computeUnitLimit — compute budget overrides
  • txVersion, asLegacyTransaction — transaction format controls
  • tipAccount, tipLamports — optional SOL tip transfer
  • destinationTokenAccount — custom output destination token account

Environment Variables

CLI Flag Equivalents

Additional Variables