Skip to main content
GET
/
v1
/
polymarket
/
candlesticks
/
{condition_id}
Get Candlesticks
curl --request GET \
  --url https://api.predexon.com/v1/polymarket/candlesticks/{condition_id} \
  --header 'x-api-key: <api-key>'
{
  "condition_id": "<string>",
  "candlesticks": [
    {
      "end_period_ts": 123,
      "price": {
        "open": 123,
        "high": 123,
        "low": 123,
        "close": 123,
        "open_dollars": "<string>",
        "high_dollars": "<string>",
        "low_dollars": "<string>",
        "close_dollars": "<string>",
        "mean": 123,
        "mean_dollars": "<string>",
        "previous": 123,
        "previous_dollars": "<string>"
      },
      "volume": 123,
      "trades_count": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours at https://dashboard.predexon.com

Path Parameters

condition_id
string
required

Condition ID for the market

Query Parameters

start_time
integer | null

Unix timestamp (seconds) for start of time range

end_time
integer | null

Unix timestamp (seconds) for end of time range

interval
integer
default:1

Interval: 1=1m, 60=1h, 1440=1d

Response

Successful Response

Candlesticks endpoint response.

condition_id
string
required

Market condition ID

candlesticks
CandlestickData · object[]
required

Array of candlestick data points