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

# Introduction

> Vatic API — price targets, Hyperliquid prediction market data, fee calculators, and order management for systematic prediction market trading.

## What is Vatic API?

Vatic API is a production-grade backend for prediction market trading. It currently provides:

* **Polymarket price targets** — opening prices for BTC, ETH, SOL, XRP, HYPE, DOGE, and BNB sourced from Chainlink Data Streams and Binance Futures OHLCV.
* **Hyperliquid prediction market discovery** — authenticated access to active outcome contracts, official trade slugs, parsed target prices, expiry windows, and live yes/no side pricing.
* **Market timestamps** — all window boundaries for a given day and interval, with Polymarket slugs and URLs pre-built.
* **Fee calculators** — both the legacy formula and the April 2025 Polymarket fee structure, with full trade estimates.
* **Order management** — place, list, and cancel Polymarket CLOB orders authenticated via your trading wallet.

## Base URL

```
https://api.vatic.trading
```

## Price sources

| Market type | Source                 | Retention      |
| ----------- | ---------------------- | -------------- |
| `5min`      | Chainlink Data Streams | \~14 days      |
| `15min`     | Chainlink Data Streams | \~14 days      |
| `4hour`     | Chainlink Data Streams | \~14 days      |
| `1hour`     | Binance Futures OHLCV  | rolling 7 days |
| `daily`     | Binance Futures OHLCV  | rolling 7 days |

## Supported assets

`btc` `eth` `sol` `xrp` `hype` `doge` `bnb`

## WebSocket

Real-time prices are available over WebSocket at `wss://api.vatic.trading/ws`.

* Subscribe to Polymarket/Vatic target prices and receive each window's opening price the instant it resolves.
* Subscribe to Hyperliquid underlying mark prices and receive live `markPrice` snapshots for settlement monitoring.

## Rate limits

The public endpoints apply a default rate limit of **120 requests per 60 seconds** per IP. Hyperliquid REST endpoints and order endpoints require an API key.
