Actions31
- Market Data Actions
- Account Actions
- Order Actions
- Position Actions
Market Data → Get Orderbook
AI-generatedSummary
Get Orderbook
Inputs
- symbol (required) — Trading pair symbol (e.g., BTC, ETH, SOL).
- aggLevel — Price aggregation level for the orderbook.
Output shape
orderbook
Returns the orderbook data from the Pacifica API /api/v1/book endpoint.
Examples
Example 1: Fetch orderbook for BTC with default aggregation level
symbol: BTC, aggLevel: 1 (default)