Fetch Closed Orders

Changed on

Fetch authenticated closed orders.

get/api/{exchange}/fetchClosedOrders

Request

  • Base URL
    https://api.pmxt.dev
  • URL
    https://api.pmxt.dev/api/{exchange}/fetchClosedOrders
  • 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.

Query parameters

marketIdstring

required for Limitless (slug)

sincestring date-time

Only return records after this date

untilstring date-time

Only return records before this date

limitnumber

Maximum number of results to return

cursorstring

Opaque pagination cursor from a previous response

Response

Fetch Closed Orders response

successboolean

Example response

{
  "success": true
}

Changes

    • info

      added the new enum value baozi 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 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 polymarket 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 suibets to the path request parameter exchange

    • breaking

      removed the enum value baozi from the path request parameter exchange

    • breaking

      removed the enum value hunch 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 polymarket 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 suibets from the path request parameter exchange