POST
/
core
/
assets
/
_mget
curl --request POST \
  --url https://api.enterprise.sandbox.uphold.com/core/assets/_mget \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "codes": [
    "BTC",
    "ETH"
  ]
}'
{
  "assets": {
    "BTC": {
      "code": "BTC",
      "name": "Bitcoin",
      "type": "crypto",
      "symbol": "₿",
      "decimals": 8,
      "logo": "https://cdn.uphold.com/assets/BTC.svg",
      "features": [
        "buy",
        "deposit",
        "sell",
        "transfer",
        "withdraw"
      ],
      "cooldowns": []
    },
    "ETH": {
      "code": "ETH",
      "name": "Ethereum",
      "type": "crypto",
      "symbol": "Ξ",
      "decimals": 18,
      "logo": "https://cdn.uphold.com/assets/ETH.svg",
      "features": [
        "buy",
        "deposit",
        "sell",
        "transfer",
        "withdraw"
      ],
      "cooldowns": []
    }
  }
}

If the authenticated subject is a user, the response will be contextualized accordingly. As an example, the features field will indicate the available features for the user.

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Body

application/json
codes
string[]
required

The asset codes to retrieve.

Response

200 - application/json
Assets retrieved.
assets
object
required