Skip to main content
GET
cURL
2 credits per request

  • OHLC candles for the Yes outcome, derived from the venue price series (nothing stored).
  • Each bar t is the bucket start (unix seconds); count is how many upstream observations fell in the bucket. Empty buckets are omitted, not forward-filled.
  • Choose the window with interval (1hmax); fidelity sets minutes between upstream samples.

Authorizations

X-API-KEY
string
header
required

API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.

Path Parameters

slug
string
required

Query Parameters

interval
enum<string>
default:1w
Available options:
1h,
6h,
1d,
1w,
1m,
max
fidelity
number

Minutes between upstream samples.

Required range: x <= 1440

Response

success
boolean
required

Whether the request succeeded

Example:

true

timestamp
string
required

ISO 8601 timestamp the response was generated

Example:

"2025-06-19T12:00:00.000Z"

data
object
required
cached
boolean