> ## 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 book



## OpenAPI

````yaml /openapi.json get /book
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:
    get:
      tags:
        - market-data
      operationId: get_book
      parameters:
        - name: token_id
          in: query
          description: Token ID (hex or decimal)
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Orderbook with bids, asks, and metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookResponse'
        '404':
          description: No market found for token
components:
  schemas:
    BookResponse:
      type: object
      description: |-
        Get orderbook - GET /book
        Polymarket-compatible response with all expected fields
      required:
        - market
        - asset_id
        - bids
        - asks
        - timestamp
        - min_order_size
        - neg_risk
        - tick_size
      properties:
        asks:
          type: array
          items:
            $ref: '#/components/schemas/PriceLevel'
        asset_id:
          type: string
        bids:
          type: array
          items:
            $ref: '#/components/schemas/PriceLevel'
        hash:
          type: string
          nullable: true
        last_trade_price:
          type: string
          nullable: true
        market:
          type: string
        min_order_size:
          type: string
        neg_risk:
          type: boolean
        tick_size:
          type: string
        timestamp:
          type: string
          description: Polymarket-required fields
    PriceLevel:
      type: object
      required:
        - price
        - size
      properties:
        price:
          type: string
        size:
          type: string

````