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

# Active Window Prices

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

<Note>
  **Building an algorithmic trading bot?** For instant, real-time delivery of target prices the moment each window opens — with no polling and no rate limits — use the [WebSocket API](/websocket) instead. Connect once, subscribe to your assets, and receive prices pushed directly to you as each market window starts.
</Note>


## OpenAPI

````yaml GET /api/v1/targets/active
openapi: 3.1.0
info:
  title: Vatic API
  version: 1.0.0
  description: >-
    Polymarket price targets, Hyperliquid prediction market data, market
    timestamps, fee calculators, and order management for systematic prediction
    market trading.
servers:
  - url: https://api.vatic.trading
    description: Production
security: []
paths:
  /api/v1/targets/active:
    get:
      tags:
        - Price Targets
      summary: Active window target prices
      description: >-
        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).
      operationId: getTargetsActive
      parameters:
        - name: asset
          in: query
          required: true
          schema:
            type: string
            enum:
              - btc
              - eth
              - sol
              - xrp
              - hype
              - doge
              - bnb
          description: Asset symbol.
        - name: types
          in: query
          required: false
          schema:
            type: string
            example: 5min,15min
          description: >-
            Comma-separated list of market types. Defaults to all:
            `5min,15min,1hour,4hour,daily`.
      responses:
        '200':
          description: Active prices per market type
          content:
            application/json:
              example:
                now: '2025-04-07T12:00:00.000Z'
                asset: btc
                results:
                  - marketType: 5min
                    ok: true
                    windowStart: 1744027500
                    windowStartIso: '2025-04-07T12:05:00.000Z'
                    source: chainlink
                    price: 82450.75
        '400':
          description: Invalid asset or market type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string

````