Price History

Get historical price snapshots for a market

Get Price History

GET

Retrieve historical price snapshots showing how a market's price has changed over time. Unlike OHLC, this returns raw snapshot data at regular intervals.

GET /api/v1/markets/{id}/market-history

Path Parameters

ParameterTypeDescription
idstringMarket UUID

Query Parameters

ParameterTypeDefaultDescription
limitnumber100Number of snapshots (max 500)
fromstring-Start time (ISO 8601)
tostring-End time (ISO 8601)
intervalstringautoAggregation: 1h, 4h, 1d, auto

Example

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

Response

{
  "data": {
    "marketId": "e4ec57b5-94d1-4159-87c0-5bb6827928f7",
    "question": "Will Bitcoin reach $100k by end of 2026?",
    "exchange": "POLYMARKET",
    "snapshots": [
      {
        "timestamp": "2026-01-11T00:00:00.000Z",
        "yesPrice": 0.652,
        "noPrice": 0.348,
        "volume24h": 5524432,
        "liquidity": 926805
      },
      {
        "timestamp": "2026-01-10T23:00:00.000Z",
        "yesPrice": 0.648,
        "noPrice": 0.352,
        "volume24h": 5312000,
        "liquidity": 918500
      },
      {
        "timestamp": "2026-01-10T22:00:00.000Z",
        "yesPrice": 0.645,
        "noPrice": 0.355,
        "volume24h": 5215000,
        "liquidity": 912000
      }
    ],
    "priceChange24h": 0.012,
    "priceChangePercent24h": 1.88
  }
}

Snapshot Fields

FieldTypeDescription
timestampstringSnapshot time (ISO 8601)
yesPricenumberYes outcome price (0-1)
noPricenumberNo outcome price (0-1)
volume24hnumber24h volume at snapshot time
liquiditynumberLiquidity at snapshot time

Cost: 1 credit per request

Price History vs OHLC: Price history shows raw snapshots, while OHLC aggregates into candlesticks. Use price history for simple line charts, OHLC for technical analysis.

On this page