On this page
Check Asset
Check if a specific asset is currently available and obtain its details
HTTP Request:
GET /available/all/{code}
HTTP Request Example:
GET /available/all/EUR
GET /available/all/USD
Common Errors:
- 404, “ASSET_NOT_FOUND”
Example of successful response:
{
"success": true,
"lastUpdate": "2024-08-26T13:20:28.292761976Z",
"data": {
"code": "EUR",
"name": "Euro",
"decimalPlaces": 2,
"symbol": "€",
"type": "currency"
}
}
Field | Type | Description |
---|---|---|
“success” | Boolean | HTTP Request is successful, if it’s false you have to handle the error |
“data” | Object | |
“data”, “code” | String | Listing code of the asset |
“data”, “name” | String | Name of the asset |
“data”, “decimalPlaces” | Integer | Minimum sub-unit of the asset |
“data”, “symbol” | String | Graphic symbol of the asset |
“data”, “type” | String enum | Kind of asset, can be currency , crypto , material |