Python RapidAPI
API Practices
• 16 min read
- Python, RapidAPI Terms
- Covid19 RapidAPI Example
- Digital Coin Example
- Formatting Digital Coin example
- Go deeper into APIs
- Hacks
APIs can be found all over the internet. A great consolidator of many APIs is RapidAPI. In this blog we will use a site to consolidates API stats. Learning a few lines of code and you can start extracting lots of data from the internet via APIs.
Covid19 RapidAPI Example
To begin the API journey. You need to find an API provider.
- RapidAPI is a great option. You must setup and account, but there are many free options.
- Goto this page for starters, the Corona virus World and India data- Under Code Snippets pick Python - Requests
RapidAPI, you will select Python Requests type of code to work with you Notebook.
- The url is the endpoint to which the API is directed
- The headers is a dictionary data structure to send special messaging to the endpoint
- The requests.request() python function is used to send a request and retrieve their responses
- The response variable receives result of of the request in JSON text
Next step, is to format the response according to your data science needs
import requests
url = "https://videogames-news2.p.rapidapi.com/videogames_news/search_news"
querystring = {"query":"GTA"}
headers = {
"X-RapidAPI-Key": "ac19fd0e7fmsh8aa74f832776d76p1f560ejsnb4ec82e7696c",
"X-RapidAPI-Host": "videogames-news2.p.rapidapi.com"
}
response = requests.request("GET", url, headers=headers, params=querystring)
print(response.text)
[{"title":"GTA: Vice City's Secret Scarface Room Explained","date":"Sun, 09 Oct 2022 13:15:13 GMT","description":"The Apartment 3C in GTA: Vice City is one of its best special locations, containing a reference to one of Scarface's most infamous scenes.","image":"https://static1.srcdn.com/wordpress/wp-content/uploads/2022/09/GTA-VICE-CITY-APARTMENT-3C.jpg","link":"https://screenrant.com/gta-vice-city-scarface-room-chainsaw-easter-egg/"},{"title":"How GTA 6 Can Improve The Series’ Signature Crime Sprees","date":"Sat, 08 Oct 2022 21:00:13 GMT","description":"Grand Theft Auto's cops are often more of an obstacle than they need to be. GTA 6 could make them easier and more enjoyable to deal with in a chase.","image":"https://static1.srcdn.com/wordpress/wp-content/uploads/2022/10/gta-6-cop-chase-changes.jpg","link":"https://screenrant.com/gta-6-series-crime-sprees-heist-missions-cops/"},{"title":"GTA 5 mod adds huge San Andreas map to Rockstar sandbox game","date":"Fri, 07 Oct 2022 11:21:43 +0100","description":"A GTA 5 mod improves and enlarges the classic Rockstar sandbox game by incorporating a huge section of the original San Andreas map into Los Santos, something to check out and get your teeth into as we wait on that coveted GTA 6 release date.","image":"https://www.pcgamesn.com/wp-content/sites/pcgamesn/2022/10/gta-5-mod-san-andreas-map.jpg","link":"https://www.pcgamesn.com/grand-theft-auto-v/san-andreas-map-mod"},{"title":"Pop Culture References You Likely Missed In GTA: San Andreas","date":"Thu, 06 Oct 2022 16:30:13 GMT","description":"Rockstar is known for loading their Grand Theft Auto games with pop culture references, but did you spot these ones in GTA San Andreas?","image":"https://static1.thegamerimages.com/wordpress/wp-content/uploads/2022/10/Pop-Culture-References-You-Missed-in-GTA-SA.jpg","link":"https://www.thegamer.com/gta-san-andreas-pop-culture-references-easter-eggs-secrets/"},{"title":"This Atari 2600 gaming PC can run The Witcher 3 and GTA 5","date":"Thu, 06 Oct 2022 16:31:14 +0100","description":"A custom gaming PC enthusiast has transformed an old Atari 2600 into a modern system, and it trades classic games for contemporary releases like GTA 5 and The Witcher 3. The retro console originally arrived in 1977, but cramming a motherboard, RAM, and an AMD gaming CPU into its ancient shell could extend its life tenfold.","image":"https://www.pcgamesn.com/wp-content/sites/pcgamesn/2022/10/atari-2600-custom-gaming-pc.jpg","link":"https://www.pcgamesn.com/atari-2600-gaming-pc-the-witcher-3-gta-5"},{"title":"GTA 5’s Trevor, Steven Ogg, sends “annoyed, berating” vid to GTA 6 fan","date":"Thu, 06 Oct 2022 12:39:31 +0100","description":"GTA 5 Trevor actor Steven Ogg has sent a Cameo video to one Rockstar fan who describes his response as “annoyed” and “berating”. The performer was asked to record a message for the GTA 6 characters Jason and Lucia warning them about the dangers of Vice City in the upcoming sandbox game.","image":"https://www.pcgamesn.com/wp-content/sites/pcgamesn/2022/10/gta-5-trevor-steven-ogg-gta-6-cameo.jpg","link":"https://www.pcgamesn.com/grand-theft-auto-v/trevor-steven-ogg-cameo-gta-6"},{"title":"GTA Online weekly update adds new car, the Audi R8 style Obey 10F","date":"Thu, 06 Oct 2022 12:40:35 +0100","description":"The GTA Online weekly update is here, and the week of October 6 sees Rockstar add another new car, the Audi R8-style Obey 10F, to its online multiplayer game. The new addition continues the rollout of cars from the Grand Theft Auto 5 Criminal Enterprises update. The full patch notes from Rockstar are due later, but we’ve got all the details right here, so read on to find out what’s going on in the crime game for the week of October 6-12.","image":"https://www.pcgamesn.com/wp-content/sites/pcgamesn/2022/10/gta-5-online-weekly-update-october-6-new-car-obey-10f-audi-r8-rockstar.jpg","link":"https://www.pcgamesn.com/grand-theft-auto-v/gta-online-weekly-update-october-6"},{"title":"GTA podium car: here’s what vehicle you can win in GTA Online","date":"Thu, 06 Oct 2022 12:36:55 +0100","description":"What is the GTA podium car this week? GTA Online vehicles are expensive things, so we're happy to take a spin on the Diamond Casino's Lucky Wheel to get a discount. Winning isn't guaranteed, sure, but it isn't out of the question either. Look, we don't have a problem - leave it alone. Finding out what the GTA Online podium car is simple enough - it's winning it that's the challenge. You can spin the Diamond Casino's Lucky Wheel once a day, and each Podium Car refreshes after seven days on a Thursday. Basically, you have seven shots to get the vehicle of that given week. If you own a Penthouse, you can spin it for free, but if you don't it's $500 a spin. Don't fret if you don't win, as you can try for something else. You have a one in 20 chance of getting the podium vehicle, a car discount, or a mystery prize. There's a four in 20 chance of getting clothes, chips, and cash. Finally, there's a five in 20 chance of getting RP. On that note, here's everything you need to know about this week's GTA podium car.","image":"https://www.pcgamesn.com/wp-content/sites/pcgamesn/2020/03/gta-5-podium-car-online.jpg","link":"https://www.pcgamesn.com/grand-theft-auto-v/gta-5-podium-car-online"},{"title":"You Can Only Complete GTA V If You Kill At Least 96 People","date":"Wed, 05 Oct 2022 15:35:07 +0000","description":"Matthew Judge, or Twitch streamer and YouTube creator DarkViperAU, has been working on his “pacifist run” of GTA V for three years. You might know “pacifism” as abhorring all violence, but pacifist video game runs have a more Machiavellian approach to world peace: It’s okay to kill, as long as the killing is a... Read more...","image":"https://i.kinja-img.com/gawker-media/image/upload/s--QRoXbHqU--/c_fit,fl_progressive,q_80,w_636/6b8e074d87f6aa82667c79affb24559f.jpg","link":"https://kotaku.com/gta-v-pacifist-run-youtube-twitch-darkviperau-1849619220"},{"title":"12 Best Custom Game Modes In GTA 5","date":"Wed, 05 Oct 2022 15:16:13 GMT","description":"These custom game modes add new ways to play GTA 5.","image":"https://static1.thegamerimages.com/wordpress/wp-content/uploads/2022/01/game2-2.jpg","link":"https://www.thegamer.com/best-custom-game-modes-gta-5/"}]
import requests
url = "https://videogames-news2.p.rapidapi.com/videogames_news/search_news"
querystring = {"query":"GTA"}
headers = {
"X-RapidAPI-Key": "ac19fd0e7fmsh8aa74f832776d76p1f560ejsnb4ec82e7696c",
"X-RapidAPI-Host": "videogames-news2.p.rapidapi.com"
}
response = requests.request("GET", url, headers=headers, params=querystring)
print("Game Statistics")
gamestats = response.json()
for stats in gamestats:
print(stats["title"], "=", stats["description"])
print()
Game Statistics GTA: Vice City's Secret Scarface Room Explained = The Apartment 3C in GTA: Vice City is one of its best special locations, containing a reference to one of Scarface's most infamous scenes. How GTA 6 Can Improve The Series’ Signature Crime Sprees = Grand Theft Auto's cops are often more of an obstacle than they need to be. GTA 6 could make them easier and more enjoyable to deal with in a chase. GTA 5 mod adds huge San Andreas map to Rockstar sandbox game = A GTA 5 mod improves and enlarges the classic Rockstar sandbox game by incorporating a huge section of the original San Andreas map into Los Santos, something to check out and get your teeth into as we wait on that coveted GTA 6 release date. Pop Culture References You Likely Missed In GTA: San Andreas = Rockstar is known for loading their Grand Theft Auto games with pop culture references, but did you spot these ones in GTA San Andreas? This Atari 2600 gaming PC can run The Witcher 3 and GTA 5 = A custom gaming PC enthusiast has transformed an old Atari 2600 into a modern system, and it trades classic games for contemporary releases like GTA 5 and The Witcher 3. The retro console originally arrived in 1977, but cramming a motherboard, RAM, and an AMD gaming CPU into its ancient shell could extend its life tenfold. GTA 5’s Trevor, Steven Ogg, sends “annoyed, berating” vid to GTA 6 fan = GTA 5 Trevor actor Steven Ogg has sent a Cameo video to one Rockstar fan who describes his response as “annoyed” and “berating”. The performer was asked to record a message for the GTA 6 characters Jason and Lucia warning them about the dangers of Vice City in the upcoming sandbox game. GTA Online weekly update adds new car, the Audi R8 style Obey 10F = The GTA Online weekly update is here, and the week of October 6 sees Rockstar add another new car, the Audi R8-style Obey 10F, to its online multiplayer game. The new addition continues the rollout of cars from the Grand Theft Auto 5 Criminal Enterprises update. The full patch notes from Rockstar are due later, but we’ve got all the details right here, so read on to find out what’s going on in the crime game for the week of October 6-12. GTA podium car: here’s what vehicle you can win in GTA Online = What is the GTA podium car this week? GTA Online vehicles are expensive things, so we're happy to take a spin on the Diamond Casino's Lucky Wheel to get a discount. Winning isn't guaranteed, sure, but it isn't out of the question either. Look, we don't have a problem - leave it alone. Finding out what the GTA Online podium car is simple enough - it's winning it that's the challenge. You can spin the Diamond Casino's Lucky Wheel once a day, and each Podium Car refreshes after seven days on a Thursday. Basically, you have seven shots to get the vehicle of that given week. If you own a Penthouse, you can spin it for free, but if you don't it's $500 a spin. Don't fret if you don't win, as you can try for something else. You have a one in 20 chance of getting the podium vehicle, a car discount, or a mystery prize. There's a four in 20 chance of getting clothes, chips, and cash. Finally, there's a five in 20 chance of getting RP. On that note, here's everything you need to know about this week's GTA podium car. You Can Only Complete GTA V If You Kill At Least 96 People = Matthew Judge, or Twitch streamer and YouTube creator DarkViperAU, has been working on his “pacifist run” of GTA V for three years. You might know “pacifism” as abhorring all violence, but pacifist video game runs have a more Machiavellian approach to world peace: It’s okay to kill, as long as the killing is a... Read more... 12 Best Custom Game Modes In GTA 5 = These custom game modes add new ways to play GTA 5.
"""
Requests is a HTTP library for the Python programming language.
The goal of the project is to make HTTP requests simpler and more human-friendly.
"""
import requests
"""
RapidAPI is the world's largest API Marketplace.
Developers use Rapid API to discover and connect to thousands of APIs.
"""
url = "https://corona-virus-world-and-india-data.p.rapidapi.com/api"
headers = {
'X-RapidAPI-Key': "ac19fd0e7fmsh8aa74f832776d76p1f560ejsnb4ec82e7696c",
'x-rapidapi-host': "corona-virus-world-and-india-data.p.rapidapi.com"
}
# Request Covid Data
response = requests.request("GET", url, headers=headers)
print(response.json) # uncomment this line to see raw data
# This code looks for "world data"
print("World Totals")
world = response.json().get('world_total') # turn response to json() so we can extract "world_total"
for key, value in world.items(): # this finds key, value pairs in country
print(key, value)
print()
# This code looks for USA in "countries_stats"
print("Country Totals")
countries = response.json().get('countries_stat')
for country in countries: # countries is a list
if country["country_name"] == "USA": # this filters for USA
for key, value in country.items(): # this finds key, value pairs in country
print(key, value)
<bound method Response.json of <Response [200]>> World Totals total_cases 509,268,964 new_cases 204,268 total_deaths 6,242,509 new_deaths 630 total_recovered 461,827,849 active_cases 41,198,606 serious_critical 42,510 total_cases_per_1m_population 65,334 deaths_per_1m_population 800.9 statistic_taken_at 2022-04-24 11:18:01 Country Totals country_name USA cases 82,649,779 deaths 1,018,316 region total_recovered 80,434,925 new_deaths 0 new_cases 0 serious_critical 1,465 active_cases 1,196,538 total_cases_per_1m_population 247,080 deaths_per_1m_population 3,044 total_tests 1,000,275,726 tests_per_1m_population 2,990,303
# RapidAPI page https://rapidapi.com/Coinranking/api/coinranking1/
# Begin Rapid API Code
import requests
url = "https://coinranking1.p.rapidapi.com/coins"
querystring = {"referenceCurrencyUuid":"yhjMzLPhuIDl","timePeriod":"24h","tiers[0]":"1","orderBy":"marketCap","orderDirection":"desc","limit":"50","offset":"0"}
headers = {
"X-RapidAPI-Key": "ac19fd0e7fmsh8aa74f832776d76p1f560ejsnb4ec82e7696c", # place your key here
"X-RapidAPI-Host": "coinranking1.p.rapidapi.com"
}
response = requests.request("GET", url, headers=headers, params=querystring)
print(response.text)
# End Rapid API Code
json = response.json() # convert response to python json object
print()
# Observe data from an API. This is how data transports over the internet in a "JSON" text form
# - The JSON "text" is formed in dictionary {} and list [] divisions
# - To read the result, Data Scientist of Developer converts JSON into human readable form
# - Review the first line, look for the keys -- "status" and "data"
{"status":"success","data":{"stats":{"total":1505,"totalCoins":21284,"totalMarkets":29577,"totalExchanges":172,"totalMarketCap":"939379912284","total24hVolume":"56572270932"},"coins":[{"uuid":"Qwsogvtv82FCd","symbol":"BTC","name":"Bitcoin","color":"#f7931A","iconUrl":"https://cdn.coinranking.com/bOabBYkcX/bitcoin_btc.svg","marketCap":"365997041831","price":"19085.743857811227","listedAt":1330214400,"tier":1,"change":"-1.07","rank":1,"sparkline":["19228.78517932017","19232.36995743221","19244.376979982695","19190.592852585458","19168.869483367143","19091.713519378012","19042.406095015638","19019.747621924824","19049.056822459388","19045.96801127615","19042.608213471252","19043.45866997294","19064.926997375303","19090.99982293212","19109.68555965529","19070.852114461297","19069.246735001696","19093.030102267687","19161.38971923998","19118.481205171185","19027.919959998057","19081.85613879052","19110.882168507684","19137.718506985715","19109.09675626354"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Qwsogvtv82FCd+bitcoin-btc","24hVolume":"30625063164","btcPrice":"1"},{"uuid":"razxDUgYGNAdQ","symbol":"ETH","name":"Ethereum","color":"#3C3C3D","iconUrl":"https://cdn.coinranking.com/rk4RKHOuW/eth.svg","marketCap":"157500545558","price":"1286.9046397220995","listedAt":1438905600,"tier":1,"change":"-1.83","rank":2,"sparkline":["1308.3644329482615","1308.3159170926947","1307.0327842183833","1298.99291471713","1294.212878178208","1283.011876764807","1278.5431462688186","1275.639161926372","1279.004230112101","1277.7220277125314","1276.3811946063822","1276.07174486285","1279.0758808821115","1284.454067995026","1285.3905176691258","1281.1767613230115","1282.1974276518094","1283.0084527329363","1286.8784143514208","1282.7945607052388","1281.0233573736928","1287.4770095127094","1291.269353011654","1293.3322749295176","1289.622481453198"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/razxDUgYGNAdQ+ethereum-eth","24hVolume":"9403800506","btcPrice":"0.06742753383412971"},{"uuid":"HIVsRcGKkPFtW","symbol":"USDT","name":"Tether USD","color":"#22a079","iconUrl":"https://cdn.coinranking.com/mgHqwlCLj/usdt.svg","marketCap":"68463069616","price":"1.0006023005632279","listedAt":1420761600,"tier":1,"change":"0.13","rank":3,"sparkline":["1.000395074548081","0.9998746392885609","0.999945178712566","1.0014671364889456","1.0003006921569195","1.0016851560537676","1.0002458009496802","1.0001822657172743","0.9995576670191739","1.000114862973942","0.9997887432499832","0.9997313924841553","0.999589191910176","0.9994413258949213","1.0001150324469523","1.000200259383141","0.998773334734322","0.9991455318338258","0.9982175595526835","1.0001118724221494","1.0006060318968737","0.9988590260062908","0.9991064993521941","0.9993952892217945","1.0004551852587298"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/HIVsRcGKkPFtW+tetherusd-usdt","24hVolume":"36955166397","btcPrice":"0.000052426686013273"},{"uuid":"aKzUVe4Hh_CON","symbol":"USDC","name":"USDC","color":"#7894b4","iconUrl":"https://cdn.coinranking.com/jkDf8sQbY/usdc.svg","marketCap":"46032558303","price":"1.0002603973645283","listedAt":1539043200,"tier":1,"change":"0.07","rank":4,"sparkline":["1.0004343907242135","0.9999612214715823","0.9999605873903916","1.00143701231085","1.0002586934597133","1.0016940147033666","1.000257808119593","1.0002047659500999","0.9995424058922704","1.000105638253644","0.9997953284669941","0.9998962941233634","0.9998037147979105","0.999591487622467","1.000225784090609","1.000332131913597","0.9989947749487212","0.9993428129095292","0.9981353438949271","1.000253034647519","1.0010399865139135","0.9992861458828927","0.9991888116700066","0.9996293234849074","1.0005111736830994"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/aKzUVe4Hh_CON+usdc-usdc","24hVolume":"3085758948","btcPrice":"0.000052408771951278"},{"uuid":"WcwrkfNI4FUAe","symbol":"BNB","name":"Binance Coin","color":"#e8b342","iconUrl":"https://cdn.coinranking.com/B1N19L_dZ/bnb.svg","marketCap":"39436973039","price":"272.2123387329202","listedAt":1503014400,"tier":1,"change":"-0.88","rank":5,"sparkline":["274.268689864955","274.6611942197648","274.90022168069123","273.7884661628567","272.70551424962446","270.5394162473689","269.62983165540277","269.1795093608104","270.0747658205182","269.9303886663819","269.79312934404896","270.0275570308465","270.80074390751804","270.95941015956373","271.1484809382943","270.9706000014376","271.0002777234075","271.38779998865596","272.34976990030674","272.0974182155404","271.4852778466968","272.0563503181813","272.69703993102934","273.02140215557563","272.6996411826574"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/WcwrkfNI4FUAe+binancecoin-bnb","24hVolume":"715233778","btcPrice":"0.01426260043941184"},{"uuid":"-l8Mn2pVlRs-p","symbol":"XRP","name":"XRP","color":"#000000","iconUrl":"https://cdn.coinranking.com/B1oPuTyfX/xrp.svg","marketCap":"24535070423","price":"0.4920932873903329","listedAt":1421798400,"tier":1,"change":"-6.48","rank":6,"sparkline":["0.522549947962914","0.5219124183283641","0.5202283581060396","0.5088385279207295","0.5009036454153956","0.49348515205779536","0.4969793781300753","0.4940210762524899","0.49363059140876053","0.49306709600860854","0.4932263374496372","0.48894252748704237","0.4882753373071195","0.48947956472885856","0.48832713288971713","0.4819580089516482","0.4826820441558592","0.48469410046598205","0.48940257324836683","0.490322714028929","0.49205379614231465","0.496404718269486","0.4963641648199512","0.4988373103209433","0.4943026864687613"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/-l8Mn2pVlRs-p+xrp-xrp","24hVolume":"2694381404","btcPrice":"0.000025783290976575"},{"uuid":"vSo2fu9iE1s0Y","symbol":"BUSD","name":"Binance USD","color":"#f0b90b","iconUrl":"https://cdn.coinranking.com/6SJHRfClq/busd.svg","marketCap":"21549836638","price":"1.0006576287067535","listedAt":1563197940,"tier":1,"change":"0.17","rank":7,"sparkline":["1.0004882590667932","0.9999993204638223","1.0000143315515886","1.0016499316350571","1.000409190590813","1.0018185057244435","1.0003122723286715","1.0002539672844046","0.9996509946505983","1.000276277410256","0.9996923840943027","0.9998668785926111","0.9995448476334781","0.9996131748549166","1.0002389523633675","1.0002107680095071","0.9982216629322764","0.9991088690626588","0.9985023447281665","1.0000558013051848","1.0006490634548673","0.998853092321584","0.9991468633364694","0.9993003680006426","1.0004323781123061"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/vSo2fu9iE1s0Y+binanceusd-busd","24hVolume":"6255710943","btcPrice":"0.000052429584938457"},{"uuid":"qzawljRxB5bYu","symbol":"ADA","name":"Cardano","color":"#3cc8c8","iconUrl":"https://cdn.coinranking.com/ryY28nXhW/ada.svg","marketCap":"12370524857","price":"0.3976064579229864","listedAt":1506902400,"tier":1,"change":"-4.28","rank":8,"sparkline":["0.41464005748440985","0.4139833507224315","0.4124087327743744","0.4078555921597678","0.4058589253025063","0.3955486187678651","0.3939556237524965","0.3929379169169777","0.39492720378677537","0.39601274136807213","0.3963874919227841","0.39667920916113875","0.3966072556436357","0.39637514878948366","0.39646498415997633","0.395423457068746","0.39555697799862155","0.39714048152184267","0.39884650133172905","0.39823235063908424","0.39644020705108046","0.3978947999120206","0.39840904705001595","0.4001665804555536","0.39871172653504355"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/qzawljRxB5bYu+cardano-ada","24hVolume":"770098885","btcPrice":"0.000020832641414721"},{"uuid":"zNZHO_Sjf","symbol":"SOL","name":"Solana","color":"#9cddec","iconUrl":"https://cdn.coinranking.com/yvUG4Qex5/solana.svg","marketCap":"11304849645","price":"31.62559461234009","listedAt":1586539320,"tier":1,"change":"-2.70","rank":9,"sparkline":["32.50508504458924","32.48988603291064","32.45850494122358","32.25745478238336","32.142001175426266","31.66707423080294","31.564176572708153","31.468985204051027","31.43226642004375","31.373153204353233","31.396126683301063","31.431756120100708","31.524682891146288","31.55861436611215","31.50948083691949","31.36730481678771","31.392377208767822","31.44599489176464","31.57575208794451","31.486427368116754","31.31517762398507","31.44369206365782","31.533266929552184","31.71907342798769","31.6662568847667"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/zNZHO_Sjf+solana-sol","24hVolume":"701234963","btcPrice":"0.001657027090374404"},{"uuid":"a91GCGd_u96cF","symbol":"DOGE","name":"Dogecoin","color":"#c2a633","iconUrl":"https://cdn.coinranking.com/H1arXIuOZ/doge.svg","marketCap":"8221924761","price":"0.06026910804447646","listedAt":1391212800,"tier":1,"change":"-0.63","rank":10,"sparkline":["0.06062073194631862","0.060576216444691515","0.060600650202305095","0.060066236124903326","0.05976986175518373","0.05878527710240381","0.058724239756746226","0.058649740839138036","0.05889860455649038","0.0589761003599833","0.05906249035702865","0.0591376222716178","0.05917241623026707","0.059278372468659066","0.05923610118940745","0.05908524942848591","0.059454151944479484","0.05969393678961671","0.060227458117404264","0.060123724153024326","0.05982353007934967","0.060103567162703125","0.06042454602871446","0.060457706684745954","0.0603275418055928"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/a91GCGd_u96cF+dogecoin-doge","24hVolume":"392122364","btcPrice":"0.000003157807654419"},{"uuid":"25W7FG7om","symbol":"DOT","name":"Polkadot","color":"#d64cA8","iconUrl":"https://cdn.coinranking.com/RsljYqnbu/polkadot.svg","marketCap":"7173240320","price":"6.226877099320884","listedAt":1598365200,"tier":1,"change":"-1.94","rank":11,"sparkline":["6.350426664896058","6.357821378088853","6.352526034894388","6.320447617336972","6.30338037005865","6.2130781492140565","6.196037678758813","6.172264404697895","6.186453610483363","6.196136979812162","6.1909052573127346","6.187293071792814","6.193563189547753","6.203219108832004","6.20329446682089","6.17730474438237","6.180112947950434","6.193520376478259","6.215047809667053","6.194709680139295","6.184602900090088","6.204051334002026","6.217035280011743","6.232299324239943","6.225809379076184"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/25W7FG7om+polkadot-dot","24hVolume":"239718216","btcPrice":"0.00032625802513704"},{"uuid":"uW2tk-ILY0ii","symbol":"MATIC","name":"Polygon","color":"#8247e5","iconUrl":"https://cdn.coinranking.com/WulYRq14o/polygon.png","marketCap":"6989403144","price":"0.7982715198220646","listedAt":1558961160,"tier":1,"change":"-4.74","rank":12,"sparkline":["0.8359522170439039","0.836112257701426","0.8373374613633047","0.8324825185106511","0.8229916929756601","0.8088447043788365","0.8009774973978097","0.7980501825841341","0.8013134536959269","0.8046894494738069","0.8042089312859582","0.8048596070469655","0.8062414243502312","0.8059908740802628","0.8056717067616964","0.8019685889091023","0.7993001450881944","0.8004633956799567","0.801991014685079","0.7975416106541212","0.7945732087830466","0.7967574918601812","0.797431649997952","0.8000339789019884","0.8002355921078494"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/uW2tk-ILY0ii+polygon-matic","24hVolume":"324491032","btcPrice":"0.000041825538777487"},{"uuid":"MoTuySvg7","symbol":"DAI","name":"Dai","color":null,"iconUrl":"https://cdn.coinranking.com/mAZ_7LwOE/mutli-collateral-dai.svg","marketCap":"6223073198","price":"0.9999861185698226","listedAt":1585574040,"tier":1,"change":"0.04","rank":13,"sparkline":["1.0000082800063876","0.9998678082101398","0.9999441067290138","1.0007634461329755","1.0008061839991707","1.0012668850783375","1.0008266701759536","1.0005923185850163","1.0000918249210005","1.0003668796193335","1.000062536135661","0.9999800646973666","0.9997472445101948","0.9994908066545264","0.9994767166252164","1.0000789404143149","0.9993633645506776","0.9990721831340907","0.9984724037525132","0.9996380010706293","1.0007227153381022","0.9993809869025829","0.9988551699119922","0.9992864181991903","1.000266049893029"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/MoTuySvg7+dai-dai","24hVolume":"55839720","btcPrice":"0.000052394401078612"},{"uuid":"xz24e0BjL","symbol":"SHIB","name":"Shiba Inu","color":"#fda32b","iconUrl":"https://cdn.coinranking.com/D69LfI-tm/shib.png","marketCap":"6077936766","price":"0.000010309387371414","listedAt":1620650373,"tier":1,"change":"-4.05","rank":14,"sparkline":["0.000010738410649243","0.000010741053269927","0.000010736974707303","0.000010500959446063","0.000010350054938475","0.000010122612190484","0.000010122678213532","0.000010105268917086","0.000010135023410867","0.00001015596991198","0.000010218517035168","0.000010221277832386","0.000010265538686373","0.000010294698882997","0.000010297086337388","0.000010269487622026","0.000010282157476003","0.000010286509907176","0.000010341264497495","0.000010335367183401","0.000010277951310133","0.000010309846758927","0.000010336144320553","0.000010361780195211","0.000010335919774998"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/xz24e0BjL+shibainu-shib","24hVolume":"370674182","btcPrice":"5.40161675e-10"},{"uuid":"qUhEFk1I61atv","symbol":"TRX","name":"TRON","color":"#eb0029","iconUrl":"https://cdn.coinranking.com/behejNqQs/trx.svg","marketCap":"5688425476","price":"0.06161118976247997","listedAt":1505260800,"tier":1,"change":"-2.90","rank":15,"sparkline":["0.0635069398180115","0.06351907249737905","0.06374281124991624","0.06367641442693313","0.06304918770603699","0.06248254450350552","0.06197021400353971","0.06156790701554983","0.06169281463571007","0.06154726735673587","0.06139131053642536","0.061581971827195214","0.061654711675938924","0.06170819451083299","0.06184030971030788","0.061626471953451195","0.06166994991978657","0.06189601120233122","0.06181747820312697","0.06171405502950568","0.06163101967937902","0.06159511775178106","0.06160344276416736","0.06170996768657337","0.061703379211858755"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/qUhEFk1I61atv+tron-trx","24hVolume":"362136847","btcPrice":"0.000003228126198354"},{"uuid":"Mtfb0obXVh59u","symbol":"WETH","name":"Wrapped Ether","color":"#303030","iconUrl":"https://cdn.coinranking.com/KIviQyZlt/weth.svg","marketCap":"5249372580","price":"1287.0142876699563","listedAt":1600259445,"tier":1,"change":"-2.11","rank":16,"sparkline":["1309.4949750032529","1309.9185902784945","1309.534870665508","1303.3637014728047","1294.9711642059963","1288.3238269158348","1279.436753187615","1275.9887159693549","1277.0316499854662","1280.4759734833992","1278.6191798663544","1275.8292397641437","1279.6156658851073","1283.440904172994","1286.3771361009829","1297.3133691486105","1285.8377290906062","1284.819910699825","1287.6427951620944","1286.2289687926109","1281.6015875953624","1285.4648345047706","1291.989834696177","1290.8457638395937","1291.0142099129446"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Mtfb0obXVh59u+wrappedether-weth","24hVolume":"162508797","btcPrice":"0.06737752857246725"},{"uuid":"dvUj0CzDZ","symbol":"AVAX","name":"Avalanche","color":"#e84242","iconUrl":"https://cdn.coinranking.com/S0C6Cw2-w/avax-avalanche.png","marketCap":"4775151825","price":"16.124386744739958","listedAt":1600961596,"tier":1,"change":"-2.85","rank":17,"sparkline":["16.593026862585706","16.5896718289095","16.587868775394263","16.425047816971578","16.297194083612847","16.00244549697","15.924675426966054","15.856632380384534","15.89879123436292","15.904420713441189","15.941830973651967","15.933743103218655","16.006804517204305","16.032773063414414","16.05535665191114","15.99242924143066","16.002056402915613","16.02020528486908","16.10700472976477","16.052957906883712","16.002875407003913","16.122354663269224","16.14322404309699","16.172829539223304","16.13274363422607"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/dvUj0CzDZ+avalanche-avax","24hVolume":"227072249","btcPrice":"0.000844839313828511"},{"uuid":"_H5FVG9iW","symbol":"UNI","name":"Uniswap","color":"#ff007a","iconUrl":"https://cdn.coinranking.com/1heSvUgtl/uniswap-v2.svg?size=48x48","marketCap":"4742480674","price":"6.107071376120567","listedAt":1600323371,"tier":1,"change":"-4.33","rank":18,"sparkline":["6.3670694115448265","6.358555828419825","6.355101192612864","6.332628315753897","6.389741537007495","6.364137867142004","6.413119444244778","6.455144650016006","6.448982389800736","6.434792444719132","6.369147732240716","6.303711752417654","6.319900132738505","6.337476491797144","6.3399223105161795","6.283991903360127","6.229706822820355","6.237098611734032","6.252220788801128","6.165133722306083","6.087825436417972","6.112159980507063","6.140087121050571","6.154137281669298","6.126957739903402"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/_H5FVG9iW+uniswap-uni","24hVolume":"149716489","btcPrice":"0.000319980788887153"},{"uuid":"ncYFcP709","symbol":"CAKE","name":"PancakeSwap","color":"#fe9555","iconUrl":"https://cdn.coinranking.com/aRtgdw7bQ/pancakeswap-cake-logo.png","marketCap":"4252571794","price":"4.538941067564478","listedAt":1613642379,"tier":1,"change":"0.32","rank":19,"sparkline":["4.51847724732482","4.534511932689137","4.53760965840084","4.524903806056601","4.506869728920977","4.472430002335529","4.443708552925739","4.434092364976968","4.441740197934763","4.452909249999754","4.4610651972261905","4.471562987559587","4.482546949737146","4.486748530474402","4.500301854149027","4.514608761764178","4.4950002441553965","4.501941530128112","4.515845921097442","4.53331086036172","4.515106090236052","4.523235163989157","4.5319932854119065","4.545991790326752","4.549439633604395"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ncYFcP709+pancakeswap-cake","24hVolume":"35796918","btcPrice":"0.000237818400025673"},{"uuid":"PDKcptVnzJTmN","symbol":"OKB","name":"OKB","color":"#2d60e0","iconUrl":"https://cdn.coinranking.com/xcZdYtX6E/okx.png","marketCap":"3924008648","price":"15.594507388320743","listedAt":1538524800,"tier":1,"change":"-2.84","rank":20,"sparkline":["16.04965039164985","16.125865011096714","16.164419735627867","16.0631702776502","15.859462847757802","15.69596162285455","15.638571158663078","15.573276131780677","15.662127121496455","15.708064525241058","15.669631249481819","15.714869088001542","15.733100631805133","15.786270936189064","15.659493088038497","15.555819127849844","15.54944635635834","15.512437916875816","15.549909610656787","15.496858689821924","15.481269518260417","15.484158539061276","15.506815935093348","15.571372858246951","15.60278127744011"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/PDKcptVnzJTmN+okb-okb","24hVolume":"20008784","btcPrice":"0.000817076216913514"},{"uuid":"Knsels4_Ol-Ny","symbol":"ATOM","name":"Cosmos","color":"#5064fb","iconUrl":"https://cdn.coinranking.com/HJzHboruM/atom.svg","marketCap":"3861733992","price":"12.381526397295836","listedAt":1552520100,"tier":1,"change":"-3.28","rank":21,"sparkline":["12.806244316032206","12.807951024852581","12.804966513365807","12.628038239753192","12.530176094541883","12.35454941289956","12.312278382560603","12.304419414711186","12.356052739042335","12.355095697539648","12.335399901422917","12.312397111228112","12.345884782366502","12.371225105808263","12.39539439926862","12.361793154334388","12.330806324374441","12.411449308381373","12.461070784695853","12.404862290895116","12.344334513592635","12.430550909390051","12.454427283352127","12.454528920325986","12.414808395241286"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Knsels4_Ol-Ny+cosmos-atom","24hVolume":"250143884","btcPrice":"0.00064873166534866"},{"uuid":"D7B1x_ks7WhV5","symbol":"LTC","name":"Litecoin","color":"#345d9d","iconUrl":"https://cdn.coinranking.com/BUvPxmc9o/ltcnew.svg","marketCap":"3693751842","price":"52.12355572201544","listedAt":1382572800,"tier":1,"change":"-2.45","rank":22,"sparkline":["53.31149679784624","53.23554700704093","53.23055429399135","52.988788368175435","52.900509981784026","52.21424853821044","51.82120396683974","51.6131050944533","51.698868471106316","51.65647863037772","51.67467754500433","51.760558663015956","51.878416752879225","51.972500037377614","51.926745098001135","51.780138021681736","51.87971307891764","51.951486609530825","52.08541551199984","51.860462538658204","51.79100022242018","52.125380661102525","52.345566092037714","52.40228597610698","52.20737577518252"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/D7B1x_ks7WhV5+litecoin-ltc","24hVolume":"557055906","btcPrice":"0.002731020394611595"},{"uuid":"NfeOYfNcl","symbol":"FTT","name":"FTX Token","color":"#77d9ed","iconUrl":"https://cdn.coinranking.com/WyBm4_EzM/ftx-exchange.svg","marketCap":"3120810893","price":"23.37890075945045","listedAt":1566222960,"tier":1,"change":"-2.58","rank":23,"sparkline":["23.937712128249974","23.887012639002624","23.843515155207513","23.709419343037936","23.626246674181875","23.45941957823052","23.36163341126836","23.26485264603748","23.351345480882923","23.34507714477725","23.420620669916676","23.480738975738177","23.52455227400009","23.512878379782197","23.512634221332505","23.4312586092144","23.385814947794643","23.409681302869814","23.49591807756229","23.408504072547775","23.277924026847135","23.34756644589102","23.41747930425499","23.449033844728643","23.40293207683751"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/NfeOYfNcl+ftxtoken-ftt","24hVolume":"135783714","btcPrice":"0.001224940507093841"},{"uuid":"hnfQfsYfeIGUQ","symbol":"ETC","name":"Ethereum Classic","color":"#699070","iconUrl":"https://cdn.coinranking.com/rJfyor__W/etc.svg","marketCap":"2799420117","price":"24.067928098132242","listedAt":1469577600,"tier":1,"change":"-5.45","rank":24,"sparkline":["25.392908157646062","25.399723071597954","25.278635430585894","24.522567830012278","24.019669145063027","24.092229200813374","24.047712444448187","23.937609758048087","24.01896733902981","23.998250560117572","23.946552334282387","23.905142589338883","24.030159662524085","24.092703675918536","24.067566247822775","23.934838196628167","23.872382960628794","23.962688395999507","24.092942612494692","23.982207150609888","23.90410699883974","24.004815659105528","24.10234548540024","24.15461045599311","24.127302715950623"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/hnfQfsYfeIGUQ+ethereumclassic-etc","24hVolume":"649000910","btcPrice":"0.001261042182973757"},{"uuid":"3mVx2FX_iJFp5","symbol":"XMR","name":"Monero","color":"#ff7519","iconUrl":"https://cdn.coinranking.com/Syz-oSd_Z/xmr.svg","marketCap":"2624501975","price":"144.31732041326663","listedAt":1422489600,"tier":1,"change":"-0.89","rank":25,"sparkline":["145.56812817716457","145.9690055400563","145.2568337647697","143.72013185850523","142.85497896986686","141.4230478466055","140.9611333390008","140.87827325936072","141.81246499182396","141.93720619194926","142.59044326181677","142.6737074316202","142.69397278669604","142.56658637322306","143.00046233846203","142.85987628024577","142.44126372359457","142.48673588727692","143.35520479662208","143.01135872635487","142.96191672303914","143.65647840531847","144.18223384596746","144.7926325796469","144.51456793374498"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/3mVx2FX_iJFp5+monero-xmr","24hVolume":"110948789","btcPrice":"0.007561524533098136"},{"uuid":"f3iaFeCKEmkaZ","symbol":"XLM","name":"Stellar","color":"#000000","iconUrl":"https://cdn.coinranking.com/78CxK1xsp/Stellar_symbol_black_RGB.svg","marketCap":"2387381081","price":"0.1181548734906792","listedAt":1484611200,"tier":1,"change":"-6.44","rank":26,"sparkline":["0.12571512150389627","0.1257613436467406","0.12590289385216213","0.12540896385761224","0.1245445556370652","0.12278049021454522","0.12244803366123631","0.12229542836636675","0.12292141064843871","0.12384150200786605","0.12368240295281235","0.12321772719312662","0.12240674790627797","0.12140833119426239","0.12042923158489716","0.11769366947066931","0.11757450794408168","0.11779387800966942","0.11818862526762194","0.11837457260490672","0.11812609007189741","0.11859609959237172","0.11880886834582863","0.11905885660533576","0.1183604046022989"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/f3iaFeCKEmkaZ+stellar-xlm","24hVolume":"208624276","btcPrice":"0.000006190739767385"},{"uuid":"TpHE2IShQw-sJ","symbol":"ALGO","name":"Algorand","color":null,"iconUrl":"https://cdn.coinranking.com/lzbmCkUGB/algo.svg","marketCap":"2265702165","price":"0.3224334856132634","listedAt":1562082540,"tier":1,"change":"-2.79","rank":27,"sparkline":["0.3304144940456614","0.3294339475122934","0.32941191563214123","0.3254265037982635","0.3221894852304299","0.3154805888024836","0.314585204851866","0.3131049859523217","0.31395367348285097","0.3148637366837555","0.3158663878422498","0.3162298131404744","0.3175865182473912","0.3179697071447155","0.31811889199513144","0.3163814633546325","0.3162660616492037","0.3170723099339498","0.3193243123150484","0.318933779023152","0.31750138120407245","0.31974869659264","0.3211128474982215","0.3224753887220806","0.3221640768171696"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/TpHE2IShQw-sJ+algorand-algo","24hVolume":"134061482","btcPrice":"0.000016893943878499"},{"uuid":"9_jH48RBW","symbol":"BTCB","name":"Bitcoin BEP2","color":"#ff9d14","iconUrl":"https://cdn.coinranking.com/Swr_SeZio/4023.png","marketCap":"2149866569","price":"19109.75519063195","listedAt":1629334963,"tier":1,"change":"-0.85","rank":28,"sparkline":["19253.10533596693","19248.703942281474","19254.21945433033","19244.299840441017","19129.68578891093","19108.016594013017","19071.230431192187","19033.732810643618","19046.37277633343","19045.173362861336","19020.01641403007","19024.110824008327","19045.2526853638","19063.92009062598","19082.292113482254","19078.542017703723","19054.532511020512","19070.85404256102","19094.104026073965","19106.141997079463","19099.722212456465","19098.316697517515","19115.67581852702","19130.550510574285","19121.74066223986"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/9_jH48RBW+bitcoinbep2-btcb","24hVolume":"4704813","btcPrice":"1.0004302894730912"},{"uuid":"ZlZpzOJo43mIo","symbol":"BCH","name":"Bitcoin Cash","color":"#8dc451","iconUrl":"https://cdn.coinranking.com/By8ziihX7/bch.svg","marketCap":"2134394710","price":"111.56500419085674","listedAt":1541808000,"tier":1,"change":"-2.43","rank":29,"sparkline":["113.7569711906797","113.48736411211988","113.4595583903458","112.64382657608697","111.9831698229326","110.78436549003702","110.36813307621239","110.31137583945666","110.4901383185816","110.57445836797903","110.882694767925","111.02654177611704","111.60698206502012","111.81614237372006","111.6441185230018","110.9871350563513","110.96396745163509","111.27989747973294","111.7633574309238","111.38214814393055","111.12078538957185","111.54491734175527","111.94878006225916","111.9661797229661","111.84249034886986"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ZlZpzOJo43mIo+bitcoincash-bch","24hVolume":"232388671","btcPrice":"0.005845462719295403"},{"uuid":"65PHZTpmE55b","symbol":"CRO","name":"Cronos","color":"#01275d","iconUrl":"https://cdn.coinranking.com/2o91jm73M/cro.svg","marketCap":"2076464497","price":"0.10297194866666978","listedAt":1548953220,"tier":1,"change":"-2.24","rank":30,"sparkline":["0.1052716801828886","0.10536541643288856","0.1054380389074223","0.10492314085477557","0.10445375018097379","0.10258641992187338","0.10220820659627544","0.10207864720259542","0.10245254889940567","0.10247322362110423","0.10238778755903796","0.1024273267243311","0.10265643358836019","0.1030145439245816","0.10314060089479417","0.10278028570022549","0.10258589516772264","0.10254803924436887","0.10303812800342362","0.10292893829661812","0.10257886144331407","0.10310320498672747","0.10356582248226613","0.10365911519011124","0.10325527660107674"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/65PHZTpmE55b+cronos-cro","24hVolume":"54152073","btcPrice":"0.000005395228471775"},{"uuid":"DCrsaMv68","symbol":"NEAR","name":"NEAR Protocol","color":"#000000","iconUrl":"https://cdn.coinranking.com/Cth83dCnl/near.png","marketCap":"1955180103","price":"3.2165802993569206","listedAt":1615164591,"tier":1,"change":"-6.56","rank":31,"sparkline":["3.444010837340471","3.4428530118266334","3.444079341468197","3.358825697157351","3.291669702232642","3.1832701518279722","3.179419590261062","3.1690620742272806","3.1813674857535457","3.178997622049018","3.1848830023657873","3.1970627268625145","3.2059013632334317","3.207166912304961","3.2014182959861124","3.1837351730505974","3.177693826040947","3.188583070547641","3.2108971498667627","3.1967112766465147","3.1842879971852183","3.2023874924578575","3.2153448901929034","3.228034322572412","3.2211800222284714"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/DCrsaMv68+nearprotocol-near","24hVolume":"302878419","btcPrice":"0.000168533137787054"},{"uuid":"AaQUAs2Mc","symbol":"LUNC","name":"Terra Classic","color":"#0E3CA5","iconUrl":"https://cdn.coinranking.com/F-PJdF8Um/LUNA.svg","marketCap":"1843553369","price":"0.000279795781116886","listedAt":1565957940,"tier":1,"change":"-5.20","rank":32,"sparkline":["0.000294997867993198","0.000293712761693488","0.000294966650943538","0.000293528481109854","0.000286752344925737","0.000278637469411199","0.000270998205804464","0.000270173258386357","0.000275612929349892","0.000276249173102149","0.000278011503776531","0.000282868746057641","0.00028687697156128","0.000287338446115946","0.000284357218053657","0.000282546404423124","0.000284122122544703","0.000287907354119014","0.000288349980396915","0.000286696910753984","0.000286912396456695","0.000287304981510244","0.000287044804006784","0.000285054720120211","0.000279507863689381"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/AaQUAs2Mc+terraclassic-lunc","24hVolume":"213294390","btcPrice":"1.4659935877e-8"},{"uuid":"SbWqqTui-","symbol":"ENS","name":"EnergySwap","color":"#ffda55","iconUrl":"https://cdn.coinranking.com/fmYxEUV5a/cropped-logo37-Converted-01-192x192.png","marketCap":"1681650812","price":"16.816508124594275","listedAt":1626134763,"tier":1,"change":"1.38","rank":33,"sparkline":["16.59179121541918","16.570359799386587","16.56822144641181","16.388073867781568","16.20444781196674","16.21648205863365","16.328684823167784","16.34077812708615","16.317672128694195","16.266745786288062","16.141992238098837","16.22522928932532","16.449763369274734","16.484360627789524","16.438974424388324","16.36946628593734","16.271955593939964","16.311714425214173","16.608458849292827","16.54377314011025","16.422316836046832","16.549878934493588","16.821562221929895","16.86086869702816","16.835424194996673"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/SbWqqTui-+energyswap-ens","24hVolume":"15163471","btcPrice":"0.000880300665390415"},{"uuid":"08CsQa-Ov","symbol":"WEMIX","name":"WEMIX TOKEN","color":"#9bdc70","iconUrl":"https://cdn.coinranking.com/1N84MQsoO/7548.png","marketCap":"1681582546","price":"1.6815825462354586","listedAt":1638249982,"tier":1,"change":"-3.51","rank":34,"sparkline":["1.7448167545375994","1.7419600048202057","1.7453792124241645","1.7404727181871342","1.7253217697278906","1.700561055727536","1.6783255635019345","1.671182374773206","1.6725128520834172","1.6777867828407542","1.6808842674103979","1.6801003270124417","1.6821952485566076","1.683236882825023","1.6852193225789427","1.6671873498638647","1.6580269559515737","1.658865763416044","1.6708602487008486","1.6727976184024154","1.6680439882716105","1.675391354715906","1.6830335514211565","1.6804459380315013","1.6811250621863059"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/08CsQa-Ov+wemixtoken-wemix","24hVolume":"17273507","btcPrice":"0.000088106733421723"},{"uuid":"QQ0NCmjVq","symbol":"FLOW","name":"Flow","color":"#9efad7","iconUrl":"https://cdn.coinranking.com/xh8X8QBss/flow.png","marketCap":"1662029335","price":"1.6039657737149573","listedAt":1614963736,"tier":1,"change":"-3.02","rank":35,"sparkline":["1.6563732183117394","1.6485471869066728","1.6201998180473542","1.5927936056728047","1.5791207015252988","1.559258573383723","1.571347947643403","1.563452007167526","1.5729283078360226","1.5729482854999595","1.5753328630272272","1.577874633445001","1.582672478785534","1.578183772901974","1.5754351184657773","1.5679005649862097","1.5703577075271016","1.5697740831245315","1.5800805425653583","1.5778056011151587","1.5708470467452773","1.5867612934153943","1.5965728932342007","1.6070477113760606","1.6073258160062203"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/QQ0NCmjVq+flow-flow","24hVolume":"66544884","btcPrice":"0.000084039992659678"},{"uuid":"ymQub4fuB","symbol":"FIL","name":"Filecoin","color":"#0090ff","iconUrl":"https://cdn.coinranking.com/vUmvv-IQA/FIL3-filecoin.svg?size=48x48","marketCap":"1538652853","price":"5.184392154013824","listedAt":1602839473,"tier":1,"change":"-1.89","rank":36,"sparkline":["5.288478436950917","5.296768446882908","5.290910076273759","5.226022289007932","5.186785567951353","5.116816982212818","5.117238090781751","5.104449815075592","5.12179152342093","5.116675573646859","5.122166343434117","5.1223263361116205","5.140892648658159","5.151311849149446","5.1620402538778505","5.185250681085082","5.173686621337292","5.17580766122789","5.196244702485773","5.179459528770254","5.164363836317628","5.1831539478926025","5.2058319338435535","5.208347711846734","5.193677788608405"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ymQub4fuB+filecoin-fil","24hVolume":"155653592","btcPrice":"0.000271636892574769"},{"uuid":"bauj_21eYVwso","symbol":"QNT","name":"Quant","color":"#585e63","iconUrl":"https://cdn.coinranking.com/a-i9Dl392/quant.png","marketCap":"1535051578","price":"157.00261076798463","listedAt":1533945600,"tier":1,"change":"-0.46","rank":37,"sparkline":["155.75952419013646","156.0024629660477","156.9483091253942","155.17715799236638","153.96769514546443","150.8029508296171","149.4681865180521","148.6780205921331","150.5217884181309","151.8139111511035","152.9897680165859","153.76120524071837","153.69294830673115","154.24056866007555","155.2084233547585","153.67273752474165","151.70772561091005","152.1826331718272","153.52098563980522","152.72283105852745","153.86064978084892","155.2490386557754","154.46120221256874","155.37444475409467","155.54048796972438"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/bauj_21eYVwso+quant-qnt","24hVolume":"68170209","btcPrice":"0.008226171949998593"},{"uuid":"FEbS54wxo4oIl","symbol":"VET","name":"VeChain","color":"#4bc0fa","iconUrl":"https://cdn.coinranking.com/B1_TDu9Dm/VEN.svg","marketCap":"1521417100","price":"0.02278909835861845","listedAt":1533427200,"tier":1,"change":"-2.01","rank":38,"sparkline":["0.023201382394867288","0.023217623034789515","0.023211299560192796","0.02301976667736203","0.02288000235414836","0.02256972110429904","0.022418656090611735","0.02239002509206324","0.02252225649555216","0.022566894109836776","0.02257240998461184","0.022614685397820702","0.022640507244525807","0.022649949935666033","0.022693498043320826","0.022586068179572028","0.0225225856632558","0.022534497654124255","0.022666505358031604","0.022609931721622713","0.02251437040160141","0.022639198012323686","0.02269878695185312","0.022790386462722925","0.02280271319649194"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/FEbS54wxo4oIl+vechain-vet","24hVolume":"122291159","btcPrice":"0.000001194037734573"},{"uuid":"jad286TjB","symbol":"HBAR","name":"Hedera","color":"#000000","iconUrl":"https://cdn.coinranking.com/dSCnSLilQ/hedera.svg","marketCap":"1502600305","price":"0.06171869439852701","listedAt":1568704980,"tier":1,"change":"3.16","rank":39,"sparkline":["0.05983029476158644","0.059903412951624754","0.059985819791264536","0.05944409615182594","0.05876742523344675","0.05785064067506939","0.057931411638906256","0.05790619788092381","0.05804215388836088","0.05798719497406133","0.05822936078766463","0.0582915227859601","0.058454182867683405","0.05853319007008172","0.0586186419642574","0.05855168537059809","0.05853259979961367","0.05876502397128857","0.060122157453012456","0.061509863645003354","0.06131640393114617","0.0617596955131602","0.0620735406376061","0.061888025997955794","0.061874957772840626"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/jad286TjB+hedera-hbar","24hVolume":"124544966","btcPrice":"0.000003233758917563"},{"uuid":"tEf7-dnwV3BXS","symbol":"MANA","name":"Decentraland","color":"#f47e33","iconUrl":"https://cdn.coinranking.com/ph_svUzXs/decentraland(1).svg","marketCap":"1444688850","price":"0.6586240241445505","listedAt":1500336000,"tier":1,"change":"-3.73","rank":40,"sparkline":["0.6840640159392729","0.6844483457993004","0.684324547693587","0.6785174702288305","0.6742775934951075","0.6576153914469801","0.6553696219501169","0.6533760440299825","0.6547126246776476","0.6546069106491201","0.6551412124920337","0.6553536024537506","0.6571267917361686","0.6581500585104151","0.6578905648305248","0.6551918349347183","0.6544864105581406","0.6556435353681347","0.6589272320355953","0.6577856348636121","0.6547146836836528","0.6570765428457874","0.6582122935409548","0.6600101511000811","0.659866035019237"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/tEf7-dnwV3BXS+decentraland-mana","24hVolume":"105222637","btcPrice":"0.000034508690311014"},{"uuid":"aMNLwaUbY","symbol":"ICP","name":"Internet Computer (DFINITY)","color":"#00042b","iconUrl":"https://cdn.coinranking.com/1uJ_RVrmC/dfinity-icp.png","marketCap":"1413102772","price":"5.301177422179156","listedAt":1601555742,"tier":1,"change":"-5.68","rank":41,"sparkline":["5.630324377200114","5.624553176634833","5.617142580195659","5.503839159826874","5.373357692931962","5.289816887860428","5.275312435716351","5.26997132618326","5.268815902607013","5.286343101688943","5.306979569510108","5.297430063367028","5.325008383260178","5.322989256145014","5.3138695357725645","5.291710565840058","5.283894446615649","5.310355112029051","5.335284568364459","5.311969007836538","5.3053326188708985","5.334839422346762","5.343377168687646","5.353286458937827","5.309237116535378"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/aMNLwaUbY+internetcomputerdfinity-icp","24hVolume":"120403178","btcPrice":"0.000277755871695278"},{"uuid":"Z96jIvLU7","symbol":"IMX","name":"Immutable X","color":"#000000","iconUrl":"https://cdn.coinranking.com/naRGT2Y_X/10603.png","marketCap":"1385518637","price":"0.6927593184475876","listedAt":1649387294,"tier":1,"change":"-1.73","rank":42,"sparkline":["0.7060556774350861","0.7085970596614066","0.7091951451251772","0.7013387145468608","0.6963345627610629","0.6823281735225847","0.682843283440062","0.6824195792479147","0.6874004236354851","0.6885662610913619","0.6877630173367378","0.688897784779566","0.6917238317253035","0.6916703694504857","0.6913008545148864","0.6877303120250475","0.6862827022493777","0.6871245480430708","0.6915372072098536","0.6892740311624065","0.6852906419974304","0.6897609298250459","0.6909153953769569","0.694685820702843","0.6949191701036125"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Z96jIvLU7+immutablex-imx","24hVolume":"23155910","btcPrice":"0.000036297213438923"},{"uuid":"KfWtaeV1W","symbol":"FRAX","name":"Frax","color":"#000000","iconUrl":"https://cdn.coinranking.com/BpVNCX-NM/frax.png","marketCap":"1360689739","price":"1.0000594919155115","listedAt":1615299931,"tier":1,"change":"0.07","rank":43,"sparkline":["1.000051285040737","0.999507950079597","0.9994794117600361","1.0006843013556381","0.9996244039707718","1.0011371359038534","0.9999132593890739","0.9998129197357091","0.9989265868759513","0.9995631083269784","0.9992767127513633","0.9993095214525162","0.9990484158898805","0.9988166592108563","0.9994311466335211","0.9999478516444764","0.9984589631905303","0.9986536283217392","0.9974188801718556","0.9999250736387779","1.0008414971917168","0.9989816688837846","0.9984814613189864","0.9991603278368889","1.000030379510417"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/KfWtaeV1W+frax-frax","24hVolume":"4303538","btcPrice":"0.000052354925377475"},{"uuid":"omwkOTglq","symbol":"EGLD","name":"Elrond","color":"#000000","iconUrl":"https://cdn.coinranking.com/X62ruAuZQ/Elrond.svg","marketCap":"1325158431","price":"56.0312468597094","listedAt":1612524044,"tier":1,"change":"-1.54","rank":44,"sparkline":["57.08105226224267","57.34070440653012","57.15485999047232","56.871530171092054","56.90664385329411","56.24445436913214","56.305477178850346","56.15889201924251","55.86103931759341","56.23813306829958","55.75521097568663","55.375944241667895","55.50532928303768","55.39655843522493","55.13638850047526","54.7049712862412","54.15265035453586","54.16281956376366","54.64456186887349","54.96246804159147","54.80270002069629","55.0423324739281","55.238210327506984","55.410745204613605","55.79989009597768"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/omwkOTglq+elrond-egld","24hVolume":"76211113","btcPrice":"0.002935764373510518"},{"uuid":"fsIbGOEJWbzxG","symbol":"XTZ","name":"Tezos","color":"#2c7df7","iconUrl":"https://cdn.coinranking.com/HkLUdilQ7/xtz.svg","marketCap":"1232306831","price":"1.3568873726319868","listedAt":1530662400,"tier":1,"change":"-2.64","rank":45,"sparkline":["1.3956882379399445","1.397492048969347","1.3956553299845293","1.3866455243294986","1.37953180787803","1.3538625971516995","1.3499592292409586","1.344745783020229","1.348373423071122","1.3500923476208342","1.3468781066598627","1.3489310981634275","1.3556343259612949","1.3572920546861251","1.3571720704936867","1.3519267550396705","1.3530674987783518","1.3562252824528567","1.3629626436774038","1.3615567988414845","1.353903534936303","1.3601358399274244","1.361395640431083","1.3629129764370866","1.358132093215849"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/fsIbGOEJWbzxG+tezos-xtz","24hVolume":"21733857","btcPrice":"0.000071094288110581"},{"uuid":"pxtKbG5rg","symbol":"SAND","name":"The Sandbox","color":"#00adef","iconUrl":"https://cdn.coinranking.com/kd_vwOcnI/sandbox.png","marketCap":"1188618093","price":"0.7904779168764804","listedAt":1613583024,"tier":1,"change":"-4.08","rank":46,"sparkline":["0.8231061466189566","0.8233114602069695","0.8229643870988032","0.8179122282159668","0.8139509328619953","0.7933064523341797","0.7866311949714172","0.7849102200648518","0.7866500086945546","0.7869347433317583","0.7876195941804462","0.7882582112205775","0.789378777680313","0.7898813215057086","0.7902230156152729","0.7860276836009698","0.7846767918374961","0.7860042321511401","0.7900254411277056","0.7880560436521954","0.7846193231113323","0.7868949000474906","0.7887222236388971","0.7904927248892636","0.7937143281537016"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/pxtKbG5rg+thesandbox-sand","24hVolume":"150733522","btcPrice":"0.00004141719195047"},{"uuid":"GSCt2y6YSgO26","symbol":"CHZ","name":"Chiliz","color":"#d05e72","iconUrl":"https://cdn.coinranking.com/gTsOlSnwR/4066.png","marketCap":"1131745356","price":"0.19050153170644937","listedAt":1562332440,"tier":1,"change":"-5.01","rank":47,"sparkline":["0.20042407124413317","0.2005353002295967","0.20044943211524638","0.19627213845778713","0.19063917900827235","0.18745354476721837","0.18709828466028408","0.18552132829534893","0.18657572464158773","0.18684921418955383","0.18753772579144892","0.18746825758746122","0.18882152298930863","0.18941692777649838","0.1890335775323243","0.18890028574140108","0.1880417005678387","0.18820860206776896","0.19050522982869908","0.18980567351936228","0.18964830232222987","0.1906838850085239","0.19078253749444676","0.19141706775456702","0.1909771662651964"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/GSCt2y6YSgO26+chiliz-chz","24hVolume":"334073314","btcPrice":"0.000009981352213762"},{"uuid":"DXwP4wF9ksbBO","symbol":"HT","name":"Huobi Token","color":"#2daadf","iconUrl":"https://cdn.coinranking.com/ryFpQe0c7/ht.svg","marketCap":"1086653139","price":"5.303291304689249","listedAt":1517702400,"tier":1,"change":"2.27","rank":48,"sparkline":["5.220448150324859","5.21109582487655","5.123291311413711","5.169102237024353","5.144445516634134","5.1789028124526375","5.1465128219280585","5.0806088130303735","5.157545904726226","5.10995400429019","5.114797016538787","5.199177819021722","5.322873361898242","5.297834390213926","5.239452318532957","5.211975339818481","5.245571035630626","5.292442919241111","5.31810229805788","5.316249910375117","5.276780220630117","5.261508721646487","5.277174816210946","5.310631833985338","5.332441029984784"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/DXwP4wF9ksbBO+huobitoken-ht","24hVolume":"43525771","btcPrice":"0.000277866628840812"},{"uuid":"Pe93bIOD2","symbol":"LDO","name":"Lido DAO Token","color":"#77cced","iconUrl":"https://cdn.coinranking.com/Wp6LFY6ZZ/8000.png","marketCap":"1069754273","price":"1.3300069822645284","listedAt":1627361901,"tier":1,"change":"-0.95","rank":49,"sparkline":["1.3411787188912163","1.3455950679954238","1.345654655330818","1.3297844124369003","1.3192010782869605","1.295449962773923","1.2904553135070234","1.2917497349502776","1.3005048478660788","1.3101382952380642","1.300641678347556","1.2995122722215076","1.3127597511437608","1.3141224931689781","1.3191966797683792","1.3148299622678794","1.3137220574882997","1.3147891235660265","1.3323510762458468","1.3337483427432213","1.3344180724961676","1.3439313431446849","1.3436437060476991","1.3363636976098932","1.3339302319117319"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Pe93bIOD2+lidodaotoken-ldo","24hVolume":"6937958","btcPrice":"0.000069685886605892"},{"uuid":"iAzbfXiBBKkR6","symbol":"EOS","name":"EOS","color":"#443f54","iconUrl":"https://cdn.coinranking.com/PqOYrWSje/eos2.svg","marketCap":"1036653700","price":"1.0486978544811187","listedAt":1498694400,"tier":1,"change":"-1.53","rank":50,"sparkline":["1.0642130294437322","1.0616968432705534","1.059542030527532","1.0483108864500423","1.0406395728342062","1.02823960740713","1.0268667983814772","1.028407043400729","1.0335827458313962","1.034923290422993","1.0367216167137827","1.043773977056159","1.0479726328245385","1.0483758685376683","1.0486207820660727","1.0435302725961715","1.046002241643962","1.0486504000371157","1.055161091555315","1.0509607246197905","1.0505271253193267","1.0535266304128106","1.055982200022693","1.0566742750495255","1.051855638495699"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/iAzbfXiBBKkR6+eos-eos","24hVolume":"257325472","btcPrice":"0.000054946658736171"}]}}
Formatting Digital Coin example
JSON text transferred from the API in the previous cell was converted to a Python Dictionary called json. The "coins" in the dictionary contain a list of the most relevant data. Look at the code and comments to see how the original text is turned into something understandable. Additionally, there are error check to make sure we are starting the code with the expectation that the API was run correctly.
"""
This cell is dependent on valid run of API above.
- try and except code is making sure "json" was properly run above
- inside second try is code that is used to process Coin API data
Note. Run this cell repeatedly to format data without re-activating API
"""
try:
print("JSON data is Python type: " + str(type(json)))
try:
# Extracting Coins JSON status, if the API worked
status = json.get('status')
print("API status: " + status)
print()
# Extracting Coins JSON data, data about the coins
data = json.get('data')
# Procedural abstraction of Print code for coins
def print_coin(c):
print(c["symbol"], c["price"])
print("Icon Url: " + c["iconUrl"])
print("Rank Url: " + c["coinrankingUrl"])
# Coins data was observed to be a list
for coin in data['coins']:
print_coin(coin)
print()
except:
print("Did you insert a valid key in X-RapidAPI-Key of API cell above?")
print(json)
except:
print("This cell is dependent on running API call in cell above!")
JSON data is Python type: <class 'dict'> API status: success BTC 19085.743857811227 Icon Url: https://cdn.coinranking.com/bOabBYkcX/bitcoin_btc.svg Rank Url: https://coinranking.com/coin/Qwsogvtv82FCd+bitcoin-btc ETH 1286.9046397220995 Icon Url: https://cdn.coinranking.com/rk4RKHOuW/eth.svg Rank Url: https://coinranking.com/coin/razxDUgYGNAdQ+ethereum-eth USDT 1.0006023005632279 Icon Url: https://cdn.coinranking.com/mgHqwlCLj/usdt.svg Rank Url: https://coinranking.com/coin/HIVsRcGKkPFtW+tetherusd-usdt USDC 1.0002603973645283 Icon Url: https://cdn.coinranking.com/jkDf8sQbY/usdc.svg Rank Url: https://coinranking.com/coin/aKzUVe4Hh_CON+usdc-usdc BNB 272.2123387329202 Icon Url: https://cdn.coinranking.com/B1N19L_dZ/bnb.svg Rank Url: https://coinranking.com/coin/WcwrkfNI4FUAe+binancecoin-bnb XRP 0.4920932873903329 Icon Url: https://cdn.coinranking.com/B1oPuTyfX/xrp.svg Rank Url: https://coinranking.com/coin/-l8Mn2pVlRs-p+xrp-xrp BUSD 1.0006576287067535 Icon Url: https://cdn.coinranking.com/6SJHRfClq/busd.svg Rank Url: https://coinranking.com/coin/vSo2fu9iE1s0Y+binanceusd-busd ADA 0.3976064579229864 Icon Url: https://cdn.coinranking.com/ryY28nXhW/ada.svg Rank Url: https://coinranking.com/coin/qzawljRxB5bYu+cardano-ada SOL 31.62559461234009 Icon Url: https://cdn.coinranking.com/yvUG4Qex5/solana.svg Rank Url: https://coinranking.com/coin/zNZHO_Sjf+solana-sol DOGE 0.06026910804447646 Icon Url: https://cdn.coinranking.com/H1arXIuOZ/doge.svg Rank Url: https://coinranking.com/coin/a91GCGd_u96cF+dogecoin-doge DOT 6.226877099320884 Icon Url: https://cdn.coinranking.com/RsljYqnbu/polkadot.svg Rank Url: https://coinranking.com/coin/25W7FG7om+polkadot-dot MATIC 0.7982715198220646 Icon Url: https://cdn.coinranking.com/WulYRq14o/polygon.png Rank Url: https://coinranking.com/coin/uW2tk-ILY0ii+polygon-matic DAI 0.9999861185698226 Icon Url: https://cdn.coinranking.com/mAZ_7LwOE/mutli-collateral-dai.svg Rank Url: https://coinranking.com/coin/MoTuySvg7+dai-dai SHIB 0.000010309387371414 Icon Url: https://cdn.coinranking.com/D69LfI-tm/shib.png Rank Url: https://coinranking.com/coin/xz24e0BjL+shibainu-shib TRX 0.06161118976247997 Icon Url: https://cdn.coinranking.com/behejNqQs/trx.svg Rank Url: https://coinranking.com/coin/qUhEFk1I61atv+tron-trx WETH 1287.0142876699563 Icon Url: https://cdn.coinranking.com/KIviQyZlt/weth.svg Rank Url: https://coinranking.com/coin/Mtfb0obXVh59u+wrappedether-weth AVAX 16.124386744739958 Icon Url: https://cdn.coinranking.com/S0C6Cw2-w/avax-avalanche.png Rank Url: https://coinranking.com/coin/dvUj0CzDZ+avalanche-avax UNI 6.107071376120567 Icon Url: https://cdn.coinranking.com/1heSvUgtl/uniswap-v2.svg?size=48x48 Rank Url: https://coinranking.com/coin/_H5FVG9iW+uniswap-uni CAKE 4.538941067564478 Icon Url: https://cdn.coinranking.com/aRtgdw7bQ/pancakeswap-cake-logo.png Rank Url: https://coinranking.com/coin/ncYFcP709+pancakeswap-cake OKB 15.594507388320743 Icon Url: https://cdn.coinranking.com/xcZdYtX6E/okx.png Rank Url: https://coinranking.com/coin/PDKcptVnzJTmN+okb-okb ATOM 12.381526397295836 Icon Url: https://cdn.coinranking.com/HJzHboruM/atom.svg Rank Url: https://coinranking.com/coin/Knsels4_Ol-Ny+cosmos-atom LTC 52.12355572201544 Icon Url: https://cdn.coinranking.com/BUvPxmc9o/ltcnew.svg Rank Url: https://coinranking.com/coin/D7B1x_ks7WhV5+litecoin-ltc FTT 23.37890075945045 Icon Url: https://cdn.coinranking.com/WyBm4_EzM/ftx-exchange.svg Rank Url: https://coinranking.com/coin/NfeOYfNcl+ftxtoken-ftt ETC 24.067928098132242 Icon Url: https://cdn.coinranking.com/rJfyor__W/etc.svg Rank Url: https://coinranking.com/coin/hnfQfsYfeIGUQ+ethereumclassic-etc XMR 144.31732041326663 Icon Url: https://cdn.coinranking.com/Syz-oSd_Z/xmr.svg Rank Url: https://coinranking.com/coin/3mVx2FX_iJFp5+monero-xmr XLM 0.1181548734906792 Icon Url: https://cdn.coinranking.com/78CxK1xsp/Stellar_symbol_black_RGB.svg Rank Url: https://coinranking.com/coin/f3iaFeCKEmkaZ+stellar-xlm ALGO 0.3224334856132634 Icon Url: https://cdn.coinranking.com/lzbmCkUGB/algo.svg Rank Url: https://coinranking.com/coin/TpHE2IShQw-sJ+algorand-algo BTCB 19109.75519063195 Icon Url: https://cdn.coinranking.com/Swr_SeZio/4023.png Rank Url: https://coinranking.com/coin/9_jH48RBW+bitcoinbep2-btcb BCH 111.56500419085674 Icon Url: https://cdn.coinranking.com/By8ziihX7/bch.svg Rank Url: https://coinranking.com/coin/ZlZpzOJo43mIo+bitcoincash-bch CRO 0.10297194866666978 Icon Url: https://cdn.coinranking.com/2o91jm73M/cro.svg Rank Url: https://coinranking.com/coin/65PHZTpmE55b+cronos-cro NEAR 3.2165802993569206 Icon Url: https://cdn.coinranking.com/Cth83dCnl/near.png Rank Url: https://coinranking.com/coin/DCrsaMv68+nearprotocol-near LUNC 0.000279795781116886 Icon Url: https://cdn.coinranking.com/F-PJdF8Um/LUNA.svg Rank Url: https://coinranking.com/coin/AaQUAs2Mc+terraclassic-lunc ENS 16.816508124594275 Icon Url: https://cdn.coinranking.com/fmYxEUV5a/cropped-logo37-Converted-01-192x192.png Rank Url: https://coinranking.com/coin/SbWqqTui-+energyswap-ens WEMIX 1.6815825462354586 Icon Url: https://cdn.coinranking.com/1N84MQsoO/7548.png Rank Url: https://coinranking.com/coin/08CsQa-Ov+wemixtoken-wemix FLOW 1.6039657737149573 Icon Url: https://cdn.coinranking.com/xh8X8QBss/flow.png Rank Url: https://coinranking.com/coin/QQ0NCmjVq+flow-flow FIL 5.184392154013824 Icon Url: https://cdn.coinranking.com/vUmvv-IQA/FIL3-filecoin.svg?size=48x48 Rank Url: https://coinranking.com/coin/ymQub4fuB+filecoin-fil QNT 157.00261076798463 Icon Url: https://cdn.coinranking.com/a-i9Dl392/quant.png Rank Url: https://coinranking.com/coin/bauj_21eYVwso+quant-qnt VET 0.02278909835861845 Icon Url: https://cdn.coinranking.com/B1_TDu9Dm/VEN.svg Rank Url: https://coinranking.com/coin/FEbS54wxo4oIl+vechain-vet HBAR 0.06171869439852701 Icon Url: https://cdn.coinranking.com/dSCnSLilQ/hedera.svg Rank Url: https://coinranking.com/coin/jad286TjB+hedera-hbar MANA 0.6586240241445505 Icon Url: https://cdn.coinranking.com/ph_svUzXs/decentraland(1).svg Rank Url: https://coinranking.com/coin/tEf7-dnwV3BXS+decentraland-mana ICP 5.301177422179156 Icon Url: https://cdn.coinranking.com/1uJ_RVrmC/dfinity-icp.png Rank Url: https://coinranking.com/coin/aMNLwaUbY+internetcomputerdfinity-icp IMX 0.6927593184475876 Icon Url: https://cdn.coinranking.com/naRGT2Y_X/10603.png Rank Url: https://coinranking.com/coin/Z96jIvLU7+immutablex-imx FRAX 1.0000594919155115 Icon Url: https://cdn.coinranking.com/BpVNCX-NM/frax.png Rank Url: https://coinranking.com/coin/KfWtaeV1W+frax-frax EGLD 56.0312468597094 Icon Url: https://cdn.coinranking.com/X62ruAuZQ/Elrond.svg Rank Url: https://coinranking.com/coin/omwkOTglq+elrond-egld XTZ 1.3568873726319868 Icon Url: https://cdn.coinranking.com/HkLUdilQ7/xtz.svg Rank Url: https://coinranking.com/coin/fsIbGOEJWbzxG+tezos-xtz SAND 0.7904779168764804 Icon Url: https://cdn.coinranking.com/kd_vwOcnI/sandbox.png Rank Url: https://coinranking.com/coin/pxtKbG5rg+thesandbox-sand CHZ 0.19050153170644937 Icon Url: https://cdn.coinranking.com/gTsOlSnwR/4066.png Rank Url: https://coinranking.com/coin/GSCt2y6YSgO26+chiliz-chz HT 5.303291304689249 Icon Url: https://cdn.coinranking.com/ryFpQe0c7/ht.svg Rank Url: https://coinranking.com/coin/DXwP4wF9ksbBO+huobitoken-ht LDO 1.3300069822645284 Icon Url: https://cdn.coinranking.com/Wp6LFY6ZZ/8000.png Rank Url: https://coinranking.com/coin/Pe93bIOD2+lidodaotoken-ldo EOS 1.0486978544811187 Icon Url: https://cdn.coinranking.com/PqOYrWSje/eos2.svg Rank Url: https://coinranking.com/coin/iAzbfXiBBKkR6+eos-eos
Go deeper into APIs
Web Development vs Jupyter Notebook. A notebook is certainly a great place to start. But, for your end of Trimester project we want you to build the skill to reference and use APIs within your Project. Here are some resources to get you started with this journey.
- In the Nighthawk Coders APCSP you can find an Overview and Examples using APIs:APCSP APIs menu- Using Covid RapidAPI
- JavaScript frontend API code in APCSP Fastpages GitHub repo: https://github.com/nighthawkcoders/APCSP/blob/master/_posts/2022-07-10-PBL-rapidapi.md
- Making a Jokes API (this will next API tech talk)
- Frontend. JavaScript frontend code in APCSP fastpages GitHub repo: https://github.com/nighthawkcoders/APCSP/blob/master/_posts/2022-07-10-PBL-jokes.md
- Backend Endpoints. Python code that allows Frontend access: https://github.com/nighthawkcoders/flask_portfolio/blob/main/api.py
- Backend Jokes Management. Python code that support Create, Read, Update, Delete (CRUD): https://github.com/nighthawkcoders/flask_portfolio/blob/main/model_jokes.py
Hacks
Find and use an API as part of your project. An API and a little coding logic will be a big step toward getting meaningful data for a project. There are many API providers, find one that might work for your project to complete this hack. When picking an API you are looking for something that will work with either JavaScript Fetch or Python Request. Here are some samples, these are not qualified in any way.
Show API and format results in either Web Page or Jupyter Notebook. Ultimately, I will expect that we do APIs in backend (Python/Flask). However, for this Hack you can pick your preference. We will discuss pros and cons in next API tech talk.