API Playground Pick an endpoint, tweak the parameters, send. These are real requests against the production API, with no key. Demo trading, at the end of the list, runs on a demo account you open here.
Ticks
/api/{symbol}Latest tick for one symbol /api/latestLatest ticks for many symbols /api/{symbol}/historyRecent tick history /api/{symbol}/ohlcOHLC candles /api/activeSymbols streaming right now Symbols
/api/symbolsInstrument catalogue /api/symbols/{symbol}Metadata for one symbol /api/symbols/searchSearch by name or description Market
/api/market/gainersTop gainers /api/market/losersTop losers /api/market/most-activeMost active instruments /api/market/summaryMarket summary Calendar
/api/calendarEconomic calendar /api/calendar/upcomingUpcoming economic events /api/calendar/countriesCountries with calendar data News
/api/news/marketMarket news Demo trading
POST /api/demo/accountsOpen a demo account /api/demo/accountBalance, equity and margin /api/demo/instruments/{symbol}Contract terms and margin per lot POST /api/demo/ordersPlace an order /api/demo/positionsOpen positions PATCH /api/demo/positions/{id}Set stop loss and take profit POST /api/demo/positions/{id}/closeClose a position, or part of it POST /api/demo/positions/close-allClose every position /api/demo/ordersPending orders PATCH /api/demo/orders/{id}Change a pending order DELETE /api/demo/orders/{id}Cancel a pending order /api/demo/historyClosed trades PATCH /api/demo/accountChange leverage or stop-out level POST /api/demo/account/resetWipe the account and restore the balance DELETE /api/demo/accountDelete the account
Response Copy
Press Send to see a response.
Demo trading requests use the key of a demo account. Open one with POST /api/demo/accounts and the key is filled in for you; it is kept in this browser only. · Full reference · Swagger UI