# Introduction to Sniperoo API

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.

## What is Sniperoo?

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.

## API Overview

Our API suite consists of two complementary interfaces:

### REST API (HTTP)

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


[Guide - How To Use HTTP API](/how-to)

### WebSocket API

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](/how-to)

## Authentication

All API requests require authentication using a bearer token:

1. Generate an API token through the [Sniperoo web interface](https://sniperoo.app/dashboard/api-access) in the "API Access" section
2. Include your token in the Authorization header with the prefix 'Bearer '
  - Example: `Authorization: Bearer df98f0967874a85b6dd657c796147daa`


## Resources

- [Main Platform](https://sniperoo.app/)
- [Platform Documentation](https://docs.sniperoo.app/)
- [Blog](https://www.sniperoo.app/blog)
- [Discord Community](https://discord.gg/V3wWRhZ2Vf)
- [Telegram Channel](https://t.me/sniperoo_app)
- [Twitter/X](https://twitter.com/sniperoo_app)