Hello, I am trying to track btc price in czk since it is stopped working some time ago. Coin gecko supports that.
When I put “bitcoin” Symbol in Historical Quotes it goes to:
https://api.coingecko.com/api/v3/coins/don-t-sell-your-bitcoin/market_chart?vs_currency=CZK&days=62&interval=daily
and returns the incorrect prices. The correct API which works is actually:
https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=CZK&days=61&interval=daily
Can this be fixed? Can I change the API call URL somewhere? OR is there any alternative for my case?
Thank you.
Rafa
2
Kindly share a screenshot where you’ve seen the first URL. Upon the coding at Github, only https://api.coingecko.com/api/v3/coins/bitcoin/market_chart is used.
when Symbol - bitcoin
when Symbol - btc
Both return incorrect prices and have strange URLs.
What do you think the CoinID field is for?
Use it in the right way and you get correct responses.
https://api.coingecko.com/api/v3/coins/list
2 Likes