Skip to main content

Overview

Filter orders by market slugs to track all trades within specific markets. Market slugs are unique identifiers for each market on Polymarket.

Subscription Format

Parameters

  • action: Must be "subscribe"
  • platform: Must be "polymarket"
  • version: Currently 1
  • type: Must be "orders"
  • filters.market_slugs: Array of market slug strings

Multiple Market Slugs

You can track multiple markets in a single subscription:
You’ll receive order events when trades occur in any of the specified markets.

Example Response

When an order matching your filter is executed, you’ll receive:
The market_slug field in the response will match one of the market slugs from your subscription filter.

Finding Market Slugs

Market slugs can be found:
  • In the URL of Polymarket market pages
  • From the Markets API endpoint response
  • In order event data from other subscriptions

Use Cases

  • Monitor all trading activity within specific markets
  • Track market-wide order flow
  • Build market-specific analytics
  • Create alerts for trades in particular markets