Skip to content

The filtered activity feed as a named file: a branded PDF (at most 10000 rows), CSV or Excel workbook (D152)

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

Takes the feed’s filters. The file name comes from the report’s name and today’s date (Content-Disposition). At most 20 reports a minute per person.

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)

format

Pdf (the default), csv or xlsx

string
Allowed values: pdf csv xlsx

Pdf (the default), csv or xlsx

name

The report’s name; by default one made from the filters

string
<= 120 characters

The report’s name; by default one made from the filters

columns

Comma-separated, in order: date, type, asset, quantity, price, amount, currency, accountAmount, status, portfolio, person, reference

string
<= 400 characters

Comma-separated, in order: date, type, asset, quantity, price, amount, currency, accountAmount, status, portfolio, person, reference

summary

Start with totals by currency and counts by type (PDF and Excel). Default 1

string
Allowed values: 0 1 true false

Start with totals by currency and counts by type (PDF and Excel). Default 1

group

How the PDF groups rows; by default by day up to a month, else by month

string
Allowed values: day month

How the PDF groups rows; by default by day up to a month, else by month

The report

string format: binary

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

Unknown columns, or too many rows for the format

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

Too many reports in a minute

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