# Vatic API ## Docs - [Fee Config by ID](https://docs.vatic.trading/api-reference/fees/event-by-id.md): Returns the taker fee configuration for a Polymarket event by its numeric ID. Uses the legacy fee formula. - [Fee Config by Slug](https://docs.vatic.trading/api-reference/fees/event-by-slug.md): Returns the taker fee configuration for a Polymarket event identified by its slug. Uses the legacy fee formula: `fee = feeRate × p^exponent`. - [Trade Estimate](https://docs.vatic.trading/api-reference/fees/trade-estimate.md): Calculates the exact taker fee and net outcome for a BUY or SELL trade using the legacy fee formula (`fee = feeRate × p^exponent`). Provide `eventId` or `eventSlug` to identify the event. - [Health Check](https://docs.vatic.trading/api-reference/health.md): Returns service status and current server time. - [Binance Range](https://docs.vatic.trading/api-reference/history/binance-range.md): Fetches OHLCV open prices from Binance Futures for a time range. Only supports Binance-sourced intervals: `1hour`, `daily`. Max range: 7 days. Max points: 10,000. - [Chainlink Range](https://docs.vatic.trading/api-reference/history/chainlink-range.md): Fetches prices from Chainlink Data Streams for a time range. Only supports Chainlink intervals: `5min`, `15min`, `4hour`. Note: Chainlink retains reports for ~14 days. - [Market History](https://docs.vatic.trading/api-reference/history/market.md): Returns the target price datapoint for a specific market window (aligned to the nearest boundary). Also available at `/api/v1/timeseries/market`. - [Range History](https://docs.vatic.trading/api-reference/history/range.md): Returns an array of target price datapoints for all market windows between `start` and `end`. Max range: 90 days. Max points: 1,000. Also available at `/api/v1/timeseries/range`. - [Hyperliquid Active Markets](https://docs.vatic.trading/api-reference/hyperliquid/markets-active.md): Returns the richer active Hyperliquid prediction market payload, including parsed contract metadata plus side-level fields like `coin`, `assetId`, `midPrice`, `markPrice`, `volume`, and `circulatingSupply`. Pass an official Hyperliquid trade slug to scope the response to one market, or omit `slug` t… - [Hyperliquid Active Targets](https://docs.vatic.trading/api-reference/hyperliquid/targets-active.md): Returns the currently active Hyperliquid prediction markets from the live outcome catalog. Pass an official Hyperliquid trade slug to scope the response to one market, or omit `slug` to return all active markets. `price` is the market `targetPrice`, while `yesPrice` and `noPrice` are the current sid… - [Hyperliquid Target By Timestamp](https://docs.vatic.trading/api-reference/hyperliquid/targets-timestamp.md): Searches the live Hyperliquid outcome catalog for the market whose active window contains the requested timestamp. Pass an official Hyperliquid trade slug to scope the response to one market, or omit `slug` to rank the full live catalog. - [Market Timestamps](https://docs.vatic.trading/api-reference/markets/timestamps.md): Returns all market window timestamps for a given UTC day and asset. Includes the market slug and Polymarket URL for each window. - [Token ID Lookup](https://docs.vatic.trading/api-reference/markets/token-id.md): Resolves the Polymarket CLOB token ID for a given market slug and outcome name. Use this to get the `tokenId` needed to place orders. - [Fee Config by ID](https://docs.vatic.trading/api-reference/new-fees/event-by-id.md): Returns the taker fee configuration using Polymarket's updated April 2025 fee structure, looked up by event ID. - [Fee Config by Slug](https://docs.vatic.trading/api-reference/new-fees/event-by-slug.md): Returns the taker fee configuration using Polymarket's updated April 2025 fee structure. Formula: `fee = C × feeRate × p × (1 − p)`. - [Trade Estimate](https://docs.vatic.trading/api-reference/new-fees/trade-estimate.md): Calculates the exact taker fee and net outcome using Polymarket's April 2025 fee formula: `fee = C × feeRate × p × (1 − p)`. Precision: 5 decimal places. - [Cancel Orders (Bulk)](https://docs.vatic.trading/api-reference/orders/cancel-bulk.md): Cancels all open orders for a wallet, optionally scoped to a market (`market`) or outcome token (`asset_id`). If neither is provided, cancels all orders across all markets. - [Cancel Order](https://docs.vatic.trading/api-reference/orders/cancel-one.md): Cancels one open order by its hash. Verifies the order belongs to the caller's wallet before cancelling. - [List Orders](https://docs.vatic.trading/api-reference/orders/list.md): Returns open orders for a user's trading wallet. Passes through Polymarket CLOB pagination. Supports filtering by market condition ID, outcome token ID, or specific order hash. - [Place Order (Legacy)](https://docs.vatic.trading/api-reference/orders/place.md): Submits a Polymarket CLOB limit order using the legacy EIP-712 signing flow. Prefer `/api/v1/simpleOrders/createLimitOrder` for new integrations. - [Root Status](https://docs.vatic.trading/api-reference/root.md): Returns a brief service status object. - [Create Limit Order](https://docs.vatic.trading/api-reference/simple-orders/create-limit-order.md): Places a Good-Till-Cancelled (GTC) limit order on the Polymarket CLOB. `negRisk` is auto-detected if not provided. Optional `expiration` is a Unix timestamp after which the order expires (0 = never). - [Create Market Order](https://docs.vatic.trading/api-reference/simple-orders/create-market-order.md): Places a market order using a known Polymarket outcome token ID. Use `/api/v1/markets/tokenId` first to resolve the token ID from a slug. - [Easy Market Order](https://docs.vatic.trading/api-reference/simple-orders/easy-market-order.md): The simplest order endpoint. Resolves the token ID from a market slug and outcome name, then places a market order. No token IDs needed. Uses FOK (Fill-or-Kill) by default. - [Active Window Prices](https://docs.vatic.trading/api-reference/targets/active.md): Returns the target (opening) price for the **current** market window across one or more interval types. Prices come from Chainlink Data Streams (5min, 15min, 4hour) or Binance OHLCV (1hour, daily). - [Chainlink Price](https://docs.vatic.trading/api-reference/targets/chainlink.md): Fetches a price exclusively from Chainlink Data Streams. Only supports Chainlink market types: `5min`, `15min`, `4hour`. - [Price by Market Slug](https://docs.vatic.trading/api-reference/targets/slug.md): Resolves the asset, market type, and window start from a Polymarket event slug and returns the target price. Supports slug formats like `btc-updown-5m-{ts}`, `bitcoin-up-or-down-april-7-12-et`, and `bitcoin-up-or-down-on-april-7`. - [Price at Timestamp](https://docs.vatic.trading/api-reference/targets/timestamp.md): Returns the target price for the market window that contains the given Unix timestamp. Retries up to 4 times with 1s delay to absorb the ~1–5s publish lag at window boundaries. - [Batch Prices](https://docs.vatic.trading/api-reference/targets/timestamp-batch.md): Fetches the target price at a given timestamp for multiple assets in parallel. Useful for dashboards that need prices for several assets at once. - [Authentication](https://docs.vatic.trading/authentication.md): API key authentication for Hyperliquid REST and order endpoints. - [Assets](https://docs.vatic.trading/concepts/assets.md): Supported crypto assets and their identifiers. - [Fee Structures](https://docs.vatic.trading/concepts/fees.md): Understanding legacy vs. April 2025 Polymarket taker fees. - [Market Types](https://docs.vatic.trading/concepts/market-types.md): Supported interval types, aliases, and their price sources. - [Introduction](https://docs.vatic.trading/introduction.md): Vatic API — price targets, Hyperliquid prediction market data, fee calculators, and order management for systematic prediction market trading. - [Quickstart](https://docs.vatic.trading/quickstart.md): Get your first Vatic and Hyperliquid market payloads in under a minute. - [WebSocket API](https://docs.vatic.trading/websocket.md): Real-time Vatic target prices and Hyperliquid mark-price monitoring over a single WebSocket connection. ## OpenAPI Specs - [openapi](https://docs.vatic.trading/openapi.json)