🔌 Powerful Trading API

Build with Our API

Integrate AITraiderBot's powerful trading and analytics capabilities into your applications with our comprehensive REST API and real-time WebSocket feeds.

⚡ Quick Start

Get up and running with the AITraiderBot API in minutes. Here's a simple example to get market data:

JavaScript
// Initialize the API client const client = new AITraiderBot({ apiKey: 'your-api-key', baseURL: 'https://api.aitraiderbot.com/v1' }); // Get current Bitcoin price const ticker = await client.getTicker('BTC/USDT'); console.log(`Current BTC price: $${ticker.price}`); // Place a buy order const order = await client.placeOrder({ symbol: 'BTC/USDT', side: 'buy', type: 'market', amount: 0.001 });

🔐 Authentication

All API requests require authentication using API keys. Include your API key in the Authorization header of every request.

HTTP Headers
Authorization: Bearer your-api-key Content-Type: application/json

⚡ Rate Limits

1,000
Requests per minute
10,000
Requests per hour
100,000
Requests per day
Unlimited
WebSocket connections

💰 Trading API

Execute trades, manage orders, and monitor your portfolio with our comprehensive trading API.

POST /v1/orders

Place a new trading order on the specified exchange and trading pair.

Parameters
symbol string
side enum
type enum
amount float
price float
{ "id": "ord_123456789", "symbol": "BTC/USDT", "side": "buy", "type": "market", "amount": 0.001, "filled": 0.001, "price": 43567.82, "status": "filled", "timestamp": "2024-01-15T14:30:00Z" }
{ "error": { "code": "INSUFFICIENT_BALANCE", "message": "Insufficient balance to place order" } }
DELETE /v1/orders/{id}

Cancel an existing order by its ID.

Path Parameters
id string
GET /v1/portfolio

Get your current portfolio balances and positions across all exchanges.

📊 Market Data API

Access real-time and historical market data including prices, order books, and trading volumes.

GET /v1/ticker/{symbol}

Get current price and 24h statistics for a trading pair.

GET /v1/orderbook/{symbol}

Get the current order book (bids and asks) for a trading pair.

GET /v1/candles/{symbol}

Get historical OHLCV (candlestick) data for technical analysis.

🧠 AI & Analytics API

Access our AI-powered predictions, trading signals, and advanced market analytics.

GET /v1/predictions/{symbol}

Get AI-powered price predictions with confidence intervals.

GET /v1/signals/{symbol}

Get buy/sell signals generated by our AI algorithms.

GET /v1/sentiment/{symbol}

Get market sentiment analysis based on social media and news.

🛠️ SDKs & Libraries

Official SDKs and community libraries to help you integrate with our API faster.

🟨

JavaScript/Node.js

Official JavaScript SDK for browser and Node.js applications

🐍

Python

Official Python SDK with async support and pandas integration

🦀

Rust

High-performance Rust SDK for low-latency trading applications

Java

Enterprise-ready Java SDK with Spring Boot integration

💎

Ruby

Elegant Ruby SDK following Rails conventions

🐹

Go

Efficient Go SDK for high-performance trading systems