API Documentation

Integrate Chairt's powerful trading features into your own applications with our comprehensive API. Access real-time market data, execute trades, and manage your account programmatically.

Features

RESTful API

Simple and intuitive REST API with comprehensive documentation and examples.

WebSocket Support

Real-time data streaming for market prices, orders, and account updates.

Advanced Analytics

Access to technical indicators, market sentiment, and AI predictions.

Notifications

Real-time alerts for price movements, order executions, and more.

Authentication

All API requests must be authenticated using API keys. You can generate API keys from your account settings. Include your API key in the request header:

Authorization: Bearer YOUR_API_KEY

Rate Limits

API rate limits vary by endpoint and account tier:

  • Market Data: 120 requests per minute
  • Trading: 60 requests per minute
  • Account: 30 requests per minute

Rate limit information is included in the response headers:

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 119
X-RateLimit-Reset: 1500000000

API Endpoints

Market Data

GET/api/v1/market/prices

Get real-time price data for multiple symbols

Parameters

NameTypeRequiredDescription
symbolsstring[]YesArray of trading symbols
intervalstringNoTime interval (1m, 5m, 15m, 1h, 4h, 1d)
GET/api/v1/market/indicators

Get technical indicators for a symbol

Parameters

NameTypeRequiredDescription
symbolstringYesTrading symbol
indicatorsstring[]YesArray of indicator names

Trading

POST/api/v1/orders

Place a new trading order

Parameters

NameTypeRequiredDescription
symbolstringYesTrading symbol
sidestringYesBuy or Sell
typestringYesMarket or Limit
quantitynumberYesOrder quantity
GET/api/v1/orders

Get list of orders

Parameters

NameTypeRequiredDescription
statusstringNoOrder status filter
limitnumberNoNumber of orders to return

Account

GET/api/v1/account

Get account information and balances

GET/api/v1/account/trades

Get trading history

Parameters

NameTypeRequiredDescription
symbolstringNoFilter by symbol
startTimenumberNoStart timestamp
endTimenumberNoEnd timestamp

WebSocket API

Connect to our WebSocket API for real-time updates:

wss://api.chairt.io/ws

// Subscribe to market data
{
  "type": "subscribe",
  "channel": "market",
  "symbols": ["BTC/USD", "ETH/USD"]
}

Need Help?

Our developer support team is here to help you integrate with our API.

Contact Developer Support