Moonbase Docs

Orderbook

Real-time orderbook data

Overview

The Orderbook API provides access to real-time orderbook data for trading pairs. The orderbook shows current buy and sell orders, allowing you to see market depth and make informed trading decisions.

Available Endpoints

Orderbook Data

  • Get Orderbook - Retrieve the current orderbook for a trading pair

Understanding Orderbooks

An orderbook displays:

  • Bids - Buy orders (orders to purchase)
  • Asks - Sell orders (orders to sell)
  • Price levels - Different price points at which orders are placed
  • Quantities - Amount available at each price level

Real-time Updates

For real-time orderbook updates, consider using the WebSocket API's book channel, which provides live orderbook updates without polling.

Getting Started

To access orderbook data:

  1. Use the Get Orderbook endpoint to retrieve current orderbook data
  2. For real-time updates, connect to the WebSocket book channel
  3. Use orderbook data to analyze market depth and make trading decisions

For detailed information about the endpoint, refer to the Get Orderbook documentation.