One investment with its latest price
curl "https://api.staging.idealx.com/v1/investments/XASX:EXS" \ -H "Authorization: Bearer $IDEALX_API_KEY"const res = await fetch("https://api.staging.idealx.com/v1/investments/XASX:EXS", { headers: { Authorization: `Bearer ${process.env.IDEALX_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).error.code);const data = await res.json();import osimport requests
res = requests.get( "https://api.staging.idealx.com/v1/investments/XASX:EXS", headers={"Authorization": f"Bearer {os.environ['IDEALX_API_KEY']}"}, timeout=30,)res.raise_for_status()data = res.json()With currency, its price in that currency too (shown, an estimate at today’s middle rate).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”OK
object
Most decimals its prices carry (four, more for coins below a cent)
Common, preferred, etf, fund, adr, warrant, bond, index, crypto…
Its logo, a path on this API (an image)
On offer now: an active, tradable listing with a price (always true in lists)
Its logo’s colour (#rrggbb) for washes, lines and borders, never text; null without one
Digital assets: the last price in US dollars, shown beside the price in the account’s currency; null for others
Prices in the investment’s currency; bonds per 100 of face value
object
When the price is from
Live: minutes old; delayed: the usual 15–20 minute delay while the exchange trades; close: the exchange is shut or the price is from before today’s open
object
Accrued interest today per 100 of face value
Yield: rate a year, length and smallest amount
object
Prices in the asked currency at today’s middle rate; an estimate
object
object
Digital assets: cryptocurrency, stablecoin, tokenized_stock…
Digital assets: rank by market capitalisation; null when unranked
Digital assets: market capitalisation in US dollars (reference)
Digital assets: traded in the last 24 hours, in US dollars (reference)
Digital assets: change over seven days in percent (reference)
Digital assets only; null for others
object
object
object
Tokens: the chain it is issued on and its contract address
object
object
Fully diluted market cap, US dollars
Share of all digital assets’ market cap, percent
Percent over 1 hour, 1, 7, 30, 60 and 90 days
object
All-time high in US dollars, when known
object
All-time low in US dollars, when known
object
Example
{ "accent": "#f7931a", "quote": { "freshness": "live" }, "bond": { "couponRate": "4.50" }, "term": { "rate": "4.60" }, "marketCap": { "amount": "1250.00", "currency": "AUD" }, "category": "cryptocurrency"}Not found
object
object
object
Example
{ "error": { "code": "validation_failed" }}