Skip to main content
GET
/
exchanges
/
{exchange}
/
pairs
/
volumes
/
historical
Pair Volume Historical
curl --request GET \
  --url https://api.amberdata.com/market/metrics/exchanges/{exchange}/pairs/volumes/historical \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "metadata": {
      "startDate": "2022-03-10 00:00:00 000",
      "endDate": "2022-03-11 10:00:00 000"
    },
    "data": [
      {
        "exchange": "gdax",
        "pair": "btc_usd",
        "timestamp": "2022-03-10 00:00:00 000",
        "volumeUSD": "820976607.01839280"
      },
      {
        "exchange": "gdax",
        "pair": "btc_usd",
        "timestamp": "2022-03-11 00:00:00 000",
        "volumeUSD": "616422583.44034633"
      }
    ]
  }
}

Authorizations

x-api-key
string
header
default:API-KEY
required

Path Parameters

exchange
string
default:gdax
required

Query Parameters

pair
string
default:btc_usd
direction
string
default:desc
startDate
string
endDate
string
timeFormat
string

Response

200 - application/json
status
integer
default:0
Example:
title
string
Example:
description
string
Example:
payload
object