FluxPerpdocs
API Reference

REST Endpoints

REST API endpoints for markets, orders, positions, and account state.

The REST API exposes market data and account actions for trading clients.

GET/v1/marketsList supported perpetual markets
GET/v1/orderbook/:marketRead top-of-book depth
POST/v1/ordersPlace a signed order intent
DELETE/v1/orders/:idCancel an open order
GET/v1/accountRead balances and positions

Authentication

Private endpoints require a wallet-derived session signature. Public market data endpoints can be requested without authentication.

ParameterTypeRequiredDefaultDescription
marketstringyesMarket symbol such as SOL-PERP
side"long" | "short"yesTrade direction
sizenumberyesOrder size in base units
pricenumbernoLimit price in USDC

On this page