Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.polynode.dev/llms.txt

Use this file to discover all available pages before exploring further.

Filters

FilterTypeDescription
condition_idsstring[]Specific markets to watch. Max 100.
event_slugsstring[]Events to watch (e.g. us-presidential-election). Max 50.
tagsstring[]Tags to watch (e.g. politics, crypto). Max 20.
Empty filters = all resolutions.

Payload

{
  "id": "evt_e5f6a7b8-9c0d-1e2f-3a4b-5c6d7e8f9a0b",
  "type": "market_resolved",
  "created_at": "2026-05-14T15:10:30.000000000+00:00",
  "data": {
    "condition_id": "0x0ecb24de3a8b875cf80ad087a40be0c86ba47e455e89519cf46ee98361769316",
    "question": "Will Bitcoin reach $100k in May 2026?",
    "slug": "will-bitcoin-reach-100k-may-2026",
    "payout_numerators": "{1,0}",
    "payout_denominator": "1",
    "resolved_at": "1778770810000",
    "event_slug": "crypto-may-2026",
    "tags": "{crypto,bitcoin}"
  }
}

Fields

FieldTypeDescription
condition_idstringMarket condition ID
questionstringMarket question (enriched)
slugstringMarket slug (enriched)
payout_numeratorsstringPayout array — {1,0} means Yes won, {0,1} means No won
payout_denominatorstringDenominator for payout calculation
resolved_atstringResolution timestamp (unix milliseconds)
event_slugstringParent event slug
tagsstringMarket tags

Use Cases

  • Auto-redemption bots: trigger redemptions immediately after resolution
  • Settlement alerts: notify users when their markets resolve
  • Analytics pipelines: track resolution patterns and outcomes

Example

curl -X POST https://api.polynode.dev/v3/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-app.com/hooks/resolutions",
    "event_types": ["market_resolved"],
    "filters": {
      "tags": ["politics"]
    }
  }'