Get started
IDEALX has two published HTTP APIs. They share one model (accounts, portfolios, positions, orders, money movements), one error shape and one set of rules for amounts, idempotency and rate limits. What differs is who the key acts as and therefore which endpoints it can reach.
| Public API | Console API | |
|---|---|---|
| For | A person using IDEALX for their own accounts | An advice firm or an accounting practice working for clients |
| Key made in | The IDEALX app: Profile → Developer | Console: Team → API and webhooks (firm admins) |
| A key acts as | You, on the accounts you have a role on | The firm admin who made it, for that firm only, within each client’s mandate |
| Scopes | read, trade, move |
read, trade, move, advise |
| Reference | Public API reference | Console API reference |
| OpenAPI document | GET /v1/openapi/public.json |
GET /v1/openapi/firm.json |
A key only reaches the endpoints of its own API. A personal key calling a firm endpoint, or a firm key calling a
personal one, gets 403 forbidden with details.audience saying which kind of key to use. See
Scopes and audiences.
From zero to a first request
Section titled “From zero to a first request”-
Create a sandbox key. Sign in to the sandbox app (or Console for a firm key), make a key with the
readscope and keep it somewhere safe: it is shown once. Create an API key -
Pick the environment. Build against the sandbox. Keys only work in the environment they were made in.
Environment API base URL Keys start with Make keys in Sandbox https://api.staging.idealx.comidx_test_app.staging.idealx.com,console.staging.idealx.comProduction https://api.idealx.comidx_live_app.idealx.com,console.idealx.com -
Send a request. List your accounts (or your firm’s clients) with curl, TypeScript or Python. Your first request
-
Follow a journey. Each journey is a complete, step-by-step integration with a sequence diagram and full requests and responses.