Fees charged against the account, most recent first, across every fee source: per-trade, per-settlement, market-group and event.
- Scoped to
fee,fee_refundandmaker_rebateentries. Fees still pending against the balance are not included. amountis the signed effect on the balance, so fees paid net out by summing it: afeeis never positive, and afee_refundormaker_rebateis never negative.- A
maker_rebateis the match-time credit of a negative maker fee rate. - A
feeof0.0000is a real entry: the fee was assessed and came to nothing, because your profit across the group was not positive or your rate is zero. - Trails a fee by the account’s write-behind lag, about 300 ms at rest.
GET
/api/v1/portfolio/feesParameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit |
query |
integer | no | Rows per page. Defaults to 100 and is silently clamped to 200; a larger value is not an error. |
cursor |
query |
string | no | Cursor from the previous response. Omit for the first page. |
Responses
Section titled “Responses”| Status | Description | Schema |
|---|---|---|
200 |
Success | object |
401 |
Missing, malformed or unrecognized signature, or a timestamp outside the 30-second window. Body: {“error”:“Missing or invalid API key credentials”} | Error |
403 |
The account behind this key is not active, for example it is pending approval or suspended. Body: {“error”:“Your account is suspended. Contact support.”}, the message naming the account’s status. | Error |
Example
Section titled “Example”Request:
curl --request GET \ --url 'https://demo.stxapp.io/api/v1/portfolio/fees' \ --header 'X-STX-ACCESS-KEY: <key-id>' \ --header 'X-STX-ACCESS-TIMESTAMP: <unix-ms>' \ --header 'X-STX-ACCESS-SIGNATURE: <base64-ed25519>'Response 200:
{ "cursor": null, "fees": [ { "account_id": "28417940-ecef-40a9-8816-cc055d7d846f", "amount": "-0.9800", "event_id": null, "fee_id": "79cc14bd-9efb-4ae7-8c16-8fa9b20e30c5", "id": "70287d0d-99eb-4b95-8f31-0f500c8e0124", "inserted_at": 1791644652546531, "market_id": "e00651a3-10cb-4bc1-9e1f-c5ea1796c83b", "payment_id": null, "points": null, "settlement_id": null, "time": "2026-10-10T15:04:12.546531Z", "type": "fee" }, { "account_id": "28417940-ecef-40a9-8816-cc055d7d846f", "amount": "-1.1600", "event_id": null, "fee_id": "2063140b-9411-4304-8cbd-8bfa76fa9fd8", "id": "656ec824-2a67-417e-91cd-3463ca6b96ac", "inserted_at": 1791589277676511, "market_id": "fd6a5668-ffda-4f97-b8fe-7aa6d79d9c5f", "payment_id": null, "points": null, "settlement_id": null, "time": "2026-10-09T23:41:17.676511Z", "type": "fee" } ]}Response fields
Section titled “Response fields”| Field | Type | Description |
|---|---|---|
cursor |
string | Opaque cursor for the next page. Pass the value from the previous response; omit for the first page. null once there are no more pages. |
account_id |
uuid | The account the record belongs to. |
amount |
decimal | The monetary value the entry was calculated from. In dollars. |
event_id |
uuid | The event the market belongs to. |
fee_id |
uuid | The fee that generated this entry, when it came from one. |
id |
uuid | Unique identifier for the record. |
inserted_at |
int64 | Creation time, as UNIX microseconds. |
market_id |
uuid | The market this record relates to. |
payment_id |
uuid | The payment that generated this entry, when it came from one. |
points |
number | Points added by this entry. Negative when points were spent. |
settlement_id |
uuid | The settlement that generated this entry, when it came from one. |
time |
date-time | When the entry was recorded. |
type |
string | What moved the money or the points, for example a deposit, a trade fee, a referral, or a manual adjustment. Each endpoint returns only its own subset of these. |
Docs version v1.10.5

