WebSocket requires a Dev or Pro API key. Free tier keys cannot connect. Get your key →
{
"action": "subscribe",
"platform": "polymarket",
"version": 1,
"type": "lifecycle",
"filters": {
"condition_ids": [
"*"
]
}
}{
"action": "unsubscribe",
"subscription_id": "sub_2f4b15b33798"
}{
"action": "update",
"subscription_id": "sub_2f4b15b33798",
"filters": {
"users": [
"0xnew_address..."
],
"status": "all"
}
}{
"type": "ack",
"subscription_id": "sub_2f4b15b33798",
"channel": "trades"
}{
"event_type": "condition_resolution",
"condition_id": "0x6b6de56b...",
"oracle": "0x6a9d2226...",
"is_neg_risk": false,
"is_invalid": false,
"title": "Will Sunderland AFC win?",
"market_slug": "epl-sun-bur-2026-02-02-sun",
"market_id": "1225150",
"tokens": [
{
"token_id": "333190...",
"label": "Yes",
"won": true
},
{
"token_id": "975123...",
"label": "No",
"won": false
}
],
"tx_hash": "0xabc...",
"log_index": "0x1b7",
"block_number": "0x4ebcd5f",
"timestamp": 1770244800
}{
"action": "subscribe",
"platform": "polymarket",
"version": 1,
"type": "lifecycle",
"filters": {
"condition_ids": [
"*"
]
}
}{
"action": "unsubscribe",
"subscription_id": "sub_2f4b15b33798"
}{
"action": "update",
"subscription_id": "sub_2f4b15b33798",
"filters": {
"users": [
"0xnew_address..."
],
"status": "all"
}
}{
"type": "ack",
"subscription_id": "sub_2f4b15b33798",
"channel": "trades"
}{
"event_type": "condition_resolution",
"condition_id": "0x6b6de56b...",
"oracle": "0x6a9d2226...",
"is_neg_risk": false,
"is_invalid": false,
"title": "Will Sunderland AFC win?",
"market_slug": "epl-sun-bur-2026-02-02-sun",
"market_id": "1225150",
"tokens": [
{
"token_id": "333190...",
"label": "Yes",
"won": true
},
{
"token_id": "975123...",
"label": "No",
"won": false
}
],
"tx_hash": "0xabc...",
"log_index": "0x1b7",
"block_number": "0x4ebcd5f",
"timestamp": 1770244800
}Your Predexon API key
Subscribe to market creation and resolution. Only condition_ids filter supported.
Remove a subscription by ID.
Replace filters on an existing subscription. Not supported on the orderbook channel.
Server acknowledgement for subscribe, unsubscribe, and update actions.
Token registration or condition resolution event.