Skip to content

Everything that happened on an account in one list, newest first: money in and out, trades, orders, transfers, coins, income and fees (D150)

GET
/v1/accounts/{id}/activity
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/activity" \
-H "Authorization: Bearer $IDEALX_API_KEY"
id
required
string
kind

Comma-separated: deposit, withdrawal, buy, sell, order, transfer, receive, send, convert, dividend, interest, fee, adjustment, professional

string
<= 2000 characters

Comma-separated: deposit, withdrawal, buy, sell, order, transfer, receive, send, convert, dividend, interest, fee, adjustment, professional

assetClass

Comma-separated: cash, equity, etf, fund, bond, crypto, yield_product

string
<= 2000 characters

Comma-separated: cash, equity, etf, fund, bond, crypto, yield_product

instrumentId

Comma-separated instrument ids

string
<= 2000 characters

Comma-separated instrument ids

q

Part of a name or symbol

string
<= 80 characters

Part of a name or symbol

status

Comma-separated: pending, done, cancelled, failed, approval

string
<= 2000 characters

Comma-separated: pending, done, cancelled, failed, approval

from

First day (YYYY-MM-DD)

string
/^\d{4}-\d{2}-\d{2}$/

First day (YYYY-MM-DD)

to

Last day, included

string
/^\d{4}-\d{2}-\d{2}$/

Last day, included

period

In the account’s time zone. fy: the account’s country’s tax year (its catalog start day); ytd: since 1 January. With from/to, both apply

string
Allowed values: today 7d 30d ytd fy

In the account’s time zone. fy: the account’s country’s tax year (its catalog start day); ytd: since 1 January. With from/to, both apply

amountMin

Smallest amount in the account’s currency, either sign

string
/^\d+(\.\d+)?$/

Smallest amount in the account’s currency, either sign

amountMax

Largest amount in the account’s currency, either sign

string
/^\d+(\.\d+)?$/

Largest amount in the account’s currency, either sign

currency

Comma-separated currencies

string
<= 200 characters

Comma-separated currencies

portfolioId

Comma-separated

string
<= 2000 characters

Comma-separated

actor

The person who asked (person id)

string
<= 80 characters

The person who asked (person id)

limit
integer
>= 1 <= 200
cursor

NextCursor of a page

string
<= 200 characters

NextCursor of a page

facets

False leaves out the facets (later pages need none)

string
Allowed values: true false

False leaves out the facets (later pages need none)

A page of the feed, the totals of everything it matches and the facets

Media typeapplication/json
object
items
required
Array<object>
object
id
required

Unique in the feed: order:…, send:…, receive:…, ins:… or tx:…

string
at
required
string
kind
required

Order: an order that has not filled (open, waiting for approval, cancelled, expired, refused); convert: a currency conversion or a filled order on a stablecoin

string
Allowed values: deposit withdrawal buy sell order transfer receive send convert dividend interest fee adjustment professional
title
required
string
titleParts
required
object
verb
required
string
quantity
required
string | null
symbol
required
string | null
rest
required

What follows, e.g. → AUD

string | null
status
required
string
Allowed values: pending done cancelled failed approval
statusDetail
required

The owning module’s own state: an order’s (open, filled…), a receipt’s (pending, credited), an instruction’s (pending_approval, settled…) or the register’s

string
statusLabel
required
string
flow
required

Money or assets came in, went out, moved between two portfolios both shown, or nothing moved yet (an order)

string
Allowed values: in out within none
amount
required
object
amount
required
string
currency
required
string
amountInAccountCurrency
required
object
amount
required
string
currency
required
string
estimate
required

The amount is at today’s price (coins moved, an order not filled)

boolean
asset
required
object
instrumentId
required
string
symbol
required
string
name
required
string
assetClass
required
string
quantity
required

Units moved or ordered, signed

string
assetClass
required

Cash when no investment moved

string
portfolioIds
required
Array<string>
portfolioId
required

The first of portfolioIds

string | null
actor
required
object
personId
required
string
name
required
string
orderId
required
string | null
transferId
required
string | null
txId
required

Open its details at /v1/accounts/{id}/transactions/{txId}

string | null
network
required
string | null
networkName
required
string | null
txHash
required
string | null
explorerUrl
required
string | null
detail
required

For a digital asset order or transfer: the item as Digital Assets shows it

Any of:
object
id
required

Unique in the timeline: order:…, receive:… or send:…

string
kind
required

Convert: a filled order on a stablecoin (coin to cash or cash to coin)

string
Allowed values: order receive send convert
at
required
string
instrumentId
required
string
symbol
required
string
name
required
string
quantity
required

Coin units: ordered, received or sent

string
status
required

An order’s state; a receipt’s pending, credited or unmatched; a send’s instruction state

string
amount
required
object
amount
required
string
currency
required
string
estimate
required

The amount is at today’s price or rate, not what was paid

boolean
side
required
string | null
Allowed values: buy sell
orderId
required
string | null
orderType
required
string | null
Allowed values: market limit
limitPrice
required

In the coin’s trading currency

string | null
priceCurrency
required
string | null
filledQuantity
required
string | null
filledValue
required
object
amount
required
string
currency
required
string
transferId
required
string | null
network
required
string | null
networkName
required
string | null
address
required

Received: our deposit address. Sent: the saved address

string | null
addressLabel
required
string | null
txHash
required
string | null
explorerUrl
required
string | null
confirmations
required
number | null
confirmationsNeeded
required
number | null
nextCursor
required
string | null
summary
required
object
count
required
integer
inflow
required
object
amount
required
string
currency
required
string
outflow
required
object
amount
required
string
currency
required
string
complete
required

False when the account has more history than one request reads (tens of thousands of records): the figures then cover the newest part only

boolean
facets
required

Counts for each filter’s choices, with every other filter applied

object
kind
required
Array<object>
object
value
required
string
count
required
integer
assetClass
required
Array<object>
object
value
required
string
count
required
integer
status
required
Array<object>
object
value
required
string
count
required
integer
currency
required
Array<object>
object
value
required
string
count
required
integer
instruments
required
Array<object>
object
instrumentId
required
string
symbol
required
string
name
required
string
assetClass
required
string
count
required
integer
people
required
Array<object>
object
personId
required
string
name
required
string
count
required
integer

Example

{
"items": [
{
"kind": "deposit",
"title": "Bought 11 VAS",
"titleParts": {
"verb": "Bought",
"quantity": "11",
"symbol": "VAS"
},
"status": "pending",
"flow": "in",
"amount": {
"amount": "1250.00",
"currency": "AUD"
},
"amountInAccountCurrency": {
"amount": "1250.00",
"currency": "AUD"
},
"detail": {
"kind": "order",
"amount": {
"amount": "1250.00",
"currency": "AUD"
},
"side": "buy",
"orderType": "market",
"filledValue": {
"amount": "1250.00",
"currency": "AUD"
}
}
}
],
"summary": {
"inflow": {
"amount": "1250.00",
"currency": "AUD"
},
"outflow": {
"amount": "1250.00",
"currency": "AUD"
}
}
}

No such account or portfolio

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"
}
}