Fetch Order Books

Changed on

Batch variant of {@link fetchOrderBook}. Fetches order books for multiple outcomes in a single request where the exchange supports it.

post/api/{exchange}/fetchOrderBooks

Request

  • Base URL
    https://api.pmxt.dev
  • URL
    https://api.pmxt.dev/api/{exchange}/fetchOrderBooks
  • Auth
    none required

Path parameters

exchange'polymarket' | 'kalshi' | 'kalshi-demo' | 'limitless' | 'probable' | 'baozi' | 'myriad' | 'opinion' | 'metaculus' | 'smarkets' | 'polymarket_us' | 'gemini-titan' | 'hyperliquid' | 'suibets' | 'rain' | 'hunch' | 'router' required

The prediction market exchange to target.

Request body

Response

Fetch Order Books response

successboolean
dataobject

Example response

{
  "success": true
}

Changes

    • info

      added the new enum value baozi to the path request parameter exchange

    • info

      added the new enum value gemini-titan to the path request parameter exchange

    • info

      added the new enum value hunch to the path request parameter exchange

    • info

      added the new enum value limitless to the path request parameter exchange

    • info

      added the new enum value metaculus to the path request parameter exchange

    • info

      added the new enum value myriad to the path request parameter exchange

    • info

      added the new enum value opinion to the path request parameter exchange

    • info

      added the new enum value polymarket_us to the path request parameter exchange

    • info

      added the new enum value probable to the path request parameter exchange

    • info

      added the new enum value router to the path request parameter exchange

    • info

      added the new enum value smarkets to the path request parameter exchange

    • info

      added the new enum value suibets to the path request parameter exchange

    • breaking

      removed the enum value baozi from the path request parameter exchange

    • breaking

      removed the enum value gemini-titan from the path request parameter exchange

    • breaking

      removed the enum value hunch from the path request parameter exchange

    • breaking

      removed the enum value limitless from the path request parameter exchange

    • breaking

      removed the enum value metaculus from the path request parameter exchange

    • breaking

      removed the enum value myriad from the path request parameter exchange

    • breaking

      removed the enum value opinion from the path request parameter exchange

    • breaking

      removed the enum value polymarket_us from the path request parameter exchange

    • breaking

      removed the enum value probable from the path request parameter exchange

    • breaking

      removed the enum value router from the path request parameter exchange

    • breaking

      removed the enum value smarkets from the path request parameter exchange

    • breaking

      removed the enum value suibets from the path request parameter exchange