Developers
Build with NexTrade API
Access real-time market data, execute trades, and manage portfolios with our powerful REST API.
Quick Start
bash
# Install the SDK
npm install @nextrade/sdk
# Set your API key
export NEXTRADE_API_KEY="your_api_key"
# Make your first request
curl -H "Authorization: Bearer $NEXTRADE_API_KEY" \
https://api.nextrade.com/v1/accounts Official SDKs
🐍
Python
pip install nextrade 📦
JavaScript
npm install @nextrade/sdk 💎
Ruby
gem install nextrade 🔵
Go
go get github.com/nextrade/sdk-go API Reference
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/accounts | List all accounts |
| GET | /v1/accounts/{id} | Get account details |
| GET | /v1/positions | Get portfolio positions |
| POST | /v1/orders | Place a new order |
| GET | /v1/orders | List all orders |
| DELETE | /v1/orders/{id} | Cancel an order |
| GET | /v1/market/quotes | Get real-time quotes |
| GET | /v1/market/history | Get historical data |
Rate Limits
200 requests per minute for standard accounts, 1000 for premium.
WebSocket
Real-time streaming for quotes, trades, and account updates.
Sandbox
Test your integration with paper trading in our sandbox environment.