Skip to main content
Event: market_created
Endpoint: wss://api.struct.to/ws/alerts
Cost: 0.1 credits per event
Get notified when a new prediction market is detected on-chain. Optionally filter by event slugs, tags, or exclude short-term markets.

Filters

FilterTypeRequiredDescription
event_slugsstring[]NoRestrict to specific events (max 500)
tagsstring[]NoFilter by market tags or category (max 500)
exclude_shortterm_marketsbooleanNoExclude short-term markets from results

Subscribe

{
  "op": "subscribe",
  "event": "market_created",
  "tags": ["politics", "crypto"]
}

Response

{
  "event": "market_created",
  "timestamp": 1775913505260,
  "data": {
    "condition_id": "0x1234567890abcdef",
    "market_slug": "will-candidate-x-win",
    "event_slug": "us-presidential-election-2028",
    "event_id": "evt_abc123",
    "event_title": "US Presidential Election 2028",
    "series_slug": "us-elections",
    "outcomes": [
      { "index": 0, "name": "Yes", "position_id": "0xpos1" },
      { "index": 1, "name": "No", "position_id": "0xpos2" }
    ],
    "question": "Will candidate X win the 2028 election?",
    "title": "Candidate X Wins 2028 Election",
    "description": "Resolves Yes if candidate X wins the 2028 US presidential election.",
    "category": "Politics",
    "tags": ["politics", "elections"],
    "image_url": "https://example.com/image.png",
    "neg_risk": false
  }
}
Last modified on April 13, 2026