Pacifica icon

Pacifica

Trade perpetuals and query data on Pacifica DEX

Market Data → Get Orderbook

AI-generated

Summary

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)

Links

Discussion