Skip to main content
GET
/
api
/
{exchange}
/
fetchOpenOrders
curl --request GET \
  --url https://api.pmxt.dev/api/{exchange}/fetchOpenOrders \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "error": {
    "message": "<string>"
  },
  "data": [
    {
      "id": "<string>",
      "marketId": "<string>",
      "outcomeId": "<string>",
      "side": "buy",
      "type": "market",
      "amount": 123,
      "status": "pending",
      "filled": 123,
      "remaining": 123,
      "timestamp": 123,
      "price": 123,
      "fee": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Required when calling the hosted API directly (curl, requests, fetch). SDK users pass credentials via constructor params instead.

Path Parameters

exchange
enum<string>
required

The prediction market exchange to target.

Available options:
polymarket,
kalshi,
kalshi-demo,
limitless,
probable,
baozi,
myriad,
opinion,
metaculus,
smarkets,
polymarket_us

Query Parameters

marketId
string

Response

200 - application/json

Fetch Open Orders response

success
boolean
Example:

true

error
object
data
object[]