> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vatic.trading/llms.txt
> Use this file to discover all available pages before exploring further.

# Chainlink TWAP

> How Vatic exposes Chainlink 30s and 60s TWAP references for Polymarket crypto up/down markets.

Starting **August 7, 2026 at 00:00 UTC**, Polymarket crypto up/down markets use Chainlink TWAP as the closing resolution reference:

| Market type | TWAP window |
| ----------- | ----------- |
| `5min`      | 30 seconds  |
| `15min`     | 60 seconds  |
| `4hour`     | 60 seconds  |

The opening target / price-to-beat remains the same and is still served by the existing target price endpoints.

## Which endpoints to use

Use target endpoints for the opening price:

```bash theme={null}
curl "https://api.vatic.trading/api/v1/targets/timestamp?asset=btc&type=5min&timestamp=1785603000"
```

Use TWAP endpoints for the closing reference:

```bash theme={null}
curl "https://api.vatic.trading/api/v1/twap/report?asset=btc&window=30&timestamp=1785603300"
```

Use the comparison endpoint when you want target, snapshot close, and TWAP close in one response:

```bash theme={null}
curl "https://api.vatic.trading/api/v1/twap/resolve?asset=btc&type=5min&marketStart=1785603000"
```

Use recent comparisons for backtests and dashboards:

```bash theme={null}
curl "https://api.vatic.trading/api/v1/twap/recent?asset=btc&type=5min&limit=50"
```
