Actions46
- Account Actions
- Market Actions
- Order Actions
- Position Actions
- Trade Actions
- Trading Actions
- Transaction Actions
- System Actions
Position → Get Positions
AI-generatedSummary
Fetch open positions from the Lighter trading backend
Inputs
None.
Output shape
JSON array of position objects returned by the backend
Each input item produces one paired output item with the backend response JSON
Examples
Example 1: Retrieve all open positions for the configured backend
Set Resource to Position, Operation to Get Positions, and configure a lighterApi credential with a tradingBackendUrl (mainnet or testnet). The node will GET /api/positions from the selected environment and return the position data.