Skip to main content
GET
/
spot
/
vwap
/
assets
/
{asset}
/
historical
Assets Historical
curl --request GET \
  --url https://api.amberdata.com/markets/spot/vwap/assets/{asset}/historical \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": [
    {
      "timestamp": "2020-09-11T20:17:00.000Z",
      "asset": "btc",
      "price": 10334.1579,
      "volume": 3.7839,
      "vwap": 10332.5029
    }
  ]
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Path Parameters

asset
string
default:btc
required

Query Parameters

startDate
string<date-time>
endDate
string<date-time>
timeInterval
string
lookbackPeriod
integer
timeFormat
string

Response

status
integer
Example:
title
string
Example:
description
string
Example:
payload
object[]