> ## 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.

# market_resolved

> Fires when a Polymarket market is resolved. Get the winning outcome, payouts, and market details instantly.

## Filters

| Filter          | Type       | Description                                                |
| --------------- | ---------- | ---------------------------------------------------------- |
| `condition_ids` | `string[]` | Specific markets to watch. Max 100.                        |
| `event_slugs`   | `string[]` | Events to watch (e.g. `us-presidential-election`). Max 50. |
| `tags`          | `string[]` | Tags to watch (e.g. `politics`, `crypto`). Max 20.         |

Empty filters = all resolutions.

## Payload

```json theme={null}
{
  "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

| Field                | Type     | Description                                                |
| -------------------- | -------- | ---------------------------------------------------------- |
| `condition_id`       | `string` | Market condition ID                                        |
| `question`           | `string` | Market question (enriched)                                 |
| `slug`               | `string` | Market slug (enriched)                                     |
| `payout_numerators`  | `string` | Payout array — `{1,0}` means Yes won, `{0,1}` means No won |
| `payout_denominator` | `string` | Denominator for payout calculation                         |
| `resolved_at`        | `string` | Resolution timestamp (unix milliseconds)                   |
| `event_slug`         | `string` | Parent event slug                                          |
| `tags`               | `string` | Market 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

```bash theme={null}
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"]
    }
  }'
```
