get https://api.amberdata.com/market/spot/vwap/pairs//latest
Retrieves the latest VWAP for the specified pair - this is the global VWAP across all exchanges which supports this pair, based on minutely data.
Price is calculated as a volume weighted moving average across all exchanges.
If the parameter exchange
is specified, the data returned is the VWAP for that pair on that exchange.
Volume Field
For accurate volume information, please refer to our 'OHLCV - Historical' endpoints instead. As an alternative, the 'Metrics - Asset Volume Historical' endpoint can be used to obtain asset volume per exchange.
Response Data
Field | Type | Description |
---|---|---|
timestamp | number | string | The time at which the event occured. |
pair | string | The name of the pair. |
price | number | The price of the pair. |
volume | number | The volume of the pair at this point in time. *Note: this field will soon be deprecated For accurate volume information, please refer to our 'OHLCV - Historical' endpoints instead. As an alternative, the 'Metrics - Asset Volume Historical' endpoint can be used to obtain asset volume per exchange. |
vwap | number | The Volume Weighted Average Price. |