Environments
| 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 |
The two environments run the same code and the same API version. Everything in these docs applies to both; only the base URL, the key prefix and the data differ.
Sandbox
Section titled “Sandbox”The sandbox is IDEALX’s staging environment. Build and test there freely:
- Prices come from a sandbox market data feed unless real feeds are configured; some strategy facts and price
histories are simulated and say so (
simulated: true,factsSimulated: true). - Banks and blockchains are sandbox rails: no real money or coins move. Orders fill against a sandbox broker.
- Identity checks use sandbox providers.
- Webhook endpoints may be
http://localhostor private addresses, so you can test a receiver on your machine. Production accepts only publichttps://addresses.
A sandbox key (idx_test_…) answers 401 in production, and a production key (idx_live_…) answers 401 in the
sandbox.
Machine-readable documents
Section titled “Machine-readable documents”Both environments serve the OpenAPI 3.1 documents these references are generated from:
| Document | Address |
|---|---|
| Public API | https://api.staging.idealx.com/v1/openapi/public.json (also /v1/openapi.json) |
| Console API | https://api.staging.idealx.com/v1/openapi/firm.json |
Use them with your own code generators (for example openapi-typescript) to get typed clients.
Countries
Section titled “Countries”Accounts open in the countries switched on for each environment (for example Australia, the United Kingdom and the United Arab Emirates in the sandbox). Amounts carry their currency, days follow the account’s own time zone and tax years follow its country. See Money and currencies and Time and local days.