Skip to content

List trading expenses.

GET
/api/expenses
curl --request GET \
--url 'https://api.tradr.cloud/api/expenses?page=0&pageSize=100'

Authed. Expenses are the costs of trading that are not per-fill commissions — data subscriptions, platform fees, software, hardware, education. Commissions belong to fills and appear in the fee rollup instead. filterTotals covers the whole active filter, not just the page. Note page is zero-based here.

year
integer
>= 1900 <= 9999

Omit for all years.

page
integer
0
pageSize
integer
default: 100 >= 1 <= 500

One page of expenses plus the totals for the active filter.

Media typeapplication/json
object
expenses
Array<object>

A cost of trading that is not a per-fill commission.

object
amount

Positive decimal

string
category
string
Allowed values: data_subscription platform_fee software education hardware other
createdAt
string format: date-time
currency
string
>= 3 characters <= 3 characters
description
string
id
string format: uuid
notes
string
nullable
occurredAt
string format: date
updatedAt
string format: date-time
userId
string format: uuid
filterTotals
object
hasMore
boolean
page
integer
pageSize
integer
Example
{
"expenses": [
{
"category": "data_subscription"
}
]
}