get https://api.amberdata.com/market/spot/prices/pairs//latest/
Retrieves the latest price for the specified pair - the price is calculated across all exchanges which supports this pair.
Price of a pair is calculated as the VWAP (Volume Weighted Average Price) across all exchanges supporting this pair, with a 1 bar lookback period.
If the parameter exchange is specified, the data returned is the price 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. |