Trading 212 API endpoints
16 documented Trading 212 API endpoints, grouped by what they do. Each has its method, path, parameters and the source it was read from.
Independent and unofficialNewest check
Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.
Accounts
History
- GET/api/v0/equity/history/dividendsDividends paid into the account, paged, with the amount, the quantity held and the per share figure.
- GET/api/v0/equity/history/exportsThe CSV reports you have asked for and the status of each. Once a report is Finished its entry carries a link to download the file.
- POST/api/v0/equity/history/exportsAsk for a CSV report of account history over a period. The report is built in the background: the reply is a reportId to look for in the list of reports.
- GET/api/v0/equity/history/ordersPast orders on the account, paged, each paired with the fill it produced.
- GET/api/v0/equity/history/transactionsMovements of cash in and out of the account, paged: deposits, withdrawals, fees, transfers and interest.
Instruments
- GET/api/v0/equity/metadata/exchangesThe exchanges the account can reach and the working schedules of each, which say when its instruments trade.
- GET/api/v0/equity/metadata/instrumentsEvery instrument the account can reach, with its ticker, name, ISIN, type, currency and the working schedule it trades on.
Orders
- GET/api/v0/equity/ordersEvery order still active on the account, meaning not yet filled, cancelled or expired.
- DELETE/api/v0/equity/orders/{id}Ask for a pending order to be cancelled. A success reply means the request was accepted, not that the order has gone: it may already be filling.
- GET/api/v0/equity/orders/{id}One pending order, looked up by its numeric identifier. Use it to check on an order you placed earlier.
- POST/api/v0/equity/orders/limitPlace a limit order, which fills at the limit price or better. The sign of quantity sets the direction.
- POST/api/v0/equity/orders/marketPlace a market order, to deal at the next available price. The sign of quantity sets the direction. If the market is closed the order waits for it to open.
- POST/api/v0/equity/orders/stopPlace a stop order, which becomes a market order once the last traded price reaches the stop price. The sign of quantity sets the direction.
- POST/api/v0/equity/orders/stop_limitPlace a stop limit order: when the last traded price reaches the stop price, a limit order is placed at the limit price. The sign of quantity sets the direction.