Skip to main content
GET
/
spot
/
vwap
/
pairs
/
{pair}
/
historical
Pairs Historical
curl --request GET \
  --url https://api.amberdata.com/markets/spot/vwap/pairs/{pair}/historical \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": [
    {
      "timestamp": "2020-09-11T20:41:00.000Z",
      "pair": "btc_usd",
      "price": 10311.5,
      "volume": 0.1212,
      "vwap": 10315.9
    }
  ]
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Path Parameters

pair
string
default:btc_usd
required

Query Parameters

exchange
string
includeCrossRates
boolean
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[]