Skip to main content
Private Beta — Join Discord to request access.

Endpoints

Swap

EndpointDescription
GET /quoteGet swap quotes with multi-hop routing, dynamic slippage, DEX filtering, pool filtering, and platform fee support
POST /swapBuild complete swap transactions with priority fee calculation and compute budget optimization
POST /swap-instructionsBuild swap instructions only (without transaction wrapper)
POST /quote-and-swapCombined quote and swap in single request (optional feature)
POST /send-transactionSend transactions via Yellowstone Jet TPU with automatic resending and confirmation tracking
GET /transaction/:signatureTrack sent transaction status, latency, and parsed events

Analytics

EndpointDescription
GET /healthHealth check with detailed status (pools, cache, Yellowstone connection)

WebSocket

FeatureDetails
/streamReal-time quote streaming with subscription management
Slot-based updatesAutomatic quote recalculation on pool state changes

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

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
  • 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

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

LevelUse Case
Min / LowCost-saving
Auto / MediumRecommended default
High / VeryHighSpeed priority
Turbo / UnsafeMaxMaximum speed

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 almost no RPC calls generally)

CLI Flags

Help & Version

-h, --help       Show help message
-v, --version    Show version information

Pool Indexer

--no-pool-indexer          Disable pool indexer client (Yellowstone only)

DEX Filtering

--include-dexes <DEXES>    Only include these DEXes (comma-separated)
--exclude-dexes <DEXES>    Exclude these DEXes (comma-separated)

Performance

--workers <N>              Number of worker threads (default: CPU cores)

Feature Toggles

--enable-arbitrage         Enable circular arbitrage (same input/output mint)
-s, --enable-quote-and-swap    Enable the /quote-and-swap endpoint
--rpc-rate-limit <N>       Limit RPC calls to N per second (default: unlimited)
--enable-yellowstone-jet   Enable Yellowstone Jet TPU sender for /send-transaction
--enable-websocket         Enable WebSocket streaming quotes at /stream

Yellowstone Jet TPU

--jet-identity <PATH>      Path to identity keypair for Jet TPU (optional)
--jet-identities <N>       Number of random identities for Jet (default: 4)

Environment Variables

CLI Flag Equivalents

VariableFlag
NO_POOL_INDEXER--no-pool-indexer
INCLUDE_DEXES--include-dexes
EXCLUDE_DEXES--exclude-dexes
WORKER_THREADS--workers
ENABLE_ARBITRAGE--enable-arbitrage
ENABLE_QUOTE_AND_SWAP--enable-quote-and-swap
RPC_RATE_LIMIT--rpc-rate-limit
ENABLE_YELLOWSTONE_JET--enable-yellowstone-jet
JET_IDENTITY--jet-identity
JET_NUM_IDENTITIES--jet-identities
ENABLE_WEBSOCKET--enable-websocket

Additional Variables

VariableDescription
RPC_URLSolana RPC endpoint
YELLOWSTONE_ENDPOINTYellowstone gRPC endpoint
YELLOWSTONE_TOKENYellowstone auth token (optional)
BIND_ADDRServer bind address (default: 0.0.0.0:8080)