Excel Import CoinMarketCap API Data with Query

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • Import CoinmarketCap API cryptocurrency prices in Excel using a Web Query and have them refresh automatically at an interval of your choosing!
    ----
    The CoinMarketCap Pro API is a great source for cryptocurrency data on current and historical prices, exchange information and more. If it is your wish to use Excel to import CoinMarketCap API data, and have it updated live, look no further. In this video, I will show you how to use a query to import current prices into Excel and have them updated regularly using the methods shown in the Import JSON Data in Excel article. Be aware that this works best with Excel 2016 or greater, and doesn't work with Excel for Mac. If you are using Excel 2013 or prior, you will need to install Power Query before attempting these steps.
    ----
    Written tutorial: syntaxbytetutorials.com/excel...
  • НаукаНаука

Комментарии • 126

  • @kingsmeadow7487
    @kingsmeadow7487 2 года назад

    Thanks, this has been the simplest explanation with all the correct steps I have seen.

  • @gjmsouthafrica
    @gjmsouthafrica 3 года назад

    excellent. thanks. no music no fancy intros. just really good stuff.

  • @JibasJr
    @JibasJr 4 года назад +3

    Perfect! Just what I was looking for. Thank you

  • @fotalimark
    @fotalimark 2 года назад

    Fine sir, just used this tutorial to make an excellent portfolio viewer in Excel. Thank you for your wonderful work!

  • @RodrigoRGarcia
    @RodrigoRGarcia 2 года назад

    Just perfect. Straight to the point. Thank you

  • @VIREtaMigraine
    @VIREtaMigraine 3 года назад +1

    Thanks to you I have done my first API import, your explanation was perfect, many thanks :-)

    • @cryptorizon
      @cryptorizon 4 месяца назад

      haha ça m'a fat drôle de voir votre commentaire en premier.

  • @SeattleSpursFan1882
    @SeattleSpursFan1882 2 года назад +1

    Great tutorial. Very well explained. Thank you

  • @grandpascryptothoughts651
    @grandpascryptothoughts651 4 года назад

    Nice to see it is up to date and welldone explained.

  • @majindrive
    @majindrive 3 года назад

    This is awesome! thank you for sharing

  • @andrehatlo4681
    @andrehatlo4681 4 года назад +1

    Thank you !! You are a life saver

  • @RivaldoDeniz
    @RivaldoDeniz 3 года назад

    Dude, this was awesome. thank you

  • @MateusAlves-nz6gx
    @MateusAlves-nz6gx 3 года назад

    Obrigaaaaaado! Me ajudou muito esse video!
    Continue compartilhando conhecimento! #Brasil

  • @eiloco
    @eiloco 3 года назад

    Thx for the tutorial! U rock! S2

  • @yavuzhancanli4499
    @yavuzhancanli4499 3 года назад

    Thank you so much, very useful.

  • @wouter1602
    @wouter1602 2 года назад

    This worked really well, thanks!

  • @robertorizza9827
    @robertorizza9827 2 года назад

    Thank you for this video. It's perfect

  • @oguzhan467
    @oguzhan467 3 года назад

    Good job. Thank you!

  • @noskillnochill
    @noskillnochill 2 года назад

    you are the GOAT! TY!!

  • @cm3462
    @cm3462 3 года назад

    Awesome man thank you so much

  • @danci947
    @danci947 3 года назад

    Great video thanks

  • @DominicDallaire
    @DominicDallaire 4 года назад

    Thank you so much!

  • @FILLEREI
    @FILLEREI 3 года назад

    Good job, thx!

  • @evilgenius747
    @evilgenius747 2 года назад

    Thank you very much for this.

  • @celtichawks
    @celtichawks 3 года назад

    Thanks great video.

  • @crazitomali
    @crazitomali 3 года назад

    after you confirm, and everyting is workin fine, how do i go back in and add more coins later?

  • @bradswancutt2091
    @bradswancutt2091 3 года назад

    Thank you for this video. I've been using this logic for some time now. I just recently ran into an issue where "PLA" (PLAIR) is now the 2nd listed "PLA" token on coinmarketcap (due to it's Market Cap being lower than "PLA" (PLANET). So the logic above is now pulling price for Planet, instead of Plair. Any ideas how to fix that so it isolates on PLAIR? I tried adding PLAIR to the URL parts section, but that failed.

  • @JDGWI
    @JDGWI 4 года назад

    Thank you!!

  • @fabiocbe
    @fabiocbe Год назад

    Thanks .. was perfect

  • @MrOutPerform
    @MrOutPerform Год назад

    Helpful!

  • @decaolopes2981
    @decaolopes2981 2 года назад

    Thanks for that.

  • @chathuradilshan4361
    @chathuradilshan4361 3 года назад

    Thank You!

  • @shirleyjones9720
    @shirleyjones9720 3 года назад

    Thankyou so much

  • @hi23fi12bri
    @hi23fi12bri 3 года назад

    Great video, thanks. My problem is I only have Excel 2010 so I don't think Power Query will work.......?

  • @kartelkraft9264
    @kartelkraft9264 2 года назад

    This make me easier than use Google Drive Thank you

  • @Marcos-wh7tt
    @Marcos-wh7tt 2 года назад

    excellent. tks

  • @kryno4809
    @kryno4809 3 года назад +1

    Can I get the RON or USD with the same query? I mean.. I want to keep my evidence with an excel file. I made some math and now I would love to convert the final answear into RON. Can I just put RON, USD near BTC,LTC ?

  • @bradswancutt2091
    @bradswancutt2091 3 года назад

    Another question. I've built this on VMware Win10 on my Mac. So I edit it on VM Win10 and then move to Mac for daily use. Any Mac users out there know how to "Edit" the coin lists in Mac Excel?

  • @rorypower5494
    @rorypower5494 4 года назад

    A good video though no why i go a web.contents failed to get contents. registered as an attempt in coinmarket cap

  • @SemGabelko
    @SemGabelko 4 года назад

    Amazing

  • @DanielMcAteer
    @DanielMcAteer 2 года назад

    Beautiful

  • @holycow_productions
    @holycow_productions 2 года назад +1

    im getting DataSource.Error: The request was aborted: Could not create SSL/TLS secure channel . how to fix

  • @MrHanabil
    @MrHanabil 2 года назад

    Thank you for the explanation, please how do I add the rest of the currencies, at least the currencies I chose

  • @AhmadZaytoun
    @AhmadZaytoun 3 года назад

    can I do it the other way around? I have my transaction history from Binance and I want to import it to CoinMarket Cap. Is that possible?

  • @giugot87
    @giugot87 3 года назад

    very useful guide, thanks. After all the setup, how can I add new crypto currency in the table?

  • @MrBravemind78
    @MrBravemind78 4 года назад +4

    thank you so much for your support , i'would like to ask if i want to import all currencies not just BTC and LTC ,how can i do this?

    • @TK-nu5lq
      @TK-nu5lq 3 года назад

      I would like to know too if you’ve found out

  • @jacobholmgren751
    @jacobholmgren751 2 года назад +1

    Great stuff! How do I add more currency pairs in a easy way? Without having to import the data all over again and copy paste the API URL and key

  • @lakejeaz
    @lakejeaz 4 года назад +8

    This was great! Where's your crypto addresses for donation? Some of us may want to throw you a couple of sats for taking the time to make this awesome video and write up.

  • @alanstjohn8526
    @alanstjohn8526 3 года назад

    Is there a URL we can use to import all data related to all the coins listed on Coinmarketcap

  • @karcevgo
    @karcevgo 3 года назад

    Many thanks! How to import data from binance?

  • @Gszada
    @Gszada 3 года назад

    brilliant

  • @KolTregaskes
    @KolTregaskes 3 года назад

    I'm trying to use their API to get price change from BTC for all other coins, so how much has ETH, LTC etc. changed in 24h or 7d to BTC. Does anyone know how to do this? I'm sure the data is there in the listing/latest data but needs a formula?

  • @schubertma
    @schubertma 3 года назад

    Thanks! I just added &convert=EUR after the api link :-)

    • @hugofund3988
      @hugofund3988 3 года назад

      Hey, how did you do bro ? :-) can you please give more details

    • @schubertma
      @schubertma 3 года назад

      @@hugofund3988 sure, I would like to communicate in another messenger, any suggestions

  • @chiro-man2291
    @chiro-man2291 7 месяцев назад

    Excellent tutorial. Question: how do you ADD a crypto to the connection? so example, ETH needs to be added to BTC and LTC. Thank you!

  • @muuuictor
    @muuuictor 2 года назад

    So I did everything right, and I got the price of SLP updated every hour, but now I want to make a list with a new cell for every query made with the updated price, how can I achieve this?

  • @giandumas6942
    @giandumas6942 3 года назад

    Hello how do i add other coins if i successfully made the excel?

  • @serouslplay7243
    @serouslplay7243 3 года назад +1

    It only gives me "Record" for the value what have i done wrong

  • @slickxbt
    @slickxbt 3 года назад +3

    Hi, can I just ask how exactly do you use the convert function to get for instance GBP? Thank you and I appreciate your video!

    • @lewminati139
      @lewminati139 3 года назад

      George, did you ever find out how to get prices displayed in GBP?

    • @slickxbt
      @slickxbt 3 года назад

      @@lewminati139 Hello, yes, to do so you can type after "/latest" you add "?convert_id=2791" That would be the ID number for GBP, but if anyone needs a different currency just search it on their documentation and place it there. So the finished link should look like this: pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?convert_id=2791

    • @lewminati139
      @lewminati139 3 года назад

      @@slickxbt Thanks for your help. I can't seem to get this to work. The value.quote column just shows (Record) and not the actual value for some reason. I tried the example shown in the video and that worked OK earlier today. However even the example now only shows (Record). Don't understand what's gone wrong.

    • @slickxbt
      @slickxbt 3 года назад

      @@lewminati139 If you use my link it should give you the top 100 records, I wouldn't know how this would affect if you type in individual cryptos as I didn't figure out how to do 2 separate commands in the same line - that being retrieve x,y,z + convert

  • @PontificusPinion
    @PontificusPinion 4 года назад +1

    This is excellent, thank you. If I want the latest prices for ALL the coins, not just BTC and LTC, what do I enter instead the string instead of BTC,LTC?

    • @real_gazda
      @real_gazda 2 года назад

      I have the same question. Did you find out the answer?

    • @AyowumiOgunjobi
      @AyowumiOgunjobi 2 года назад

      You can simply add the tickers of the coins you want after "=". Example: latest?symbol=BTC,LTC,ADA,SHIB,DOGE,SOL

  • @MoayedJA
    @MoayedJA 3 года назад

    Thanks for the video. I'm having an issue however, I can't seem to extract the data without the dollar sign attached. That's making it difficult for me to make formulas. How can I extract the info without all the dollar sign?

    • @syntaxbyte
      @syntaxbyte  3 года назад

      That's odd as I haven't had that issue myself, but what you can do is another transformation step in the Query Editor to remove the first character. There is some info here: stackoverflow.com/questions/50133461/power-bi-remove-first-7-digits-of-string

  • @Pyxal
    @Pyxal 3 года назад

    Hey cheers for the tutorial, quick question - I have the table loaded in but when going to the query properties to try and set a time interval to see the latest values, I don't have all of the options show in the video. Any idea why that may be? tia

    •  2 года назад

      Table design > Refresh ↓ Connection Properties

    • @user-dp2yw2zh1k
      @user-dp2yw2zh1k Год назад

      @ may be you can help me: The update occurs 1 time per minute, but does not coincide with the minutes on the clock, for example, it is updated not at 06:01:00, but at 06:01:44, which is why there is no coincidence with the candles on the chart. Is there any way to fix this, please? And another question is, is it possible to output parameters such as maximum and minimum, opening and closing prices to Excel? Thanks.

  • @Elfig2011
    @Elfig2011 3 года назад

    I have Excel for mac , latest version and I cannot find this data web import, can you assist please? Thx!

    • @syntaxbyte
      @syntaxbyte  3 года назад

      Sorry, I believe the feature is only available on Windows for the time being.

  • @luucasrosa13
    @luucasrosa13 3 года назад +1

    TKS for the video, man i have a question, how i introduce more coins to spreadsheet. like ETH, LINK, others coins.

    • @Kirave0
      @Kirave0 3 года назад

      I would like to know how to get all coins from CMC.

  • @sanneruys2
    @sanneruys2 3 года назад

    Anyone knows how this works for Mac Os?

  • @BlackMamba-vl4ks
    @BlackMamba-vl4ks 3 года назад +3

    How would I go about adding new coins, without going through the whole process?

    • @celtichawks
      @celtichawks 3 года назад

      Where the example of BTC and LTC are selected, just add your other coins e.g. BTC, LTC, ETH, ADA. This should add them to the query, you can also do this within the query you have already created which may be easier but you will have to repeat the query steps as before.

  • @timgill7518
    @timgill7518 3 года назад

    Do you know how to do this for a specific exchange that are is listed on coinmarketcap?

    • @syntaxbyte
      @syntaxbyte  3 года назад

      Looks like you can use their /v1/exchange/market-pairs/latest endpoint to get a price at a specific exchange only, but it is only available on their standard plan and up.

  • @freestrike2000
    @freestrike2000 3 года назад

    Says couldn't authenticate with the credentials provided

  • @malthus101
    @malthus101 3 года назад

    How do you share this worksheet for others to use and share around with others, but without sharing the API key? thx

    • @syntaxbyte
      @syntaxbyte  3 года назад

      You would need to put the key in the sheet and then make a separate query for that that's linked to from the main query. Or I think the query has a parameters option but it's not as flexible. I show something similar to the first option in my forex exchange rate video.

  • @kelloggfan
    @kelloggfan 3 года назад

    my problem is some coins are 0.000001345 and the price does not come through...it just comes through as 0

  • @ALIHASAN-zs8yl
    @ALIHASAN-zs8yl 3 года назад

    thanks, but i follow as you said and i got all data but the price stuck at 2013 and i din't get any update

    • @syntaxbyte
      @syntaxbyte  3 года назад

      Are you using a demo of some sort? I think they have a demo offering that has a sample of old data.

  • @kiranpatil2924
    @kiranpatil2924 Год назад

    Any idea How to Import the Watchlist from CMC to Excel,, I have many watchlist need to import them to excel.. Please help

    • @syntaxbyte
      @syntaxbyte  Год назад

      I took a quick look at the API but I'm don't think there is unfortunately. Doesn't appear to be a way to get CMC user data.

  • @viktorbohm5963
    @viktorbohm5963 11 месяцев назад

    how do i add additional crypto currencies?

  • @vikingwarriorinfo
    @vikingwarriorinfo 3 года назад

    Keeps giving me this, Details: "Specified value has invalid HTTP Header characters.
    Parameter name: name". I am using the free version, used both, X-CMC_PRO_API_KEY and X-CMC_FREE_API_KEY NO WORKIE...

  • @qoopaHD
    @qoopaHD 4 года назад

    Thanks a lot, question how do i do it if i want EUR instead if USD?

    • @syntaxbyte
      @syntaxbyte  4 года назад

      You need to use the convert option

    • @lordsnickers5
      @lordsnickers5 3 года назад

      @@syntaxbyte could you explain that more detailed please? thank you very much!

  • @user-dp2yw2zh1k
    @user-dp2yw2zh1k Год назад

    The update occurs 1 time per minute, but does not coincide with the minutes on the clock, for example, it is updated not at 06:01:00, but at 06:01:44, which is why there is no coincidence with the candles on the chart. Is there any way to fix this, please? And another question is, is it possible to output parameters such as maximum and minimum, opening and closing prices to Excel? Thanks.

    • @syntaxbyte
      @syntaxbyte  Год назад

      I think that's just the way that the update functionality works. If you want it to work a different way, you would probably need to use VBA to schedule the updates instead.

  • @Crypt-Hoe
    @Crypt-Hoe 3 года назад

    hmmm the tabs under query > properties are not appearing for me...🤔

    • @Crypt-Hoe
      @Crypt-Hoe 3 года назад

      Ah nevermind...Data tab > Connections > Workbook Connections > Properties
      Slightly different

  • @tony34031
    @tony34031 3 года назад

    Hi, I'm new to this, can you please help me. Trying to get the fee API from coinmarketcap, but when I click on Basic plan and on "Get free API key" the site returns me this "Your CMC account needs to be registered for API access. Please use the signup link with this same email/password.". The signup link is nowhere to be seen. Where do I register so that I can get the free API key?

    • @syntaxbyte
      @syntaxbyte  3 года назад

      Are you already logged into CMC when doing this? If not, trying logging in beforehand. Otherwise, try logging out and trying again. If both those fail, contact CMC as I'm not familiar with the in and outs of their API sign up process.

    • @pawegawronski1576
      @pawegawronski1576 3 года назад

      I had the same problem. I used another web browser (edge instead of opera) and it worked.

  • @Skrotetor
    @Skrotetor 4 года назад

    Unable to connect
    We encountered an error while trying to connect.
    Details: "The 'X-CMC_PRO_API_KEY' header is only supported when connecting anonymously. These headers can be used with all authentication types: Accept, Accept-Charset, Accept-Encoding, Accept-Language, Cache-Control, Content-Type, If-Modified-Since, Prefer, Range, Refer"
    Can't get past this screen

    • @syntaxbyte
      @syntaxbyte  4 года назад +1

      Is this error from Excel? It's probably because you chose some other authentication type than anonymous on the dialog shown at 2:50. It might be remembering your decision so it may not be showing the box but still using incorrect settings. I would try a new sheet or resetting you Excel settings. Otherwise, just pass the API key in the URL as a GET parameter instead by using CMC's "convenience" method shown in their docs.

    • @Skrotetor
      @Skrotetor 4 года назад

      @@syntaxbyte thanks! Will try that

    • @pawegawronski1576
      @pawegawronski1576 3 года назад

      @@syntaxbyte I have the same problem. I tried new xls. Doesnt work. What can I do?

  • @negociosonline40
    @negociosonline40 3 года назад

    Você tem mais vídeo ensinando a usar a api da coinmarketcap?

  • @desilette83
    @desilette83 3 года назад

    holy moly, good tut, but you ran so fast trough it, i had to stop and reroll like 50 times

  • @nesa1126
    @nesa1126 2 года назад

    Where do you even get that link? Nobody explains that..

    • @syntaxbyte
      @syntaxbyte  2 года назад

      You can get it from the API docs.

  • @thecoooollove
    @thecoooollove 3 года назад

    The amount of love sent over to you is un-weighted, you saved me from tons of Search and work

  • @Revolg88
    @Revolg88 4 месяца назад

    Yo. this video is awesome. BTC at 9K? lol. Hope everyone held.
    Anyone know to do this with UCID on coinmarketcap instead of symbol? For example want to add Zyncoin but Zyn comes up as zynecoin, which is incorrect

  • @muneebshafique
    @muneebshafique 3 года назад

    Where is the API key?

    • @syntaxbyte
      @syntaxbyte  3 года назад

      You need to sign up for your own, on the coinmarketcap site. Once you have done so the API key is on the dashboard page.

  • @malthus101
    @malthus101 3 года назад

    Man your video has so many landmines... once clicked, no return! Go back to start and try again....

    • @syntaxbyte
      @syntaxbyte  3 года назад

      In power query you can undo steps by using the step list on the right

  • @CozmoNz
    @CozmoNz 3 года назад +1

    9711.. JESUS CHRIST MAN

  • @LPxero
    @LPxero 3 года назад

    Thanks, Didn't work.

  • @Dexox2009
    @Dexox2009 3 года назад

    Virus in written tutorial !!

    • @syntaxbyte
      @syntaxbyte  3 года назад

      What software told you there was a virus? There are no viruses on the site that I'm aware of.

  • @michealscarn6431
    @michealscarn6431 4 года назад

    Hey I have a question, how do I pull the data for the entire day of the crypto currency

    • @syntaxbyte
      @syntaxbyte  4 года назад

      You need the historical quotes option, which is paid unfortunately: coinmarketcap.com/api/documentation/v1/#operation/getV1CryptocurrencyQuotesHistorical