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

# Range History

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



## OpenAPI

````yaml GET /api/v1/history/range
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/history/range:
    get:
      tags:
        - History & Timeseries
      summary: Price history over a time range
      description: >-
        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`.
      operationId: getHistoryRange
      parameters:
        - name: asset
          in: query
          required: true
          schema:
            type: string
            enum:
              - btc
              - eth
              - sol
              - xrp
              - hype
              - doge
              - bnb
        - name: type
          in: query
          required: true
          schema:
            type: string
            enum:
              - 5min
              - 15min
              - 1hour
              - 4hour
              - daily
        - name: start
          in: query
          required: true
          schema:
            type: integer
          description: Range start as Unix timestamp.
        - name: end
          in: query
          required: true
          schema:
            type: integer
          description: Range end as Unix timestamp.
      responses:
        '200':
          description: Array of price datapoints
          content:
            application/json:
              example:
                now: '2025-04-07T12:00:00.000Z'
                asset: btc
                marketType: 5min
                provider: chainlink
                requested:
                  start: 1744012800
                  end: 1744027500
                  start_iso: '2025-04-07T00:00:00.000Z'
                  end_iso: '2025-04-07T04:05:00.000Z'
                count: 49
                history:
                  - timestamp_start: 1744012800
                    price: 82100
                    source: chainlink
        '400':
          description: Validation error

````