Skip to main content
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer . Scopes: mm:read (GET endpoints), mm:trade (POST endpoints).

Scopes

mm:read

Query Parameters

open
boolean
default:true

true: non-zero positions only. false: also flat positions.

limit
integer
default:50

Page size, 1–200. Out-of-range values are refused, not clamped.

Required range: 1 <= x <= 200
cursor
string

nextCursor from the previous page, unchanged, with the same filters.

Response

OK

positions
object[]
required
nextCursor
string | null
required

Pass back as cursor, with the same filters, for the next page. Null on the last page.

limit
integer
required
serverTimeMs
string
required

D1 server time at the read, Unix milliseconds, as a decimal string.

Example:

"1800000000000"