> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eventgraph.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Market Orderbook

> Current orderbook depth snapshot — bids, asks, spread, and mid price (Pro tier)



## OpenAPI

````yaml GET /api/v1/markets/{platform}/{market_id}/orderbook
openapi: 3.0.3
info:
  title: EventGraph API
  description: >-
    Unified prediction market data across Polymarket, Kalshi, Limitless, and
    OpinionTrade.
  version: 1.0.0
  contact:
    name: EventGraph
    url: https://eventgraph.ai
    email: info@eventgraph.ai
servers:
  - url: https://app.eventgraph.ai
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/markets/{platform}/{market_id}/orderbook:
    get:
      tags:
        - Markets
      summary: Get Market Orderbook
      description: Current orderbook depth snapshot — bids, asks, spread, and mid price.
      operationId: getMarketOrderbook
      parameters:
        - name: platform
          in: path
          required: true
          schema:
            type: string
            enum:
              - polymarket
              - kalshi
              - limitless
              - opiniontrade
        - name: market_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Orderbook depth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Envelope'
        '401':
          description: Invalid or missing API key
        '403':
          description: Endpoint not available on your tier
components:
  schemas:
    Envelope:
      type: object
      properties:
        data:
          description: Response payload
        timestamp:
          type: string
          format: date-time
        meta:
          type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your EventGraph API key (eg_live_...)

````