The filtered activity feed as a named file: a branded PDF (at most 10000 rows), CSV or Excel workbook (D152)
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/activity/report" \ -H "Authorization: Bearer $IDEALX_API_KEY"const res = await fetch("https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/activity/report", { 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/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/activity/report", headers={"Authorization": f"Bearer {os.environ['IDEALX_API_KEY']}"}, timeout=30,)res.raise_for_status()data = res.json()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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Comma-separated: deposit, withdrawal, buy, sell, order, transfer, receive, send, convert, dividend, interest, fee, adjustment, professional
Comma-separated: deposit, withdrawal, buy, sell, order, transfer, receive, send, convert, dividend, interest, fee, adjustment, professional
Comma-separated: cash, equity, etf, fund, bond, crypto, yield_product
Comma-separated: cash, equity, etf, fund, bond, crypto, yield_product
Comma-separated instrument ids
Comma-separated instrument ids
Part of a name or symbol
Part of a name or symbol
Comma-separated: pending, done, cancelled, failed, approval
Comma-separated: pending, done, cancelled, failed, approval
First day (YYYY-MM-DD)
First day (YYYY-MM-DD)
Last day, included
Last day, included
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
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
Smallest amount in the account’s currency, either sign
Smallest amount in the account’s currency, either sign
Largest amount in the account’s currency, either sign
Largest amount in the account’s currency, either sign
Comma-separated currencies
Comma-separated currencies
Comma-separated
Comma-separated
The person who asked (person id)
The person who asked (person id)
Pdf (the default), csv or xlsx
Pdf (the default), csv or xlsx
The report’s name; by default one made from the filters
The report’s name; by default one made from the filters
Comma-separated, in order: date, type, asset, quantity, price, amount, currency, accountAmount, status, portfolio, person, reference
Comma-separated, in order: date, type, asset, quantity, price, amount, currency, accountAmount, status, portfolio, person, reference
Start with totals by currency and counts by type (PDF and Excel). Default 1
Start with totals by currency and counts by type (PDF and Excel). Default 1
How the PDF groups rows; by default by day up to a month, else by month
How the PDF groups rows; by default by day up to a month, else by month
Responses
Section titled “Responses”The report
No such account or portfolio
object
object
object
Example
{ "error": { "code": "validation_failed" }}Unknown columns, or too many rows for the format
object
object
object
Example
{ "error": { "code": "validation_failed" }}Too many reports in a minute
object
object
object
Example
{ "error": { "code": "validation_failed" }}