Programmatic access to HLX marketsv1 · Free tier
Data API
Your API Key
hlx_live_••••••••••••••••••••••••6sLuKeep this key secret. Regenerating immediately revokes the previous key across all your integrations.
Endpoints
- GET
/v1/marketsList all tradable instruments with live quotes across every asset class.
- GET
/v1/markets/{symbol}Full quote, 24h stats, and technical snapshot for a single instrument.
- GET
/v1/markets/{symbol}/candlesHistorical OHLCV candles. Timeframes from 1m to 1Y, up to 5,000 per request.
- GET
/v1/portfolio/positionsYour open positions with live P&L, entry, TP/SL, and margin usage.
- POST
/v1/ordersPlace market, limit, or stop orders programmatically with optional TP/SL.
- DELETE
/v1/orders/{id}Cancel a working order by id.
- GET
/v1/accountAccount equity, balance, margin level, and membership tier.
Quickstart
Request
curl -X GET "https://api.hlx.trade/v1/markets/EURUSD" \ -H "Authorization: Bearer $HLX_API_KEY"
Response
{
"symbol": "EURUSD",
"name": "Euro / US Dollar",
"assetClass": "forex",
"price": 1.08420,
"change24h": 0.0081,
"changePercent24h": 0.75,
"high24h": 1.08554,
"low24h": 1.07682,
"updatedAt": "2026-07-09T14:32:08Z"
}Rate Limits — Free
- REST requests
- 60 req/min
- WebSocket streams
- Not included
- Historical data
- 30 days