← API Reference
Market Data
OHLCV candle history for a single asset
get
/api/market-historyAuthentication
Stytch session JWT or Bearer API key (cx_...).
Query parameters
any
daysinteger
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).