API for Developers
Build on Our Platform
Full REST API access. Automate trading, pull data, and manage accounts programmatically. Build custom integrations, automated strategies, and reporting tools on top of the MyAllies trading infrastructure.
CAPABILITIES
What You Can Build
Market Data
Access real-time stock quotes with comprehensive price data including bid/ask, high/low, 52-week range, and market session status.
Company Data
Look up company profiles with name, ISIN, market cap, and summary. Search for companies by name or ticker symbol across exchanges.
Options Data
Retrieve option expiration dates and full option chain data. Filter by call/put and expiry date with strike prices, bid/ask, and Greeks.
Account Management
Self-service API account registration, API key management, and usage monitoring. Generate and revoke keys programmatically.
EXAMPLE
API in Action
Our RESTful API follows standard conventions and returns JSON responses. Below is an example of retrieving your portfolio positions — one of the most commonly used endpoints.
GET /v1/market/stocks/AAPL_NASDAQ/quote
X-Api-Key: YOUR_API_KEY
Response:
{
"success": true,
"data": {
"symbol": "AAPL",
"lastPrice": 178.50,
"change": 2.30,
"changePercent": 1.306,
"marketSession": "Regular"
}
}SECURITY
Authentication & Limits
Token-Based Auth
All API requests require bearer token authentication. Tokens are time-limited for security and can be refreshed before expiration to maintain continuous access to the platform.
Rate Limiting
Per-account rate limits ensure fair usage and platform stability. Standard limits are generous enough for most automated strategies. Custom arrangements are available for high-volume applications.
Sandbox Environment
Test your integrations in a full-featured sandbox environment before going live. The demo account provides complete API access with simulated capital so you can develop with confidence.
START
Getting Started
Create Account
Sign up for a MyAllies trading account. Every account includes demo access with full API capabilities, so you can start building immediately.
Generate API Key
Navigate to your account settings and generate your API credentials. Store them securely and use them to authenticate your API requests.
Read Documentation
Review the API documentation to understand available endpoints, request formats, and response structures. Examples are provided for every endpoint.
Start Building
Authenticate, make your first API call, and begin building your custom integrations. Test thoroughly in the sandbox before going live.