Utility(3 methods)
conninfodisconnected
Get the connection rate limits.
Request
Response
Response will appear here...
pingdisconnected
Ping the server to check connectivity.
Request
Response
Response will appear here...
timedisconnected
Get the current server time in milliseconds since Unix epoch.
Request
Response
Response will appear here...
Subscriptions(3 methods)
subscribedisconnected
Subscribe to data streams. Use {symbol}@bookTicker for live prices, orders@account for order updates, balances@account for balance changes.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| params | array | required | Array of stream names to subscribe to |
Request
Response
Response will appear here...
unsubscribedisconnected
Unsubscribe from data streams.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| params | array | required | Array of stream names to unsubscribe from |
Request
Response
Response will appear here...
list_subscriptionsdisconnected
Get a list of all active stream subscriptions for the current connection.
Request
Response
Response will appear here...
L2 Data(1 method)
depthdisconnected
Get a snapshot of the order book depth for a prediction market symbol.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | required | Prediction market symbol (e.g., GEMI-PRES2028-VANCE) |
| limit | number | optional | Number of price levels to return (max: 5000)(default: 100) |
Request
Response
Response will appear here...
Trading(4 methods)
order.placeAuth Requireddisconnected
Place a new prediction market order. Requires authentication. Price must be between $0.01–$0.99. eventOutcome must be YES or NO.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | required | Prediction market symbol (e.g., GEMI-PRES2028-VANCE) |
| side | string | required | Order side: BUY or SELL |
| type | string | required | Order type: LIMIT or MARKET |
| timeInForce | string | required | Time in force: GTC, IOC, FOK, MOC |
| price | string | optional | Order price between 0.01 and 0.99 (required for LIMIT orders) |
| quantity | string | required | Number of contracts |
| eventOutcome | string | required | YES (predicting the event happens) or NO (predicting it doesn't) |
| clientOrderId | string | optional | Client-provided order ID for tracking |
Request
Response
Response will appear here...
order.cancelAuth Requireddisconnected
Cancel an existing order by order ID.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| orderId | string | required | Order ID to cancel (from the i field in order events) |
Request
Response
Response will appear here...
order.cancel_allAuth Requireddisconnected
Cancel all existing orders.
Request
Response
Response will appear here...
order.cancel_sessionAuth Requireddisconnected
Cancel all existing orders for the current session.
Request
Response
Response will appear here...