curl --request GET \
--url 'https://api.sandbox.services.payward.com/v1/users/AA23N84GGQN4WE6I/ohlc/perpetual/PBTCUCZ0.BTNL?interval=PT1M' \
--header "API-Key: $PWS_API_KEY" \
--header "API-Timestamp: $PWS_API_TIMESTAMP" \
--header "API-Sign: $PWS_API_SIGN"{
"data": {
"symbol": "PBTCUCZ0.BTNL",
"interval": "PT1M",
"candles": [
{
"begin": "2026-10-16T08:14:00Z",
"end": "2026-10-16T08:15:00Z",
"open": "83445",
"high": "83445",
"low": "82175",
"close": "82175",
"volume": "2"
}
]
}
}Derivatives market data
Get user OHLC history
Get recent OHLC candles based on traded prices for a specific instrument for a specific user.
GET
/
v1
/
users
/
{user_id}
/
ohlc
/
{asset_type}
/
{symbol}
curl --request GET \
--url 'https://api.sandbox.services.payward.com/v1/users/AA23N84GGQN4WE6I/ohlc/perpetual/PBTCUCZ0.BTNL?interval=PT1M' \
--header "API-Key: $PWS_API_KEY" \
--header "API-Timestamp: $PWS_API_TIMESTAMP" \
--header "API-Sign: $PWS_API_SIGN"{
"data": {
"symbol": "PBTCUCZ0.BTNL",
"interval": "PT1M",
"candles": [
{
"begin": "2026-10-16T08:14:00Z",
"end": "2026-10-16T08:15:00Z",
"open": "83445",
"high": "83445",
"low": "82175",
"close": "82175",
"volume": "2"
}
]
}
}Authorizations
Path Parameters
Query Parameters
Candlestick duration expressed in ISO 8601 duration notation. P introduces the duration and T separates its date and time components; therefore PT1M means one minute, PT4H means four hours, and P1D means one day.
Available options:
PT1M, PT5M, PT15M, PT30M, PT60M, PT4H, PT12H, P1D, P1W Example:
"PT1M"