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

# Get unified orderbook - GET /book/unified

> Returns both direct and implied liquidity (from cross-book MINT/MERGE opportunities)
with visual distinction between sources.



## OpenAPI

````yaml /openapi.json get /book/unified
openapi: 3.0.3
info:
  title: Blink Markets API
  description: Trading API for Blink Prediction Markets
  contact:
    name: Blink
    url: https://blink15.com
  license:
    name: Proprietary
    url: https://blink15.com/terms
  version: 1.0.0
servers:
  - url: https://api.blink15.com
    description: Production (Base Sepolia Testnet)
  - url: http://localhost:3001
    description: Local Development
security: []
tags:
  - name: health
    description: Health check endpoints
  - name: markets
    description: Market discovery and information
  - name: market-data
    description: Orderbook, price, and spread data
  - name: trading
    description: Order placement, cancellation, and trade history
  - name: account
    description: Wallet status, balances, and allowances
  - name: auth
    description: API key creation and derivation (L1 EIP-712)
  - name: orders
    description: Order management
  - name: trades
    description: Trade history and fills
  - name: users
    description: User account management
  - name: faucet
    description: Testnet faucet and gasless relay endpoints
  - name: admin
    description: Administrative endpoints (requires API key)
  - name: compat
    description: Polymarket-compatible endpoints
paths:
  /book/unified:
    get:
      tags:
        - market-data
      summary: Get unified orderbook - GET /book/unified
      description: >-
        Returns both direct and implied liquidity (from cross-book MINT/MERGE
        opportunities)

        with visual distinction between sources.
      operationId: get_unified_book
      parameters:
        - name: token_id
          in: query
          description: Token ID (hex or decimal)
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Unified orderbook with direct and implied liquidity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnifiedBookResponse'
        '404':
          description: No market found for token
components:
  schemas:
    UnifiedBookResponse:
      type: object
      description: Unified orderbook response
      required:
        - market
        - asset_id
        - bids
        - asks
        - timestamp
      properties:
        asks:
          type: array
          items:
            $ref: '#/components/schemas/UnifiedPriceLevel'
        asset_id:
          type: string
        best_ask:
          type: string
          nullable: true
        best_bid:
          type: string
          nullable: true
        bids:
          type: array
          items:
            $ref: '#/components/schemas/UnifiedPriceLevel'
        market:
          type: string
        spread:
          type: string
          nullable: true
        timestamp:
          type: string
    UnifiedPriceLevel:
      type: object
      description: Unified price level showing both direct and implied liquidity
      required:
        - price
        - size
        - direct_size
        - implied_size
        - order_count
        - is_implied
      properties:
        direct_size:
          type: string
        implied_size:
          type: string
        implied_source:
          type: string
          nullable: true
        is_implied:
          type: boolean
        order_count:
          type: integer
          format: int32
          minimum: 0
        price:
          type: string
        size:
          type: string

````