GET
/
exchanges
/
{exchange}
/
assets
/
volumes
/
latest
Asset Volume Latest
curl --request GET \
  --url https://api.amberdata.com/market/metrics/exchanges/{exchange}/assets/volumes/latest \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "data": [
      {
        "exchange": "gdax",
        "asset": "btc",
        "timestamp": "2022-03-13 14:00:00 000",
        "volumeUSD": "520426096.98878671"
      }
    ]
  }
}

Authorizations

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

Path Parameters

exchange
string
default:gdax
required

The exchange for which to retrieve the requested data.

Query Parameters

asset
string

[Optional] The asset for which to retrieve the most current data (ie. btc, eth, etc.)<BR/>[Default] All available assets.

quoteVolume
boolean
default:false

[Optional] Aggregate on quote volume instead of base volume.

direction
string
default:desc

[Optional] The order in which to return the results, ordered by volumeUSD (ascending or descending). By default, records are returned in descending order, so the records with the largest volume are returned first.

timeFormat
string

[Optional] Time format of the timestamps in the return payload.<BR/>[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200 - application/json

200

The response is of type object.