Quick Start

Check API Health

bash

curl https://flashapi.trade/health

json

{
  "status": "ok",
  "accounts": {
    "perpetuals": 1,
    "pools": 1,
    "custodies": 7,
    "markets": 11,
    "positions": 542,
    "orders": 128
  }
}

Get Current Prices

bash

json

Use price_ui for human-readable values. See Data Formats & Precision for details on the raw price format.


Get Positions for a Wallet

bash

Returns enriched position data with PnL, leverage, and liquidation prices. See Endpoints Overview for the full response shape.

Last updated

Was this helpful?