POST
/
assetInfo
curl --request POST \
  --url https://gateway.finhub.cloud/crypto/assetInfo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "asset": "NANO,USD,ADA",
  "aclass": "currency"
}'
{
  "error": [],
  "result": {
    "ADA": {
      "aclass": "currency",
      "altname": "ADA",
      "decimals": 8,
      "display_decimals": 6
    },
    "NANO": {
      "aclass": "currency",
      "altname": "NANO",
      "decimals": 10,
      "display_decimals": 5
    },
    "ZUSD": {
      "aclass": "currency",
      "altname": "USD",
      "decimals": 4,
      "display_decimals": 2
    }
  }
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json ยท object

The body is of type object.

Response

200 - application/json

The response is of type object.