Skip to main content
GET
cURL

Authorizations

X-Monaco-Signature
string
header
required

Ed25519 session-key request signing. Every authenticated request carries three headers: X-Monaco-PublicKey (64-char lowercase-hex session public key), X-Monaco-Timestamp (Unix milliseconds, within 30s of server time), and X-Monaco-Signature (hex ed25519 signature). The signature is over METHOD\npath?query\ntimestamp_ms\nSHA256_hex(body), where the body hash is the SHA-256 of the empty byte string when there is no body. Obtain the session keypair from POST /api/v1/auth/challenge followed by POST /api/v1/auth/verify.

Path Parameters

marginAccountId
string
default:2b1a5f9c-0000-4000-8000-000000000001
required

Margin account UUID for the current isolated bucket.

Query Parameters

movementType
string
page
integer<uint32>

Page number (1-indexed)

Required range: 1 <= x <= 10000
pageSize
integer<uint32>
default:20

Items per page (max 100)

Required range: 1 <= x <= 100

Response

OK

movements
object[] | null
total
integer<uint32> | null

Matching movements. Exact up to 10,000 pages of the requested page size (page_size x 10,000 rows) and saturates there, so a caller with more movements than the listing can page through reads the cap, not its lifetime total.

Example:

150

page
integer<uint32> | null
pageSize
integer<uint32> | null