Skip to main content

Supported timeframes

Pass one of these strings as the timeframe query parameter on candle endpoints: Every timeframe is stored and served directly, with no resampling at request time, so larger timeframes return as fast as 1m. Anything else (2m, 30m, etc.) returns 400.

Bar alignment

Bars are aligned to UTC clock boundaries:
  • 1m bars start at HH:MM:00.
  • 1h bars start at HH:00:00.
  • 1d bars start at 00:00:00 UTC.
The timestamp field on a candle is the start of the bar.

Timestamps

Every timestamp on the API is ISO-8601 UTC, e.g., 2026-05-09T12:34:00Z. When you pass start and end to /api/v1/candles, send ISO-8601 strings.

Limits

If end is omitted on /api/v1/candles, the server snaps to a 30-second-aligned “now” so consecutive live queries hit the cache. To pull a precise instantaneous range, set both start and end explicitly.

Resolution on the price endpoints

/price/history, /price/history/range, and /chart/{token} all accept ?resolution=1m|5m|1h|1d. /price/history/timestamp is always 1m (highest precision). /tokens/{mint}/ath uses daily candles only.