OHLC Candles

Get candlestick price data for charting and technical analysis

Get OHLC Candles

GET

Retrieve OHLC (Open, High, Low, Close) candlestick data for price charting. Candles are computed from orderbook midpoint prices.

GET /api/v1/markets/{id}/ohlc

Path Parameters

ParameterTypeDescription
idstringMarket UUID

Query Parameters

ParameterTypeDefaultDescription
intervalstringM5Candle interval
limitnumber100Number of candles (max 500)
fromstring-Start time (ISO 8601)
tostring-End time (ISO 8601)

Available Intervals

CodeDuration
M11 minute
M55 minutes
M1515 minutes
H11 hour
H44 hours
D11 day

Example

curl -H "Authorization: Bearer or_live_xxx" \
  "https://api.tessradar.com/api/v1/markets/{id}/ohlc?interval=H1&limit=24"

Response

{
  "data": {
    "marketId": "e4ec57b5-94d1-4159-87c0-5bb6827928f7",
    "question": "Will Bitcoin reach $100k by end of 2026?",
    "outcome": "Yes",
    "interval": "H1",
    "candles": [
      {
        "time": "2026-01-11T00:00:00.000Z",
        "open": 0.652,
        "high": 0.668,
        "low": 0.645,
        "close": 0.665,
        "volume": 125000,
        "trades": 12
      },
      {
        "time": "2026-01-11T01:00:00.000Z",
        "open": 0.665,
        "high": 0.672,
        "low": 0.658,
        "close": 0.670,
        "volume": 89000,
        "trades": 8
      }
    ]
  }
}

Candle Fields

FieldTypeDescription
timestringCandle timestamp (ISO 8601)
opennumberOpening price (0-1)
highnumberHighest price in period
lownumberLowest price in period
closenumberClosing price
volumenumberTrading volume in USD
tradesnumberNumber of trades

Cost: 1 credit per request

OHLC data is available for markets with active orderbook tracking. New markets may have limited historical data.

On this page