VWAP only

You can also get OHLCV Candlesticks from the Trade Count, OHLCV, & VWAP endpoint.

What is this endpoint for?

This endpoint retrieves aggregated VWAP (volume-weighted average price) history for an instrument on an exchange.

Endpoint

https://<eu|us>.market-api.kaiko.io/v2/data/trades.v2/exchanges/{exchange}/{instrument_class}/{instrument}/aggregations/vwap

Path Parameters

Parameter
Required?
Description

region

Yes

Choose between eu and us.

exchange

Yes

Exchange code.

See Exchange codes

instrument_class

Yes

instrument

Yes

Query Parameters

Parameter
Required
Description

continuation_token

No

end_time

No

Ending time in ISO 8601 (exclusive). Automatically included in continuation tokens.

interval

No

The interval parameter is suffixed with s, m, h or d to specify seconds, minutes, hours or days, respectively. Any arbitrary value between one second and one day can be used, as long as it sums up to a maximum of 1 day. The suffixes are s (second), m (minute), h (hour) and d (day). Default 1d.

page_size

No

(min: 1, default: 100, max: 100000). See Pagination Automatically included in continuation tokens.

start_time

No

Starting time in ISO 8601 (inclusive). Automatically included in continuation tokens.

sort

No

Return the data in ascending (asc) or descending (desc) order. Default: desc Automatically included in continuation tokens.

Fields

Field
Description

timestamp

Timestamp at which the interval begins.

price

VWAP. null when no trades reported.

Request examples

Response example

Last updated

Was this helpful?