Skip to content

One investment with its latest price

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

With currency, its price in that currency too (shown, an estimate at today’s middle rate).

id
required
string
currency
string
>= 3 characters <= 3 characters

OK

Media typeapplication/json
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
profile
required

Digital assets only; null for others

object
description
required
string | null
category
required
string
tags
required
Array<string>
dateAdded
required
string | null
links
required
object
website
required
Array<string>
whitepaper
required
Array<string>
sourceCode
required
Array<string>
explorers
required
Array<string>
social
required
object
twitter
required
string | null
reddit
required
string | null
telegram
required
string | null
discord
required
string | null
facebook
required
string | null
forum
required
string | null
platform
required

Tokens: the chain it is issued on and its contract address

object
name
required
string
contract
required
string
metrics
required
object
rank
required
number | null
marketCapUsd
required
string | null
fdvUsd
required

Fully diluted market cap, US dollars

string | null
volume24hUsd
required
string | null
dominance
required

Share of all digital assets’ market cap, percent

string | null
circulating
required
string | null
total
required
string | null
max
required
string | null
change
required

Percent over 1 hour, 1, 7, 30, 60 and 90 days

object
h1
required
string | null
d1
required
string | null
d7
required
string | null
d30
required
string | null
d60
required
string | null
d90
required
string | null
ath
required

All-time high in US dollars, when known

object
priceUsd
required
string
at
required
string | null
atl
required

All-time low in US dollars, when known

object
priceUsd
required
string
at
required
string | null
updatedAt
required
string | null

Example

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

Not found

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
details
object
key
additional properties

Example

{
"error": {
"code": "validation_failed"
}
}