Skip to content

Shares, ETFs, bonds and digital assets you can buy

GET
/v1/investments
curl "https://api.staging.idealx.com/v1/investments" \
-H "Authorization: Bearer $IDEALX_API_KEY"

Searched, filtered, sorted and paged on the server (D140). With currency, each price is also shown in it at today’s middle rate (an estimate), and price and market cap sort in it.

assetClass
string
Allowed values: equity etf bond yield_product crypto
kind

A kind of the brokerage catalog instead of assetClass and types: all, shares, funds (ETFs and listed funds), bonds or digital (every security type of it)

string
Allowed values: all shares funds bonds digital

A kind of the brokerage catalog instead of assetClass and types: all, shares, funds (ETFs and listed funds), bonds or digital (every security type of it)

listingCurrency

Only listings traded in this currency

string
>= 3 characters <= 3 characters

Only listings traded in this currency

preferCountry

Show this country’s exchanges first (ISO 3166-1 alpha-2): an order only, nothing is left out

string
/^[A-Za-z]{2}$/

Show this country’s exchanges first (ISO 3166-1 alpha-2): an order only, nothing is left out

preferCurrency

Show listings in this currency first: an order only

string
>= 3 characters <= 3 characters

Show listings in this currency first: an order only

q
string
<= 60 characters
market

A market’s MIC (XNYS), CRYPTO or OTC

string
<= 12 characters

A market’s MIC (XNYS), CRYPTO or OTC

currency
string
>= 3 characters <= 3 characters
types

Security types, comma-separated (common, etf, fund, preferred, adr, warrant, bond, index, crypto…); default: common shares, ETFs and coins

string
<= 200 characters

Security types, comma-separated (common, etf, fund, preferred, adr, warrant, bond, index, crypto…); default: common shares, ETFs and coins

sort

Rank: digital assets by market rank, unranked last (the default when listing digital assets); relevance: closest matches to q first, then the preference (the default with preferCountry or preferCurrency)

string
Allowed values: name price change marketCap rank relevance

Rank: digital assets by market rank, unranked last (the default when listing digital assets); relevance: closest matches to q first, then the preference (the default with preferCountry or preferCurrency)

category

Digital assets of this category only

string
Allowed values: cryptocurrency tokenized_stock tokenized_commodity stablecoin meme

Digital assets of this category only

order
string
Allowed values: asc desc
limit
integer
>= 1 <= 200
offset
integer | null
country

Only listings on this country’s exchanges (ISO 3166-1 alpha-2)

string
/^[A-Za-z]{2}$/

Only listings on this country’s exchanges (ISO 3166-1 alpha-2)

moved

True: only listings that moved today (a previous close and a change)

string
Allowed values: true false

True: only listings that moved today (a previous close and a change)

minPrice

Only listings priced at least this, in currency when given (else their own), e.g. 1.00

string
/^\d{1,12}(\.\d{1,4})?$/

Only listings priced at least this, in currency when given (else their own), e.g. 1.00

OK

Media typeapplication/json
object
investments
required
Array
object
id
required
string
symbol
required
string
name
required
string
assetClass
required
string
market
required
string
currency
required
string
description
required
string
quantityDecimals
required
number
priceDecimals
required

Most decimals its prices carry (four, more for coins below a cent)

number
securityType
required

Common, preferred, etf, fund, adr, warrant, bond, index, crypto…

string | null
logo
required

Its logo, a path on this API (an image)

string
tradable
required

On offer now: an active, tradable listing with a price (always true in lists)

boolean
accent
required

Its logo’s colour (#rrggbb) for washes, lines and borders, never text; null without one

string | null
priceUsd
required

Digital assets: the last price in US dollars, shown beside the price in the account’s currency; null for others

string | null
quote
required

Prices in the investment’s currency; bonds per 100 of face value

object
bid
required
string
ask
required
string
last
required
string
previousClose
required
string | null
asOf
required

When the price is from

string
freshness
required

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

string
Allowed values: live delayed close
bond
required
object
couponRate
required
string
couponsPerYear
required
number
maturityDate
required
string
accruedPer100
required

Accrued interest today per 100 of face value

string
term
required

Yield: rate a year, length and smallest amount

object
rate
required
string
termDays
required
number
minAmount
required
string
shown
required

Prices in the asked currency at today’s middle rate; an estimate

object
currency
required
string
last
required
string
previousClose
required
string | null
marketCap
required
object
amount
required
string
currency
required
string
category

Digital assets: cryptocurrency, stablecoin, tokenized_stock…

string
Allowed values: cryptocurrency tokenized_stock tokenized_commodity stablecoin meme
rank

Digital assets: rank by market capitalisation; null when unranked

number | null
marketCapUsd

Digital assets: market capitalisation in US dollars (reference)

string | null
volume24hUsd

Digital assets: traded in the last 24 hours, in US dollars (reference)

string | null
change7d

Digital assets: change over seven days in percent (reference)

string | null
total
required

How many match, across all pages

number

Example

{
"investments": [
{
"accent": "#f7931a",
"quote": {
"freshness": "live"
},
"bond": {
"couponRate": "4.50"
},
"term": {
"rate": "4.60"
},
"marketCap": {
"amount": "1250.00",
"currency": "AUD"
},
"category": "cryptocurrency"
}
]
}