Hi!
I’m trying to get the AssetTicker for “Colombian peso”. I get the object from the lookup section, and this is the response:
{
“id”:"9f90a62a-d612-40e5-9a66-8782c17a5708"
“name”:“Colombian Peso”
“symbol”:“COP”
“status”:“ACTIVE”
“type”:“FIAT”
},
Then, I use the id: 9f90a62a-d612-40e5-9a66-8782c17a5708 in the AssetTicker endpoint but the response is an empty json with response status 200 OK.
It happens the same for EUR for example. Could you help me out with this?
Join in the discussion - add comment below:
Thanks so much for your clarification! it has been very helpful!
Hi Alex,
Thank you for your inquiry.
The API only returns datasets for cryptocurrency assets, BNC does not provide asset tickers for fiats.
We have UUID’s for fiats because they appear at market level as the quote currency for a market pair e.g. BTC/COP.
You can find out which markets BNC tracks for the Columbian Peso as example by using the Market lookup and providing the UUID for COP as the quoteAssetId. This currently returns 7 assets for which you can then determine the pair by checking the baseAssetId in the AssetById endpoint. This shows we have BTC/COP, XRP/COP, DAI/COP, ETH/COP, BCH/COP, LTC/COP and CNX/COP.
You can use the marketID for any of these to return market pricing from the DailyOHLCV endpoint.
If you’re only looking for a USD price for the Columbian Peso or Euro then sorry, we can’t really help, you’d need to find an API provider who can give you the forex rates for that.
Hope that helps clarify.
Best regards,
Brave New Coin Support