List assets
Build selectors and labels from the currencies, metals and crypto assets recognized by EXDZ.
GET
/v1/assetsReturns the asset directory in stable code order. Use the optional type filter to reduce the result.
Parameters
| Parameter | Type | Description |
|---|---|---|
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"
}
}