GET /v1/assets

Returns the asset directory in stable code order. Use the optional type filter to reduce the result.

Required entitlement
assets:read Asset directory
Bearer key required · JSON · v1

Parameters

Parameter Type Description
type optional string

Return only one asset class: currency, metal or crypto.

type optional
string

Return only one asset class: currency, metal or crypto.

Example request

curlCurrency assets
curl "https://api.exchangedz.com/v1/assets?type=currency" \
  -H "Authorization: Bearer $EXDZ_API_KEY"

Response

json200 OK
{
  "data": [
    {
      "code": "EUR",
      "symbol": "€",
      "names": { "en": "Euro", "fr": "Euro", "ar": "يورو" },
      "type": "currency"
    }
  ],
  "meta": {
    "requestId": "req_01J6EXDZ...",
    "count": 1,
    "type": "currency"
  }
}
code
Stable uppercase asset identifier used by the rate endpoints.
symbol
Display symbol supplied for product interfaces.
names
Localized English, French and Arabic names.
type
One of currency, metal or crypto.