CRYPTYX Docs
← API Reference
Market Data

OHLCV candle history for a single asset

get/api/market-history

Authentication

Stytch session JWT or Bearer API key (cx_...).

Query parameters

any
days
integer

Responses

200OHLCV array
array of
{
  "$ref": "#/components/schemas/OHLCVRow"
}

Example request

curl -X GET 'https://cryptyx.ai/api/market-history?=<>&days=<days>' \
  -H 'Authorization: Bearer cx_...'
Try it live in the Playground (auth required to execute).