Skip to main content
GET
cURL
1 credit per request

  • The last Yes-price observation at or before t (unix seconds). Never interpolates.
  • price is null when the series begins after t; observedAt is the timestamp actually used (<= t).
  • The lookback window widens with the age of t; override with interval.

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

t
number
required

Unix seconds.

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

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