Public API overview
The Public API (in the documents: IDEALX API) lets you use your IDEALX accounts from your own code: read balances, positions, orders and activity, download statements and tax reports, place orders, move money between your portfolios and convert currencies, and get webhooks when something happens. A personal key acts as you, never more than you may do in the app, and only within its scopes.
| Environment | API base URL | Keys start with | Make keys in |
|---|---|---|---|
| Sandbox | https://api.staging.idealx.com | idx_test_ | app.staging.idealx.com, console.staging.idealx.com |
| Production | https://api.idealx.com | idx_live_ | app.idealx.com, console.idealx.com |
| Scope | What it allows |
|---|---|
read |
Every read below: accounts, balances, positions, orders, activity, reports and documents |
trade |
Place, cancel and approve orders; put cash into yield |
move |
Move money and positions between your portfolios; convert currencies; open, rename and close portfolios |
Journeys
Section titled “Journeys”See my portfolio and performanceAccounts, balances, positions, returns and allocation for a dashboard.
Place and track an orderFind an investment, check the fee, place with an idempotency key, follow it to filled.
Move money in and outPay-in details, deposits, transfers between portfolios, conversions and withdrawals.
Download statements and tax packStatements, the tax year, the annual pack and files for your accountant.
Endpoints by area
Section titled “Endpoints by area”Accounts and portfolios
Section titled “Accounts and portfolios”- GET
/v1/accountsAccounts you have a role on - GET
/v1/accounts/{id}One account - GET
/v1/accounts/{id}/detailAn account with its portfolios and balances - GET
/v1/accounts/{id}/profileThe account's holder, the details given when it opened, and its tax details - POST
/v1/accounts/{id}/portfoliosOpen another portfolio - PATCH
/v1/accounts/{id}/portfolios/{portfolioId}Rename a portfolio - POST
/v1/accounts/{id}/portfolios/{portfolioId}/closeClose an empty extra portfolio (never the Primary) - GET
/v1/accounts/{id}/strategiesThe strategies this account's portfolios follow, and how close they are
Activity
Section titled “Activity”- GET
/v1/accounts/{id}/activityEverything that happened on an account in one list, newest first: money in and out, trades, orders, transfers, coins, income and fees (D150) - GET
/v1/accounts/{id}/activity.csvThe activity feed with the same filters as a spreadsheet, newest first (at most 10000 rows) - GET
/v1/accounts/{id}/activity/reportThe filtered activity feed as a named file: a branded PDF (at most 10000 rows), CSV or Excel workbook (D152) - GET
/v1/accounts/{id}/transactionsAccount activity: one line per transaction, newest first (D138) - GET
/v1/accounts/{id}/transactions/{txId}One transaction in plain words: what, when, amounts, fees, rate, from and to, documents - GET
/v1/accounts/{id}/portfolios/{portfolioId}/activityMovements on a portfolio, newest first - GET
/v1/accounts/{id}/registerEvery instruction on this account (trades, transfers, payments…), whoever made it
Investing
Section titled “Investing”- GET
/v1/investmentsShares, ETFs, bonds and digital assets you can buy - GET
/v1/investments/{id}One investment with its latest price - GET
/v1/investments/historyClosing prices for several investments at once (D126), for charts and sparklines - GET
/v1/accounts/{id}/orders/feeThe transaction fee an order would pay, before placing it - POST
/v1/accounts/{id}/ordersBuy or sell in a portfolio - GET
/v1/accounts/{id}/ordersOrders on this account, newest first - POST
/v1/orders/{id}/approveApprove an order waiting for you - POST
/v1/orders/{id}/cancelCancel an order that has not filled - GET
/v1/accounts/{id}/positionsWhat each portfolio owns beyond cash, with cost base and value - GET
/v1/accounts/{id}/realised-gainsSales, lot by lot: cost, proceeds and gain - GET
/v1/accounts/{id}/incomeDividends, interest, repayments and splits received - POST
/v1/accounts/{id}/yieldPut cash from a portfolio into yield - GET
/v1/accounts/{id}/yieldYield on this account, with interest so far
- GET
/v1/accounts/{id}/deposit-detailsThe account details to pay into (issued on first request) - GET
/v1/accounts/{id}/currency-accountsThe account's currency accounts and the currencies it can ask for - POST
/v1/accounts/{id}/transfersMove cash, or units of an investment, between two portfolios of this account - GET
/v1/accounts/{id}/instructionsTransfers and withdrawals on this account - GET
/v1/fx/quoteWhat an amount converts to, or (with want) what it costs to receive an amount - POST
/v1/accounts/{id}/fxConvert cash in a portfolio from one currency to another - GET
/v1/accounts/{id}/fxCurrency conversions on this account - GET
/v1/accounts/{id}/recurring-paymentsRecurring Payments of the account, newest first
Reports and documents
Section titled “Reports and documents”- GET
/v1/accounts/{id}/reports/performanceValue over time and time-weighted returns, for the account or one portfolio - GET
/v1/accounts/{id}/reports/allocationHow the account (or a portfolio) splits by kind of asset and by currency - GET
/v1/accounts/{id}/reports/statementA statement for a period: opening, every movement, closing; ?format=csv for a spreadsheet - GET
/v1/accounts/{id}/reports/cash-statementA cash statement for one currency, like a bank statement: opening, every transaction with money in, money out and the balance, closing - GET
/v1/accounts/{id}/reports/taxThe tax year in the account's country: sales lot by lot, and income; ?format=csv - GET
/v1/accounts/{id}/reports/annualThe annual pack for a tax year: performance, the statement for the year, and the tax year - GET
/v1/accounts/{id}/documents/statement.pdfThe cash statement for a period and one currency as a PDF, like a bank statement (one per currency the account has held) - GET
/v1/accounts/{id}/documents/tax.pdfThe tax year report as a PDF (estimated, not tax advice) - GET
/v1/accounts/{id}/documents/annual.pdfThe annual pack as one PDF: the year's summary, the tax year and the statement - GET
/v1/accounts/{id}/documents/holdings.pdfWhat the account holds now and what it is worth, by portfolio and asset class - GET
/v1/orders/{id}/confirmation.pdfThe trade confirmation for an order that filled - GET
/v1/instructions/{id}/receipt.pdfA receipt for a payment, a digital asset send or a transfer between portfolios
The Public API reference lists all 82 operations, grouped by tag, including digital assets, retirement funds, accounting exports, fees, markets and reference data.