Welcome to the official documentation for the Sniperoo trading platform API! This documentation will guide you through using both our REST API and WebSocket services to programmatically interact with the Sniperoo trading platform.
Sniperoo is a sophisticated trading bot platform for the Solana blockchain that enables automated token trading with advanced features like conditional orders, auto-buy/auto-sell strategies, and real-time position tracking.
Our API suite consists of two complementary interfaces:
The REST API provides endpoints for operations such as:
- Creating buy/sell orders for Solana tokens
- Managing wallets (create, import, export)
- Transferring SOL between wallets
- Configuring user settings
- Managing API keys
- Retrieving trading positions and orders
The WebSocket API enables real-time updates for:
- Position changes (created, updated, closed)
- Order status changes (created, executed, failed, expired, cancelled)
- Transaction notifications
Guide - How To Use Websockets to Receive Real-time Position & Order Updates
All API requests require authentication using a bearer token:
- Generate an API token through the Sniperoo web interface in the "API Access" section
- Include your token in the Authorization header with the prefix 'Bearer '
- Example:
Authorization: Bearer df98f0967874a85b6dd657c796147daa
- Example: