Skip to main content

My Fees

GET /v1/fees/me

Caller's fee debits from ledger.fees, newest first.

Auth: Authorization: Bearer <session_token> (see place-order). The caller is the session's user — there is no user_id parameter.

Request

GET /v1/fees/me?limit=100&since=2026-04-26T00:00:00Z
Authorization: Bearer <session_token>

Query params

NameTypeRequiredDefaultNotes
limitintegerno100Max rows; clamped to 1–500.
sinceRFC-3339nonow − 30 daysLower bound on ts. An unparseable value silently falls back to the default.

Response — 200

[
{
"trade_id": "f1e2d3c4-b5a6-7890-1234-567890abcdef",
"user_id": "5cfb031b-5936-4467-9533-cd2df576dbb8",
"asset": "USDC",
"amount": "0.0019",
"deficit": "0",
"role": "taker",
"ts": "2026-05-26T08:00:15Z"
}
]

Errors (plain-text body): 401 missing/invalid session token, 500 DB error.