Skip to main content
POST
Validate collateral rebalance (unavailable)

Authorizations

Authorization
string
header
required

An OceanX API key, created in the app under Settings → Developer API. Send it as Authorization: Bearer ox_live_…. Required scopes are operation-specific: market reads use md.read, tracker uses tracker.read, copy reads use copy.read, alert operations use alerts.read or alerts.write, and owned wallet/funding reads require explicit account.read. New scopes require explicit selection and grant no trading authority. Existing perps operations retain their documented scopes.

Body

application/json

Venues must differ. A client ID does not establish idempotency or execution; rebalance is unavailable.

fromVenue
enum<string>
required
Available options:
hl,
pacifica,
lighter,
aster,
dydx,
gmx,
ostium
toVenue
enum<string>
required
Available options:
hl,
pacifica,
lighter,
aster,
dydx,
gmx,
ostium
usd
number
required
Required range: x <= 1000000000
clientRebalanceId
string
Required string length: 1 - 128

Response

Failed validation before reaching the engine.

error
object
required
requestId
string

Request identifier on new token endpoints.