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

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

pair
string

[Optional] The pair for which to retrieve the most current data (ie. btc_usd, eth_usd, etc.).<BR/>[Default] All available pairs.

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.