Skip to main content
GET
Charts HTTP API
The charts service exposes read-only HTTP endpoints for candlestick (/v1/charts/...) and market-cap bars (/v1/charts/mcap/...). Prefer WebSocket for live updates. Base URL: https://charts.snek.fun/v1 Auth: Public

Resolution query parameter

All endpoints take resolution — one of: min1, min5, hour1, day1, week1, month1 (see OpenAPI / server enum).

GET /v1/charts/history

OHLCV history for a base / quote pair over a time range.

Query parameters

string
required
Base asset id (policy.hex or . for ADA).
string
required
Quote asset id.
integer
required
Range start (Unix seconds).
integer
required
Range end (Unix seconds).
string
required
e.g. min1, hour1.

Response

JSON array of bar objects (LastBarWs): pair, time, low, high, open, close, volume (decimals).

GET /v1/charts/initial-state

Latest bar (and relevance flag) before subscribing over WebSocket.

Response


GET /v1/charts/mcap/history

Market-cap bars over a range (same query shape as charts/history).

GET /v1/charts/mcap/initial-state

Latest market-cap bar snapshot (mCap string, time, pair, isRelevant in the bar payload — see OpenAPI).

OpenAPI

GET /v1/docs/openapi on the same host returns the full YAML spec (includes all routes served by the process).