POST
/
getTradeVolume
curl --request POST \
  --url https://gateway.finhub.cloud/crypto/getTradeVolume \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "pair": "XBTUSD"
}'
{
  "error": [],
  "result": {
    "currency": "ZUSD",
    "volume": "200709587.4223",
    "fees": {
      "XXBTZUSD": {
        "fee": "0.1000",
        "minfee": "0.1000",
        "maxfee": "0.2600",
        "tiervolume": "10000000.0000"
      }
    },
    "fees_maker": {
      "XXBTZUSD": {
        "fee": "0.0000",
        "minfee": "0.0000",
        "maxfee": "0.1600",
        "tiervolume": "10000000.0000"
      }
    }
  }
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Content-Type
string

Body

application/json ยท object

The body is of type object.

Response

200 - application/json

The response is of type object.