Details

Get information about an asset

get
Asset Details

https://api.cryptowat.ch/assets/:asset
Gets the id, symbol, name, and markets for the given asset. Markets are broken into base and quote, whichever the asset represents in the pair. "fiat" is true when the asset is fiat currency (such as usd, and false when it is a cryptocurrency.
Request
Response
Request
Path Parameters
asset
required
string
Asset symbol
Response
200: OK
https://api.cryptowat.ch/assets/btc
{
"result": {
"id": 60,
"symbol": "btc",
"name": "Bitcoin",
"fiat": false,
"markets": {
"base": [
{
"id": 181,
"exchange": "gemini",
"pair": "btcusd",
"active": true,
"route": "https://api.cryptowat.ch/markets/gemini/btcusd"
},
{
"id": 231,
"exchange": "796",
"pair": "btcusd-weekly-futures",
"active": false,
"route": "https://api.cryptowat.ch/markets/796/btcusd-weekly-futures"
},
// …
],
"quote": [
{
"id": 5307,
"exchange": "gemini",
"pair": "ltcbtc",
"active": true,
"route": "https://api.cryptowat.ch/markets/gemini/ltcbtc"
},
{
"id": 182,
"exchange": "gemini",
"pair": "ethbtc",
"active": true,
"route": "https://api.cryptowat.ch/markets/gemini/ethbtc"
},
// …
]
}
}
}
404: Not Found
{
"error": "Asset not found"
}