How to request the data of only one cryptocurrency using CoinMarketCap api

0 votes
I know how to request data of many cryptocurrencies using CoinMarketCap API by setting start and limit params but, it is possible to request the data of only one cryptocurrency? for example bitcoin. I can do it iterating the list of the result that I obtain by making a request with start and limit params but I wouldn't like to do it for obvious performance reasons. I just don't find the endpoint to do it in coinmarketcap´s API documentation
Apr 5, 2022 in Blockchain by Rahul
• 9,680 points
1,868 views

1 answer to this question.

0 votes

If you want to get the price data:

url = 'https://pro-api.coinmarketcap.com/v1/tools/price-conversion' 

parameters = {
'Amount':'1',
'symbol':'BTC', 
'convert':'USD' } 

headers = { 
'Accepts': 'application/json', 
'X-CMC_PRO_API_KEY': CMC_KEY, 

}

Get your API key: https://pro.coinmarketcap.com/

Hope this helps!

Enroll in blockchain training to learn from the expert!

answered Apr 7, 2022 by Aditya
• 7,680 points

Related Questions In Blockchain

0 votes
1 answer

How to check the data integrity logic in proof of work mining?

The proof of work is actually works ...READ MORE

answered May 8, 2018 in Blockchain by Johnathon
• 9,090 points
807 views
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,435 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,928 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,456 views
0 votes
1 answer

Is there a way to get the market cap or market cap rank of a coin using the Binance API?

This is how I did so: https://www.binance.com/exchange-api/v2/public/asset-service/product/get-products Get this ...READ MORE

answered Apr 6, 2022 in Blockchain by Aditya
• 7,680 points
2,948 views
0 votes
1 answer

On-Chain NFT: How to store a pixel image on the ethereum blockchain?

The images are usually not stored in ...READ MORE

answered Feb 24, 2022 in Blockchain by Aditya
• 7,680 points
1,115 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP