Python, RapidAPI Terms

APIs and tooling like Jupyter docs allows many opportunities in fields like Data Science. As more and more developers use APIs, they build standards in how you setup a client, send requests and receive information...

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

"""
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': "dec069b877msh0d9d0827664078cp1a18fajsn2afac35ae063",
    'x-rapidapi-host': "corona-virus-world-and-india-data.p.rapidapi.com"
}

# Request Covid Data
response = requests.request("GET", url, headers=headers)
# print(response.text)  # 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)
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

Digital Coin Example

This example provides digital coin feedback (ie Bitcoin). It include popularity, price, symbols, etc.

  • A valid X-RapidAPI-Key is required. Look in code for link to RapidAPI page
  • Read all comments in code for further guidance
# 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": "6615470177msh2eb9d9776c82332p163317jsn65585d1a22d9",  # 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

# 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":1488,"totalCoins":21256,"totalMarkets":29445,"totalExchanges":171,"totalMarketCap":"942500653145","total24hVolume":"56470853554"},"coins":[{"uuid":"Qwsogvtv82FCd","symbol":"BTC","name":"Bitcoin","color":"#f7931A","iconUrl":"https://cdn.coinranking.com/bOabBYkcX/bitcoin_btc.svg","marketCap":"365436919376","price":"19057.280343776176","listedAt":1330214400,"tier":1,"change":"-1.94","rank":1,"sparkline":["19488.1506450618","19512.288719015418","19491.89908856991","19460.76987970102","19465.456163058043","19434.89948882122","19424.768739053052","19381.495949060733","19255.508791978747","19304.796794285616","19320.029567506706","19342.555032513174","19393.206439966132","19353.356689246357","19295.4730157485","19277.110522578794","19205.507401280112","19230.513330824815","19269.20760106672","19226.28810639702","19233.1885342983","19245.24660168312","19194.126587054343","19166.758434710086","19115.42500868895"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Qwsogvtv82FCd+bitcoin-btc","24hVolume":"28792587963","btcPrice":"1"},{"uuid":"razxDUgYGNAdQ","symbol":"ETH","name":"Ethereum","color":"#3C3C3D","iconUrl":"https://cdn.coinranking.com/rk4RKHOuW/eth.svg","marketCap":"156488062964","price":"1278.7448565611858","listedAt":1438905600,"tier":1,"change":"-3.37","rank":2,"sparkline":["1331.5044546621384","1330.4653962139093","1325.955519830478","1323.9386642517868","1324.313403721748","1319.7955940519878","1317.963290856793","1315.2610947850062","1306.4389281042727","1310.8645857269105","1312.9170218694812","1315.0839615355765","1316.8018884207568","1312.9151771475322","1309.4402032235853","1308.7145413566764","1304.3906358981922","1305.8987603903568","1309.2574980594059","1308.3399813540152","1308.156914595738","1306.9719788418965","1299.4746424816135","1294.312920524021","1285.7931534436002"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/razxDUgYGNAdQ+ethereum-eth","24hVolume":"9402528857","btcPrice":"0.0671000706026138"},{"uuid":"HIVsRcGKkPFtW","symbol":"USDT","name":"Tether USD","color":"#22a079","iconUrl":"https://cdn.coinranking.com/mgHqwlCLj/usdt.svg","marketCap":"68469359310","price":"1.0006942257899014","listedAt":1420761600,"tier":1,"change":"-0.06","rank":3,"sparkline":["1.00001000523563","1.0011034439527615","1.001161264197156","1.0010572266113555","1.0005697814658174","1.0010922851917061","1.0008441808312771","1.0017436449079997","1.0007027635542591","0.9996645367670199","0.9999390115468976","0.9999094436014718","0.9996875863868945","1.0006879906066195","1.000484422046895","1.0000893181295456","1.0009961139938581","0.998967652984781","1.0001297995181815","1.0001812711445561","0.9998776147234318","0.9999456923398682","1.0014649584038038","1.0003745939212896","1.0017869884406445"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/HIVsRcGKkPFtW+tetherusd-usdt","24hVolume":"37713786549","btcPrice":"0.000052509812929142"},{"uuid":"aKzUVe4Hh_CON","symbol":"USDC","name":"USDC","color":"#7894b4","iconUrl":"https://cdn.coinranking.com/jkDf8sQbY/usdc.svg","marketCap":"46060009308","price":"1.001516752958171","listedAt":1539043200,"tier":1,"change":"0.08","rank":4,"sparkline":["0.9999464672512742","1.0007495887701197","1.0008677225113292","1.0009310935906095","1.0004184750469038","1.000901250517255","1.0006467731338917","1.0014501628343724","1.0009318082864203","0.9997130987136762","1.0000317574011472","0.9998815120266752","0.9995940525470003","1.0006321859803207","1.0003801151930976","1.0000183858482248","1.001053890492374","0.9991512285146926","1.000108983581862","1.0002461692196565","0.9999650013436789","0.9999452655588404","1.0014286785732378","1.0003739370478704","1.0016810358315087"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/aKzUVe4Hh_CON+usdc-usdc","24hVolume":"3068036632","btcPrice":"0.000052552973713547"},{"uuid":"WcwrkfNI4FUAe","symbol":"BNB","name":"Binance Coin","color":"#e8b342","iconUrl":"https://cdn.coinranking.com/B1N19L_dZ/bnb.svg","marketCap":"39022636628","price":"269.35239602160357","listedAt":1503014400,"tier":1,"change":"-2.94","rank":5,"sparkline":["278.5119412738475","278.8500346304702","278.55481674988823","278.15563968131687","278.27056641644765","277.6476509793223","277.1886552863454","276.16881192663146","273.63316482987625","274.4101654979415","274.737145190874","275.07124030373643","275.68159210343777","275.0410443309801","274.73037199504836","274.8554163480047","274.10875888352996","273.8179893160553","274.4492817889739","274.298685475948","274.67159767911375","274.9198236369963","273.8718264000287","272.7249664678188","271.1536159389556"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/WcwrkfNI4FUAe+binancecoin-bnb","24hVolume":"779280699","btcPrice":"0.014133831856525636"},{"uuid":"-l8Mn2pVlRs-p","symbol":"XRP","name":"XRP","color":"#000000","iconUrl":"https://cdn.coinranking.com/B1oPuTyfX/xrp.svg","marketCap":"24617482897","price":"0.49374621214983844","listedAt":1421798400,"tier":1,"change":"-7.11","rank":6,"sparkline":["0.536001262965347","0.5331938666039274","0.5313677614997179","0.5321125340805518","0.5336003513686314","0.5289865890366551","0.5274128004730656","0.5219989218017307","0.5149385991747175","0.515854485381372","0.5167502267788407","0.5195469975711722","0.5202397696232272","0.5187425583816472","0.5183839704304823","0.5212630900119376","0.5199601816307717","0.5240089606534403","0.5255371203584706","0.5220263314887269","0.5221018096191841","0.5200142891397306","0.509361052693131","0.5013384770579202","0.4942989996608993"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/-l8Mn2pVlRs-p+xrp-xrp","24hVolume":"3324267632","btcPrice":"0.000025908534861381"},{"uuid":"vSo2fu9iE1s0Y","symbol":"BUSD","name":"Binance USD","color":"#f0b90b","iconUrl":"https://cdn.coinranking.com/6SJHRfClq/busd.svg","marketCap":"21560959768","price":"1.0011741265983014","listedAt":1563197940,"tier":1,"change":"0.03","rank":7,"sparkline":["1.0001030171416907","1.0010235858029901","1.0010528890095072","1.0009938666952272","1.000515128673911","1.0009273118659494","1.000611336250255","1.0014579970628081","1.000677349251088","0.9996807797683624","0.9998433930116546","0.9998522489705708","0.9996381055262161","1.0005974243549933","1.0004023284216412","1.000163659472327","1.0011862812978658","0.9990864256357932","1.0002355212738534","1.000269157695084","0.9999944965812787","1.0000100050682832","1.0016481968703868","1.000480327014256","1.0019087447403483"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/vSo2fu9iE1s0Y+binanceusd-busd","24hVolume":"6511001667","btcPrice":"0.000052534994948808"},{"uuid":"qzawljRxB5bYu","symbol":"ADA","name":"Cardano","color":"#3cc8c8","iconUrl":"https://cdn.coinranking.com/ryY28nXhW/ada.svg","marketCap":"12234133405","price":"0.3932226405369482","listedAt":1506902400,"tier":1,"change":"-7.00","rank":8,"sparkline":["0.4248395839110206","0.4248859870710071","0.42454957159336026","0.42404560267712815","0.4238259339792199","0.4224438148871179","0.42209194632395824","0.42035582181732495","0.41547852410275193","0.4163366130530005","0.41765797260465715","0.4166603341689174","0.4168702171759364","0.41686684548569847","0.41583769229358947","0.41579821380978654","0.4143870909718264","0.4142685976806404","0.41513707858303306","0.41453684658495676","0.41379894391748345","0.4123725462795601","0.4080055032169277","0.405883954412975","0.39798476436528485"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/qzawljRxB5bYu+cardano-ada","24hVolume":"651377338","btcPrice":"0.000020633722831567"},{"uuid":"zNZHO_Sjf","symbol":"SOL","name":"Solana","color":"#9cddec","iconUrl":"https://cdn.coinranking.com/yvUG4Qex5/solana.svg","marketCap":"11268218358","price":"31.523242018327903","listedAt":1586539320,"tier":1,"change":"-4.29","rank":9,"sparkline":["33.18789770753263","33.1927134280568","33.19781898483588","33.07642217617395","33.07172091668538","32.9266503861911","32.90455854621633","32.866187416403854","32.57602885895038","32.65354100721354","32.669857987515854","32.71817993307914","32.782767093985","32.63642525532733","32.572546699830895","32.6156230593697","32.51286713479698","32.43893950895768","32.463358235308455","32.521387492368184","32.48604760280608","32.4560223157472","32.26253486449203","32.150713790979786","31.78444656514117"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/zNZHO_Sjf+solana-sol","24hVolume":"790085096","btcPrice":"0.001654131200763016"},{"uuid":"a91GCGd_u96cF","symbol":"DOGE","name":"Dogecoin","color":"#c2a633","iconUrl":"https://cdn.coinranking.com/H1arXIuOZ/doge.svg","marketCap":"7998544130","price":"0.05863166282740626","listedAt":1391212800,"tier":1,"change":"-5.58","rank":10,"sparkline":["0.062287345702963244","0.06241885274946726","0.062432991553733636","0.06229428237013838","0.06231802722929127","0.06218238985620366","0.06199532843621824","0.061597915389598704","0.06055655313562343","0.06077028914052766","0.06084247892627089","0.06094204711090153","0.06096044184402653","0.060875339606219436","0.060666134063607935","0.060640941337122084","0.060400845558136254","0.060447501789056966","0.06061659164177599","0.060621170829840004","0.06057544989711385","0.06060266085866204","0.06008729508201146","0.05976915584680669","0.05900134807559886"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/a91GCGd_u96cF+dogecoin-doge","24hVolume":"364432574","btcPrice":"0.000003076601790483"},{"uuid":"25W7FG7om","symbol":"DOT","name":"Polkadot","color":"#d64cA8","iconUrl":"https://cdn.coinranking.com/RsljYqnbu/polkadot.svg","marketCap":"7130690799","price":"6.190998900134086","listedAt":1598365200,"tier":1,"change":"-4.63","rank":11,"sparkline":["6.522414668255934","6.520203263943129","6.493546547021137","6.4578997776453795","6.461761001965112","6.433328310449588","6.416466404167233","6.395067921292741","6.321212748572312","6.347002042078148","6.352722958380046","6.356290684071334","6.377871401905183","6.365844008519976","6.349456462131741","6.345065195560296","6.330472921445338","6.341417794562836","6.347150210132025","6.354097666999308","6.35742194931169","6.352193159517849","6.322081551689837","6.305088908171669","6.2315585242715965"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/25W7FG7om+polkadot-dot","24hVolume":"274965800","btcPrice":"0.000324862666049617"},{"uuid":"uW2tk-ILY0ii","symbol":"MATIC","name":"Polygon","color":"#8247e5","iconUrl":"https://cdn.coinranking.com/WulYRq14o/polygon.png","marketCap":"7045070277","price":"0.8046293570356682","listedAt":1558961160,"tier":1,"change":"-2.77","rank":12,"sparkline":["0.8355947783401839","0.8338055756126723","0.8324855038415062","0.8311784328288198","0.8320848378678446","0.8292640573568149","0.8292414803865568","0.8266214710142122","0.8185179143282095","0.8218278450071256","0.8225911804857766","0.8251238788232297","0.8362829959709097","0.8345234984931166","0.8338413152773577","0.8361717933703776","0.8355817885790918","0.8361330733155342","0.8379349680654332","0.8358692173695744","0.8361429404775895","0.837381294126906","0.8328412171573272","0.8241211720588503","0.811636490175781"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/uW2tk-ILY0ii+polygon-matic","24hVolume":"341018405","btcPrice":"0.000042221625673804"},{"uuid":"MoTuySvg7","symbol":"DAI","name":"Dai","color":null,"iconUrl":"https://cdn.coinranking.com/mAZ_7LwOE/mutli-collateral-dai.svg","marketCap":"6290473766","price":"1.0016189326906015","listedAt":1585574040,"tier":1,"change":"0.12","rank":13,"sparkline":["0.9995952797984599","1.0005944275946466","1.0006989278642797","1.0006570846371072","1.00014172207927","1.000607221507067","1.0004256035942012","1.0010836396182805","1.0006642958554737","0.999512025173032","0.9998341824770189","0.999745222484189","0.9995131455916638","1.0003442549883552","1.000418137069989","0.9996749185659772","1.00033783566407","0.9998953811696848","0.9996573747638419","1.0000083273029405","0.9998671046404827","0.9999409906864343","1.0007177269282244","1.0009040784563923","1.0010582292761356"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/MoTuySvg7+dai-dai","24hVolume":"107751594","btcPrice":"0.000052558335429941"},{"uuid":"xz24e0BjL","symbol":"SHIB","name":"Shiba Inu","color":"#fda32b","iconUrl":"https://cdn.coinranking.com/D69LfI-tm/shib.png","marketCap":"5955829983","price":"0.00001010227002507","listedAt":1620650373,"tier":1,"change":"-8.58","rank":14,"sparkline":["0.000011085667477873","0.000011085427478335","0.000011057891826386","0.000011035159861281","0.000011034400237589","0.000011011657864712","0.000010995230528756","0.000010948690684111","0.000010847302094506","0.000010877766772867","0.000010874859587745","0.000010875576263496","0.000010880901926293","0.000010844023987075","0.000010804528806046","0.000010809603041135","0.000010745372617173","0.0000107213976394","0.000010741628745016","0.000010739063895767","0.000010742733707646","0.0000107364719857","0.000010507878122533","0.000010366535432926","0.000010158756516898"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/xz24e0BjL+shibainu-shib","24hVolume":"331561288","btcPrice":"5.301003e-10"},{"uuid":"qUhEFk1I61atv","symbol":"TRX","name":"TRON","color":"#eb0029","iconUrl":"https://cdn.coinranking.com/behejNqQs/trx.svg","marketCap":"5738503869","price":"0.06215358754277865","listedAt":1505260800,"tier":1,"change":"-0.72","rank":15,"sparkline":["0.06247616120182798","0.06246937156935979","0.06253567388706331","0.06329507247095194","0.06386497553291684","0.06409887046474316","0.0644208178957639","0.06421192875139836","0.0640879476466854","0.06450582979819015","0.06418713281497941","0.06389192711997757","0.06385196700333104","0.06384764698414129","0.06370402395413473","0.06365255134176188","0.06345367803143843","0.06337662524119668","0.06348631048281347","0.06351012216233788","0.0635182991486947","0.06376266708708926","0.06370716120506523","0.06309971001866953","0.06264473407430877"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/qUhEFk1I61atv+tron-trx","24hVolume":"582562592","btcPrice":"0.000003261409100437"},{"uuid":"Mtfb0obXVh59u","symbol":"WETH","name":"Wrapped Ether","color":"#303030","iconUrl":"https://cdn.coinranking.com/KIviQyZlt/weth.svg","marketCap":"5232991603","price":"1283.4302597229096","listedAt":1600259445,"tier":1,"change":"-3.23","rank":16,"sparkline":["1326.8994579417572","1329.082588936404","1325.3806266699617","1327.9636361826838","1322.658292904248","1318.291837008896","1323.8570639083352","1318.2953627197976","1310.2980526689626","1312.270149865777","1312.8128282299035","1314.505568224447","1316.0722115717056","1313.86091043222","1314.5406743552123","1312.221165655094","1309.339952066803","1306.1936121052709","1311.789293601869","1310.0362605393268","1309.71409354287","1309.6868774391862","1303.9351604172366","1295.2887096839981","1290.963222894555"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Mtfb0obXVh59u+wrappedether-weth","24hVolume":"60622448","btcPrice":"0.06734592956450153"},{"uuid":"_H5FVG9iW","symbol":"UNI","name":"Uniswap","color":"#ff007a","iconUrl":"https://cdn.coinranking.com/1heSvUgtl/uniswap-v2.svg?size=48x48","marketCap":"4955985628","price":"6.38200976407113","listedAt":1600323371,"tier":1,"change":"-3.65","rank":17,"sparkline":["6.68493097315378","6.6508243591566645","6.619564394233391","6.588639754638839","6.564769806187757","6.525285033982343","6.509442090421682","6.465976702400582","6.359592112172924","6.38246396339638","6.391837237499858","6.4066385130391055","6.4294186545024115","6.401093874922428","6.369940033084528","6.385004723778107","6.338066446407772","6.339321320671483","6.379166316406551","6.366083651283065","6.356164240275081","6.355178188304351","6.333594981574734","6.3803920539256795","6.365829911021807"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/_H5FVG9iW+uniswap-uni","24hVolume":"94892188","btcPrice":"0.000334885652566653"},{"uuid":"dvUj0CzDZ","symbol":"AVAX","name":"Avalanche","color":"#e84242","iconUrl":"https://cdn.coinranking.com/S0C6Cw2-w/avax-avalanche.png","marketCap":"4713530957","price":"15.916309864882791","listedAt":1600961596,"tier":1,"change":"-5.97","rank":18,"sparkline":["17.102172493689842","17.106125431403875","17.039032111565433","17.008332051978044","17.002924436167042","16.936349177621757","16.913126378328176","16.847601633714635","16.658660902198505","16.70403290401331","16.707324912529838","16.70727722123129","16.749850973650503","16.715137480599257","16.678524709275052","16.685648108045566","16.617456400020398","16.594059541623484","16.594896192785644","16.59463747940776","16.588924469841242","16.58785905301111","16.43613225433572","16.297278829294456","16.073755064596764"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/dvUj0CzDZ+avalanche-avax","24hVolume":"231370659","btcPrice":"0.000835182648193598"},{"uuid":"N2IgQ9Xme","symbol":"BIT","name":"BitDAO ","color":"#000000","iconUrl":"https://cdn.coinranking.com/0ClFW1IpO/bitdao.png","marketCap":"4372940450","price":"0.4372940449727807","listedAt":1639033619,"tier":1,"change":"-4.25","rank":19,"sparkline":["0.46219072056129445","0.46687259427130223","0.4692093158839787","0.46618234487860366","0.46986913457015855","0.469132056591609","0.47246686104851215","0.46690206949738644","0.4644340510926768","0.4694372404900944","0.4708098764137554","0.4645327591092195","0.4556222929795641","0.4770183163625606","0.45454390317353893","0.4443108288671447","0.4520873099391207","0.44801571799726564","0.4454577497382288","0.44055817469528386","0.4326108998559247","0.4320145274426853","0.4340533847260149","0.4333167581429271","0.4349762069503781"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/N2IgQ9Xme+bitdao-bit","24hVolume":"5442752","btcPrice":"0.000022946298584289"},{"uuid":"ncYFcP709","symbol":"CAKE","name":"PancakeSwap","color":"#fe9555","iconUrl":"https://cdn.coinranking.com/aRtgdw7bQ/pancakeswap-cake-logo.png","marketCap":"4172002580","price":"4.452946301781518","listedAt":1613642379,"tier":1,"change":"-1.86","rank":20,"sparkline":["4.541557235833156","4.553964309919697","4.573807506121347","4.583824533409134","4.58777083313669","4.578042042096431","4.56839051236663","4.556957243152516","4.514361093190037","4.51411826226915","4.515874263628293","4.521976084538046","4.532935644766504","4.521760014965639","4.520019289197111","4.517811278099297","4.511330848545448","4.505980821110556","4.522281220765949","4.520214786876497","4.535313546126254","4.5379942350086","4.5258396094226265","4.508058752658336","4.4841101289744385"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ncYFcP709+pancakeswap-cake","24hVolume":"42421456","btcPrice":"0.000233661163684134"},{"uuid":"PDKcptVnzJTmN","symbol":"OKB","name":"OKB","color":"#2d60e0","iconUrl":"https://cdn.coinranking.com/xcZdYtX6E/okx.png","marketCap":"3939997447","price":"15.658048903533913","listedAt":1538524800,"tier":1,"change":"0.62","rank":21,"sparkline":["15.591467798627574","15.581556794047126","15.605175449313528","15.615289675489006","15.625038128428859","15.604174085630548","15.574545856650806","15.572868875583644","15.542121912197215","16.134833115902538","15.899972098068528","15.765470392550053","15.81243740688281","15.777447467300988","15.713267957178454","15.962280261827383","15.902858045834567","15.909962681403238","15.98501056643548","16.078829507569637","16.132642151938278","16.164743630858517","16.079039642144338","15.867529576327358","15.72388505518818"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/PDKcptVnzJTmN+okb-okb","24hVolume":"31646834","btcPrice":"0.000821630821453891"},{"uuid":"Knsels4_Ol-Ny","symbol":"ATOM","name":"Cosmos","color":"#5064fb","iconUrl":"https://cdn.coinranking.com/HJzHboruM/atom.svg","marketCap":"3838471982","price":"12.310514152737007","listedAt":1552520100,"tier":1,"change":"-6.73","rank":22,"sparkline":["13.240493051122758","13.203524128662405","13.208534134223218","13.183274155293194","13.188652235304392","13.130616652861544","13.087202881216099","13.022583539133564","12.833791235932797","12.91152394466347","12.917631378513779","12.915336415870756","12.931095667137745","12.896974898580421","12.85128908107414","12.828121310377496","12.761155957427574","12.808555314335083","12.812478669821102","12.80338000836718","12.809523682571344","12.803819146764381","12.63499420421776","12.533045194692802","12.39494562316739"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Knsels4_Ol-Ny+cosmos-atom","24hVolume":"226978137","btcPrice":"0.00064597434317313"},{"uuid":"D7B1x_ks7WhV5","symbol":"LTC","name":"Litecoin","color":"#345d9d","iconUrl":"https://cdn.coinranking.com/BUvPxmc9o/ltcnew.svg","marketCap":"3671778271","price":"51.813480569758035","listedAt":1382572800,"tier":1,"change":"-3.66","rank":23,"sparkline":["54.1000851431424","54.27021929978684","54.125395630457135","54.132240684743294","54.23893338997876","54.07377284759855","54.1679566579363","53.84007221876719","53.12257151076325","53.170894312134216","53.18262913302431","53.24645665562231","53.404614642325456","53.30623803791401","53.265874313817235","53.346154348056324","53.13888824994733","53.159059442536595","53.39761367045488","53.29231429107475","53.223310947009615","53.23006885366571","53.00789818578906","52.87617307993683","52.435013585432024"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/D7B1x_ks7WhV5+litecoin-ltc","24hVolume":"815832184","btcPrice":"0.002718828690930159"},{"uuid":"NfeOYfNcl","symbol":"FTT","name":"FTX Token","color":"#77d9ed","iconUrl":"https://cdn.coinranking.com/WyBm4_EzM/ftx-exchange.svg","marketCap":"3123792551","price":"23.40123722292071","listedAt":1566222960,"tier":1,"change":"-2.87","rank":24,"sparkline":["24.21015183147499","24.220054760344564","24.179767250800577","24.131283799723153","24.142356189331963","24.094101705934523","24.07183800573253","23.976425552458803","23.800239511827083","23.858823356389482","23.88382507874892","23.905857316326845","23.940131427563436","23.88929633497909","23.8192436326369","23.81105431094406","23.825282932239414","23.895411807834172","23.974143097182885","23.924216793892825","23.888623840601248","23.83839708625212","23.717141798027882","23.627292896923777","23.50122731707467"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/NfeOYfNcl+ftxtoken-ftt","24hVolume":"58047366","btcPrice":"0.00122794211979797"},{"uuid":"hnfQfsYfeIGUQ","symbol":"ETC","name":"Ethereum Classic","color":"#699070","iconUrl":"https://cdn.coinranking.com/rJfyor__W/etc.svg","marketCap":"2805290677","price":"24.11840005360424","listedAt":1469577600,"tier":1,"change":"-10.44","rank":25,"sparkline":["27.05917806652507","27.085146005847005","27.021522040375903","26.98432169078792","27.027122025302848","26.938055939992594","26.88692356088141","26.733372507855588","26.07984975346962","26.203893328703757","26.196034802120074","26.21066200473368","26.215036444445808","26.09554735934327","25.996745169147832","25.96014866288886","25.723681881869403","25.485556955797403","25.433836911692385","25.389227367676206","25.39415910507938","25.272615402797435","24.566226844483666","24.0133629050694","24.092033411493283"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/hnfQfsYfeIGUQ+ethereumclassic-etc","24hVolume":"655495728","btcPrice":"0.001265574080799045"},{"uuid":"3mVx2FX_iJFp5","symbol":"XMR","name":"Monero","color":"#ff7519","iconUrl":"https://cdn.coinranking.com/Syz-oSd_Z/xmr.svg","marketCap":"2560841125","price":"140.8167083471278","listedAt":1422489600,"tier":1,"change":"-3.06","rank":26,"sparkline":["146.00566200098044","146.00792262140632","146.02250460772956","145.5932155244998","145.69944844013193","145.9766522870928","146.32630032209514","146.77317212988203","146.52768877422028","146.50833060658488","146.69928240746736","147.24593046538627","146.27781177344886","145.69001097101844","144.7291481840076","144.54447840609456","144.68891252302785","144.73928335075118","145.45297214599893","145.6421522179348","145.95049062123445","145.23398099213773","143.7977100630252","142.84670552317044","141.83157545956604"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/3mVx2FX_iJFp5+monero-xmr","24hVolume":"87794579","btcPrice":"0.007389129288488241"},{"uuid":"f3iaFeCKEmkaZ","symbol":"XLM","name":"Stellar","color":"#000000","iconUrl":"https://cdn.coinranking.com/78CxK1xsp/Stellar_symbol_black_RGB.svg","marketCap":"2464228015","price":"0.12195813717616484","listedAt":1484611200,"tier":1,"change":"-5.54","rank":27,"sparkline":["0.12848425006001754","0.1283184926390934","0.12820990817867112","0.1277309687147149","0.12793994706722867","0.12779451373630296","0.1279981337959677","0.1275563491104387","0.12664330160790727","0.12611858328006822","0.1265770132845544","0.12713336834938954","0.12698191868487532","0.1265359451505847","0.1264093054866322","0.12682034105686052","0.1262686523687261","0.12625943495967626","0.12626773861063678","0.1256827128674751","0.12576799709600534","0.12590431001694352","0.12543067128417607","0.12468526520336248","0.12316388238292895"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/f3iaFeCKEmkaZ+stellar-xlm","24hVolume":"174287473","btcPrice":"0.000006399556231327"},{"uuid":"TpHE2IShQw-sJ","symbol":"ALGO","name":"Algorand","color":null,"iconUrl":"https://cdn.coinranking.com/lzbmCkUGB/algo.svg","marketCap":"2198328406","price":"0.31336193398363577","listedAt":1562082540,"tier":1,"change":"-7.13","rank":28,"sparkline":["0.3387279059107245","0.33960447654374765","0.3387528632782401","0.33728849659034166","0.3362320127566329","0.3353026876263522","0.33524720825683857","0.3334478138212442","0.32841029913086295","0.3298572823049579","0.3296470294960275","0.33019445864852315","0.33188733194567066","0.3306201386482936","0.32993652419443625","0.3297042437894816","0.3283348930494294","0.32910723981300416","0.33091333980253634","0.3301632231410812","0.3293750439520783","0.3293822678483606","0.3257250971984654","0.3222961123872611","0.3171107739403927"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/TpHE2IShQw-sJ+algorand-algo","24hVolume":"100656678","btcPrice":"0.000016443161265977"},{"uuid":"9_jH48RBW","symbol":"BTCB","name":"Bitcoin BEP2","color":"#ff9d14","iconUrl":"https://cdn.coinranking.com/Swr_SeZio/4023.png","marketCap":"2148089723","price":"19093.961144724017","listedAt":1629334963,"tier":1,"change":"-2.08","rank":29,"sparkline":["19517.568192567353","19544.035967585016","19534.5324966652","19479.083337737316","19463.211729176997","19441.068605116212","19417.34589460331","19384.111502230724","19233.256635092377","19281.375796692217","19309.552774048192","19334.500781203707","19377.051756270946","19366.749202113468","19317.86326823132","19279.829000118752","19227.88086833714","19197.38183530521","19284.612388716956","19243.734456026377","19249.779948447147","19254.5926498183","19247.4558327948","19134.655143496842","19121.583876090168"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/9_jH48RBW+bitcoinbep2-btcb","24hVolume":"22673489","btcPrice":"1.0028180899287102"},{"uuid":"ZlZpzOJo43mIo","symbol":"BCH","name":"Bitcoin Cash","color":"#8dc451","iconUrl":"https://cdn.coinranking.com/By8ziihX7/bch.svg","marketCap":"2112568822","price":"110.42416308022558","listedAt":1541808000,"tier":1,"change":"-5.62","rank":30,"sparkline":["117.56005081000826","117.71237065782286","117.74616923896222","117.33547072740411","117.53342711096377","117.06945355266835","116.94540133803127","116.4724680750463","115.13020819984767","115.43795612386734","115.69034484071328","115.74316570226732","115.8483687203122","115.71294151287276","115.28646128796524","115.01379243160117","114.47565278620961","114.35480605566333","114.2646039187397","113.59487064922739","113.54382352115324","113.44392303873478","112.68765593140844","112.00547273113798","111.11220100132405"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ZlZpzOJo43mIo+bitcoincash-bch","24hVolume":"223029669","btcPrice":"0.005794329573174825"},{"uuid":"65PHZTpmE55b","symbol":"CRO","name":"Cronos","color":"#01275d","iconUrl":"https://cdn.coinranking.com/2o91jm73M/cro.svg","marketCap":"2058413599","price":"0.10207680396962117","listedAt":1548953220,"tier":1,"change":"-4.52","rank":31,"sparkline":["0.10748230279369461","0.10750938227871684","0.10776829107405585","0.1075306051725981","0.10796925406738075","0.10788907387494047","0.10785893214604376","0.10689834668953363","0.10587484287961471","0.10616196380785668","0.10615257015236526","0.10619077219395856","0.10624986878267631","0.10571793465137659","0.1054781831825434","0.10545453208501511","0.105183010893544","0.10506117337926245","0.10529779009754926","0.10529199846614694","0.10537718099274565","0.10544048393374315","0.10495535968461758","0.10452111617016623","0.10300524077820136"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/65PHZTpmE55b+cronos-cro","24hVolume":"30487595","btcPrice":"0.000005356315388568"},{"uuid":"DCrsaMv68","symbol":"NEAR","name":"NEAR Protocol","color":"#000000","iconUrl":"https://cdn.coinranking.com/Cth83dCnl/near.png","marketCap":"1921838896","price":"3.161728743925566","listedAt":1615164591,"tier":1,"change":"-10.05","rank":32,"sparkline":["3.5365722048604558","3.535001548367229","3.528552930570017","3.5174678447812506","3.5198117298155362","3.5114170143872934","3.504589209738755","3.4914455824184447","3.455429141303092","3.462052946587881","3.466061316012953","3.4684962528351306","3.4718563219784317","3.4605307199270166","3.452890559665962","3.4514577960119355","3.434758326145947","3.4312320898841087","3.4402893640097143","3.445152665972188","3.442559966627565","3.4440253510842935","3.3649617172716804","3.2922768444781076","3.2057465977539925"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/DCrsaMv68+nearprotocol-near","24hVolume":"204816973","btcPrice":"0.000165906608230074"},{"uuid":"AaQUAs2Mc","symbol":"LUNC","name":"Terra Classic","color":"#0E3CA5","iconUrl":"https://cdn.coinranking.com/F-PJdF8Um/LUNA.svg","marketCap":"1798378523","price":"0.000272943653474552","listedAt":1565957940,"tier":1,"change":"-9.95","rank":33,"sparkline":["0.000303620527811495","0.000304456713391152","0.000302025160201053","0.000300638650778887","0.000300924086464382","0.000301952015765244","0.000304709853913656","0.000311446868180849","0.00030872271885206","0.000306184589403001","0.00030369670986693","0.000305299648046549","0.000305782789440931","0.000304998714155324","0.00030516279374122","0.000302035124483433","0.000298902162386491","0.000294717990591123","0.000295679419516642","0.000294547685931327","0.000293631792042232","0.00029507954149248","0.000293978958480119","0.00028678162507754","0.000281691595645392"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/AaQUAs2Mc+terraclassic-lunc","24hVolume":"161213060","btcPrice":"1.432227729e-8"},{"uuid":"08CsQa-Ov","symbol":"WEMIX","name":"WEMIX TOKEN","color":"#9bdc70","iconUrl":"https://cdn.coinranking.com/1N84MQsoO/7548.png","marketCap":"1681548705","price":"1.6815487049836193","listedAt":1638249982,"tier":1,"change":"-5.35","rank":34,"sparkline":["1.7785519722561005","1.7858827078668005","1.7802645901879568","1.7764749674253342","1.7754939277589028","1.777827562747726","1.771367618664247","1.7676577036269447","1.7421153664608295","1.74018013648857","1.739447236595497","1.7467725516017982","1.7520953443350693","1.7497201629211947","1.7434300874832234","1.7410855467819677","1.7454145439804871","1.7381732777068986","1.7430858705433145","1.74422154979084","1.7416706732344704","1.7458348133550494","1.7410468949631808","1.726796062998524","1.709852670785355"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/08CsQa-Ov+wemixtoken-wemix","24hVolume":"14705306","btcPrice":"0.000088236551840031"},{"uuid":"SbWqqTui-","symbol":"ENS","name":"EnergySwap","color":"#ffda55","iconUrl":"https://cdn.coinranking.com/fmYxEUV5a/cropped-logo37-Converted-01-192x192.png","marketCap":"1624271124","price":"16.242711242778302","listedAt":1626134763,"tier":1,"change":"-9.62","rank":35,"sparkline":["17.886611128744736","17.98750167854358","17.89495459200179","17.945652772949337","17.961717330829398","17.68920864538644","17.587335784528257","17.46169325348126","17.478761771846223","17.55298689416666","17.474188627274106","17.493497716386933","17.415126957232957","17.1205273019632","16.746911333675556","16.682776901704162","16.65185204721645","16.59275573073735","16.586522851457904","16.599887206420323","16.562716013115207","16.571402638214735","16.400229974032907","16.209816101116832","16.17963770365993"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/SbWqqTui-+energyswap-ens","24hVolume":"21996645","btcPrice":"0.000852310033214311"},{"uuid":"QQ0NCmjVq","symbol":"FLOW","name":"Flow","color":"#9efad7","iconUrl":"https://cdn.coinranking.com/xh8X8QBss/flow.png","marketCap":"1608551134","price":"1.5523558519281844","listedAt":1614963736,"tier":1,"change":"-8.98","rank":36,"sparkline":["1.7126618274219394","1.7095554831546504","1.7074406085892582","1.7013640333391715","1.703657654228842","1.6971787183627416","1.6882451843348478","1.6802226754835359","1.652212266501822","1.6572776591145093","1.6617752743739627","1.6623334664099878","1.6696801648481165","1.663679626307038","1.6561015569342594","1.6522364242137182","1.646089924734656","1.6502065913720891","1.653127600011426","1.6563677492571192","1.646110384789078","1.6191443731879624","1.5945492504616587","1.578245729736617","1.563960546805218"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/QQ0NCmjVq+flow-flow","24hVolume":"42229915","btcPrice":"0.000081457365580245"},{"uuid":"ymQub4fuB","symbol":"FIL","name":"Filecoin","color":"#0090ff","iconUrl":"https://cdn.coinranking.com/vUmvv-IQA/FIL3-filecoin.svg?size=48x48","marketCap":"1518147391","price":"5.115300313250102","listedAt":1602839473,"tier":1,"change":"-5.81","rank":37,"sparkline":["5.461410684977759","5.46016712399476","5.448496205563744","5.430424051396227","5.436227762446354","5.412940415458087","5.408096306573797","5.3882222908284","5.316018138527317","5.331797820466268","5.3352160591954165","5.340638778204145","5.344961442248481","5.331395641661262","5.319693554981338","5.312085583952354","5.271638769077867","5.271489997640401","5.284318748010338","5.291781543272634","5.295597400836922","5.291099316023448","5.229330588428677","5.188614564751749","5.126848037216384"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ymQub4fuB+filecoin-fil","24hVolume":"139569409","btcPrice":"0.000268417120437685"},{"uuid":"FEbS54wxo4oIl","symbol":"VET","name":"VeChain","color":"#4bc0fa","iconUrl":"https://cdn.coinranking.com/B1_TDu9Dm/VEN.svg","marketCap":"1499355876","price":"0.022458646313399416","listedAt":1533427200,"tier":1,"change":"-3.92","rank":38,"sparkline":["0.023439477811355726","0.023452563107489582","0.023423961982248782","0.023396276306953928","0.023418888719649176","0.023412693821209155","0.023531680002954407","0.023456675269474373","0.023233628959632283","0.023300114567050882","0.023312483171922686","0.023331705609271232","0.02336371969795962","0.023395184759605444","0.02332101164595078","0.023285768692513822","0.023126616869325173","0.02313779685062715","0.02321996219989213","0.023203917856843965","0.023216388778476732","0.02321228562709743","0.02302805292414345","0.022877554590587566","0.022660003591013063"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/FEbS54wxo4oIl+vechain-vet","24hVolume":"92065569","btcPrice":"0.000001178481184527"},{"uuid":"bauj_21eYVwso","symbol":"QNT","name":"Quant","color":"#585e63","iconUrl":"https://cdn.coinranking.com/a-i9Dl392/quant.png","marketCap":"1464540277","price":"149.7908281178745","listedAt":1533945600,"tier":1,"change":"-4.17","rank":39,"sparkline":["157.0455387772848","154.40533995389038","153.49628345523342","153.755582164367","153.25217488581978","151.87898019349342","150.85221578616233","149.76886244644376","150.95739958263036","152.3018866867004","151.80292654893285","153.62573302969375","155.0195882167983","153.7412401330177","151.71696167021375","151.03045792339856","150.8616038853544","155.46158698130554","156.98432982407346","155.43105801262126","156.29628186364246","156.85367406322118","155.22391240579103","154.1573346245066","151.50396796957943"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/bauj_21eYVwso+quant-qnt","24hVolume":"155994760","btcPrice":"0.007860031726237051"},{"uuid":"tEf7-dnwV3BXS","symbol":"MANA","name":"Decentraland","color":"#f47e33","iconUrl":"https://cdn.coinranking.com/ph_svUzXs/decentraland(1).svg","marketCap":"1436841945","price":"0.6550466721541853","listedAt":1500336000,"tier":1,"change":"-5.44","rank":40,"sparkline":["0.6968165657453727","0.6965946403343043","0.6955401780631536","0.6943656752832073","0.6946904400161661","0.6920694820553807","0.6906731344821271","0.6884699559084295","0.6815064270359984","0.6834525508878408","0.6847477021508117","0.6847235914154632","0.6852890363868837","0.6845155927854775","0.683817753015771","0.6840496505842923","0.6822651916313429","0.6820176225939646","0.6839712442166291","0.6842503028554356","0.6844446277256846","0.684307758133486","0.6789510676823067","0.6742846183801096","0.6610404699288367"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/tEf7-dnwV3BXS+decentraland-mana","24hVolume":"101366965","btcPrice":"0.000034372515927652"},{"uuid":"jad286TjB","symbol":"HBAR","name":"Hedera","color":"#000000","iconUrl":"https://cdn.coinranking.com/dSCnSLilQ/hedera.svg","marketCap":"1400935705","price":"0.05754286243690513","listedAt":1568704980,"tier":1,"change":"-4.23","rank":41,"sparkline":["0.06026228087146397","0.06033187793028589","0.06027561883323482","0.06010492186635602","0.06003836295600198","0.05978624776086806","0.05969695187791152","0.05958137022962623","0.058789415920620036","0.05915657952754252","0.0592676454127721","0.059672945709016476","0.0603459427699299","0.059938419986995055","0.059843043756257486","0.0597100141741486","0.059472242500280194","0.059567247105076014","0.05983792950971073","0.059876114833285005","0.059895971305400274","0.059986556288869675","0.05949966691547662","0.05879487051280811","0.05804114728365785"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/jad286TjB+hedera-hbar","24hVolume":"47169313","btcPrice":"0.000003019468748892"},{"uuid":"aMNLwaUbY","symbol":"ICP","name":"Internet Computer (DFINITY)","color":"#00042b","iconUrl":"https://cdn.coinranking.com/1uJ_RVrmC/dfinity-icp.png","marketCap":"1394834906","price":"5.23424273507317","listedAt":1601555742,"tier":1,"change":"-10.60","rank":42,"sparkline":["5.885028940406694","5.8977558441432345","5.888637994977309","5.876190897957444","5.8222298464140465","5.803427790120461","5.789688838937986","5.7852249794365855","5.719450363443783","5.7496440651147305","5.755294808760236","5.749794727903299","5.762235632885068","5.745877673087344","5.690721800086487","5.654296523777942","5.65332263296135","5.614875784674768","5.627216943438124","5.630552413080166","5.623059660540579","5.617137362696555","5.51564065813155","5.380008089110393","5.304255859587679"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/aMNLwaUbY+internetcomputerdfinity-icp","24hVolume":"88973019","btcPrice":"0.000274658431877589"},{"uuid":"KfWtaeV1W","symbol":"FRAX","name":"Frax","color":"#000000","iconUrl":"https://cdn.coinranking.com/BpVNCX-NM/frax.png","marketCap":"1363607806","price":"1.0022041695259896","listedAt":1615299931,"tier":1,"change":"0.23","rank":43,"sparkline":["0.9992664794249421","1.0002262738293723","1.000232302327043","1.0004305815641945","0.9997628688987996","1.0001542280862468","1.0000901813731709","1.0002726536482773","1.0004027241363154","0.9991681290039643","0.9999065715062573","0.9994459044714505","0.9989225556828486","1.0000021368171172","1.0000850899550087","0.9993757301700462","1.000001645463064","0.9986108407838368","0.9995979533832419","0.9999580952527024","0.9994610549866184","0.9994705501219832","1.0006918067028483","0.9997682453491867","1.0008650036041942"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/KfWtaeV1W+frax-frax","24hVolume":"2007145","btcPrice":"0.000052589044787458"},{"uuid":"Z96jIvLU7","symbol":"IMX","name":"Immutable X","color":"#000000","iconUrl":"https://cdn.coinranking.com/naRGT2Y_X/10603.png","marketCap":"1356816211","price":"0.6784081053439633","listedAt":1649387294,"tier":1,"change":"-7.87","rank":44,"sparkline":["0.7385540764733416","0.7387892107909404","0.736843563088993","0.7355272480189233","0.7352643279786405","0.7308075850806669","0.7283303584016984","0.7238233054715673","0.7133871809715906","0.712512804820701","0.708489153222375","0.7107255456602884","0.7134397229127725","0.712346711941874","0.7122751076036671","0.7136631057536917","0.7083692013840003","0.7055383865246094","0.7055438616248912","0.706730052352362","0.708779938683232","0.7092020518897018","0.7019354883795684","0.6962978896490684","0.6852037197169683"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Z96jIvLU7+immutablex-imx","24hVolume":"35704153","btcPrice":"0.000035598369395113"},{"uuid":"omwkOTglq","symbol":"EGLD","name":"Elrond","color":"#000000","iconUrl":"https://cdn.coinranking.com/X62ruAuZQ/Elrond.svg","marketCap":"1326807730","price":"56.10098365117234","listedAt":1612524044,"tier":1,"change":"-0.68","rank":45,"sparkline":["56.455542281647396","56.37269672595081","56.59506490012096","56.65755860848807","56.46317225403369","56.25042030082092","56.10646051365647","55.99373403445289","55.17579190312339","55.60488194774725","55.88874738983618","56.66768754640032","56.80821027855892","56.49869101825159","56.36999154412585","56.702814495523576","56.604511337062576","56.93403500717611","56.96287587606324","57.17233232257158","57.34969960951747","57.129882789838355","56.87098144117966","56.92621825878148","56.36991116030308"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/omwkOTglq+elrond-egld","24hVolume":"79642695","btcPrice":"0.002943808488890393"},{"uuid":"fsIbGOEJWbzxG","symbol":"XTZ","name":"Tezos","color":"#2c7df7","iconUrl":"https://cdn.coinranking.com/HkLUdilQ7/xtz.svg","marketCap":"1222847444","price":"1.3464716853331917","listedAt":1530662400,"tier":1,"change":"-5.65","rank":46,"sparkline":["1.4358986631746915","1.4358190109653854","1.4346316657068616","1.4297195080813876","1.4295114026968183","1.4232982445478493","1.4208847961605975","1.416629388877603","1.3928396824392562","1.3982965147629787","1.4004435423654986","1.4018371801625011","1.404644313527332","1.399656275124715","1.397785064250421","1.3972126640240337","1.390336616800803","1.3920144310667881","1.3937870734971116","1.3970727985908602","1.3971721233632548","1.3957300374672263","1.3873062531302125","1.379944210745551","1.3594549983840765"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/fsIbGOEJWbzxG+tezos-xtz","24hVolume":"21567765","btcPrice":"0.000070653926533275"},{"uuid":"pxtKbG5rg","symbol":"SAND","name":"The Sandbox","color":"#00adef","iconUrl":"https://cdn.coinranking.com/kd_vwOcnI/sandbox.png","marketCap":"1184610175","price":"0.7878124927811557","listedAt":1613583024,"tier":1,"change":"-5.67","rank":47,"sparkline":["0.8391252245057487","0.8398353991587618","0.839447858542598","0.836777642538831","0.8357826597915352","0.8337462213938087","0.8323150469457988","0.8298854974248494","0.8217950733820105","0.8243725426081188","0.8257783489139435","0.8269930349183021","0.82834027889644","0.8273023718052273","0.8252808204274694","0.8251924025273044","0.8224711654106814","0.8226061954661672","0.8237994288791948","0.8231112056261928","0.8232512574811699","0.8229654891785493","0.8182592249811548","0.8141572943440636","0.7984772451510834"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/pxtKbG5rg+thesandbox-sand","24hVolume":"67213948","btcPrice":"0.000041339187888814"},{"uuid":"GSCt2y6YSgO26","symbol":"CHZ","name":"Chiliz","color":"#d05e72","iconUrl":"https://cdn.coinranking.com/gTsOlSnwR/4066.png","marketCap":"1110124765","price":"0.1868622362362506","listedAt":1562332440,"tier":1,"change":"-13.59","rank":48,"sparkline":["0.21687217140550805","0.2166581444556987","0.21606106951117457","0.21558453990448492","0.2155917912662132","0.21460813457565675","0.2138407144130764","0.21119334291108852","0.20406711176396244","0.20385044186873064","0.20431643074193853","0.20443402008781883","0.20509518763794296","0.2040570389389804","0.20271370825502513","0.20230245034754588","0.20007494004115414","0.19980037641227813","0.20037524578135063","0.20052244757309365","0.20046233420877863","0.2004588031725169","0.19659869555852563","0.19096343731662402","0.1880300979166308"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/GSCt2y6YSgO26+chiliz-chz","24hVolume":"370876863","btcPrice":"0.000009805293980328"},{"uuid":"DXwP4wF9ksbBO","symbol":"HT","name":"Huobi Token","color":"#2daadf","iconUrl":"https://cdn.coinranking.com/ryFpQe0c7/ht.svg","marketCap":"1069290281","price":"5.21855378165937","listedAt":1517702400,"tier":1,"change":"25.47","rank":49,"sparkline":["4.2656490948475225","4.294349867609839","4.355386869302702","4.418410364414004","4.408943559093722","4.448953712936716","4.4132384268806595","4.374028634502124","4.597818695200795","5.0498599537676325","4.983095083388702","4.885459752599654","4.8819920983216285","4.9759472771240585","5.168650631763928","5.316597133508735","5.276754827428595","5.2989122312058266","5.242578842634648","5.219453685991482","5.20955615579291","5.116511352336516","5.1695972582634715","5.145985199783568","5.1614068498962515"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/DXwP4wF9ksbBO+huobitoken-ht","24hVolume":"85079725","btcPrice":"0.000273835179391884"},{"uuid":"Pe93bIOD2","symbol":"LDO","name":"Lido DAO Token","color":"#77cced","iconUrl":"https://cdn.coinranking.com/Wp6LFY6ZZ/8000.png","marketCap":"1030089802","price":"1.2806928309055696","listedAt":1627361901,"tier":1,"change":"-11.74","rank":50,"sparkline":["1.45774415659554","1.461862720093767","1.459217427621416","1.4527143941446112","1.453258922823997","1.4489091517170558","1.447320561963645","1.4380087379834607","1.4051610733565734","1.4012499727629433","1.3952470870521374","1.399207810772896","1.3925478693378885","1.3818874151712748","1.367640009680698","1.3658142761855507","1.350615160377156","1.3416323940203634","1.342074404496167","1.3413397282632267","1.3463690012682163","1.3455511192372636","1.3302833848174163","1.320008326370752","1.3023846203462348"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Pe93bIOD2+lidodaotoken-ldo","24hVolume":"9099559","btcPrice":"0.000067202287409485"}]}}

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 19057.280343776176
Icon Url: https://cdn.coinranking.com/bOabBYkcX/bitcoin_btc.svg
Rank Url: https://coinranking.com/coin/Qwsogvtv82FCd+bitcoin-btc

ETH 1278.7448565611858
Icon Url: https://cdn.coinranking.com/rk4RKHOuW/eth.svg
Rank Url: https://coinranking.com/coin/razxDUgYGNAdQ+ethereum-eth

USDT 1.0006942257899014
Icon Url: https://cdn.coinranking.com/mgHqwlCLj/usdt.svg
Rank Url: https://coinranking.com/coin/HIVsRcGKkPFtW+tetherusd-usdt

USDC 1.001516752958171
Icon Url: https://cdn.coinranking.com/jkDf8sQbY/usdc.svg
Rank Url: https://coinranking.com/coin/aKzUVe4Hh_CON+usdc-usdc

BNB 269.35239602160357
Icon Url: https://cdn.coinranking.com/B1N19L_dZ/bnb.svg
Rank Url: https://coinranking.com/coin/WcwrkfNI4FUAe+binancecoin-bnb

XRP 0.49374621214983844
Icon Url: https://cdn.coinranking.com/B1oPuTyfX/xrp.svg
Rank Url: https://coinranking.com/coin/-l8Mn2pVlRs-p+xrp-xrp

BUSD 1.0011741265983014
Icon Url: https://cdn.coinranking.com/6SJHRfClq/busd.svg
Rank Url: https://coinranking.com/coin/vSo2fu9iE1s0Y+binanceusd-busd

ADA 0.3932226405369482
Icon Url: https://cdn.coinranking.com/ryY28nXhW/ada.svg
Rank Url: https://coinranking.com/coin/qzawljRxB5bYu+cardano-ada

SOL 31.523242018327903
Icon Url: https://cdn.coinranking.com/yvUG4Qex5/solana.svg
Rank Url: https://coinranking.com/coin/zNZHO_Sjf+solana-sol

DOGE 0.05863166282740626
Icon Url: https://cdn.coinranking.com/H1arXIuOZ/doge.svg
Rank Url: https://coinranking.com/coin/a91GCGd_u96cF+dogecoin-doge

DOT 6.190998900134086
Icon Url: https://cdn.coinranking.com/RsljYqnbu/polkadot.svg
Rank Url: https://coinranking.com/coin/25W7FG7om+polkadot-dot

MATIC 0.8046293570356682
Icon Url: https://cdn.coinranking.com/WulYRq14o/polygon.png
Rank Url: https://coinranking.com/coin/uW2tk-ILY0ii+polygon-matic

DAI 1.0016189326906015
Icon Url: https://cdn.coinranking.com/mAZ_7LwOE/mutli-collateral-dai.svg
Rank Url: https://coinranking.com/coin/MoTuySvg7+dai-dai

SHIB 0.00001010227002507
Icon Url: https://cdn.coinranking.com/D69LfI-tm/shib.png
Rank Url: https://coinranking.com/coin/xz24e0BjL+shibainu-shib

TRX 0.06215358754277865
Icon Url: https://cdn.coinranking.com/behejNqQs/trx.svg
Rank Url: https://coinranking.com/coin/qUhEFk1I61atv+tron-trx

WETH 1283.4302597229096
Icon Url: https://cdn.coinranking.com/KIviQyZlt/weth.svg
Rank Url: https://coinranking.com/coin/Mtfb0obXVh59u+wrappedether-weth

UNI 6.38200976407113
Icon Url: https://cdn.coinranking.com/1heSvUgtl/uniswap-v2.svg?size=48x48
Rank Url: https://coinranking.com/coin/_H5FVG9iW+uniswap-uni

AVAX 15.916309864882791
Icon Url: https://cdn.coinranking.com/S0C6Cw2-w/avax-avalanche.png
Rank Url: https://coinranking.com/coin/dvUj0CzDZ+avalanche-avax

BIT 0.4372940449727807
Icon Url: https://cdn.coinranking.com/0ClFW1IpO/bitdao.png
Rank Url: https://coinranking.com/coin/N2IgQ9Xme+bitdao-bit

CAKE 4.452946301781518
Icon Url: https://cdn.coinranking.com/aRtgdw7bQ/pancakeswap-cake-logo.png
Rank Url: https://coinranking.com/coin/ncYFcP709+pancakeswap-cake

OKB 15.658048903533913
Icon Url: https://cdn.coinranking.com/xcZdYtX6E/okx.png
Rank Url: https://coinranking.com/coin/PDKcptVnzJTmN+okb-okb

ATOM 12.310514152737007
Icon Url: https://cdn.coinranking.com/HJzHboruM/atom.svg
Rank Url: https://coinranking.com/coin/Knsels4_Ol-Ny+cosmos-atom

LTC 51.813480569758035
Icon Url: https://cdn.coinranking.com/BUvPxmc9o/ltcnew.svg
Rank Url: https://coinranking.com/coin/D7B1x_ks7WhV5+litecoin-ltc

FTT 23.40123722292071
Icon Url: https://cdn.coinranking.com/WyBm4_EzM/ftx-exchange.svg
Rank Url: https://coinranking.com/coin/NfeOYfNcl+ftxtoken-ftt

ETC 24.11840005360424
Icon Url: https://cdn.coinranking.com/rJfyor__W/etc.svg
Rank Url: https://coinranking.com/coin/hnfQfsYfeIGUQ+ethereumclassic-etc

XMR 140.8167083471278
Icon Url: https://cdn.coinranking.com/Syz-oSd_Z/xmr.svg
Rank Url: https://coinranking.com/coin/3mVx2FX_iJFp5+monero-xmr

XLM 0.12195813717616484
Icon Url: https://cdn.coinranking.com/78CxK1xsp/Stellar_symbol_black_RGB.svg
Rank Url: https://coinranking.com/coin/f3iaFeCKEmkaZ+stellar-xlm

ALGO 0.31336193398363577
Icon Url: https://cdn.coinranking.com/lzbmCkUGB/algo.svg
Rank Url: https://coinranking.com/coin/TpHE2IShQw-sJ+algorand-algo

BTCB 19093.961144724017
Icon Url: https://cdn.coinranking.com/Swr_SeZio/4023.png
Rank Url: https://coinranking.com/coin/9_jH48RBW+bitcoinbep2-btcb

BCH 110.42416308022558
Icon Url: https://cdn.coinranking.com/By8ziihX7/bch.svg
Rank Url: https://coinranking.com/coin/ZlZpzOJo43mIo+bitcoincash-bch

CRO 0.10207680396962117
Icon Url: https://cdn.coinranking.com/2o91jm73M/cro.svg
Rank Url: https://coinranking.com/coin/65PHZTpmE55b+cronos-cro

NEAR 3.161728743925566
Icon Url: https://cdn.coinranking.com/Cth83dCnl/near.png
Rank Url: https://coinranking.com/coin/DCrsaMv68+nearprotocol-near

LUNC 0.000272943653474552
Icon Url: https://cdn.coinranking.com/F-PJdF8Um/LUNA.svg
Rank Url: https://coinranking.com/coin/AaQUAs2Mc+terraclassic-lunc

WEMIX 1.6815487049836193
Icon Url: https://cdn.coinranking.com/1N84MQsoO/7548.png
Rank Url: https://coinranking.com/coin/08CsQa-Ov+wemixtoken-wemix

ENS 16.242711242778302
Icon Url: https://cdn.coinranking.com/fmYxEUV5a/cropped-logo37-Converted-01-192x192.png
Rank Url: https://coinranking.com/coin/SbWqqTui-+energyswap-ens

FLOW 1.5523558519281844
Icon Url: https://cdn.coinranking.com/xh8X8QBss/flow.png
Rank Url: https://coinranking.com/coin/QQ0NCmjVq+flow-flow

FIL 5.115300313250102
Icon Url: https://cdn.coinranking.com/vUmvv-IQA/FIL3-filecoin.svg?size=48x48
Rank Url: https://coinranking.com/coin/ymQub4fuB+filecoin-fil

VET 0.022458646313399416
Icon Url: https://cdn.coinranking.com/B1_TDu9Dm/VEN.svg
Rank Url: https://coinranking.com/coin/FEbS54wxo4oIl+vechain-vet

QNT 149.7908281178745
Icon Url: https://cdn.coinranking.com/a-i9Dl392/quant.png
Rank Url: https://coinranking.com/coin/bauj_21eYVwso+quant-qnt

MANA 0.6550466721541853
Icon Url: https://cdn.coinranking.com/ph_svUzXs/decentraland(1).svg
Rank Url: https://coinranking.com/coin/tEf7-dnwV3BXS+decentraland-mana

HBAR 0.05754286243690513
Icon Url: https://cdn.coinranking.com/dSCnSLilQ/hedera.svg
Rank Url: https://coinranking.com/coin/jad286TjB+hedera-hbar

ICP 5.23424273507317
Icon Url: https://cdn.coinranking.com/1uJ_RVrmC/dfinity-icp.png
Rank Url: https://coinranking.com/coin/aMNLwaUbY+internetcomputerdfinity-icp

FRAX 1.0022041695259896
Icon Url: https://cdn.coinranking.com/BpVNCX-NM/frax.png
Rank Url: https://coinranking.com/coin/KfWtaeV1W+frax-frax

IMX 0.6784081053439633
Icon Url: https://cdn.coinranking.com/naRGT2Y_X/10603.png
Rank Url: https://coinranking.com/coin/Z96jIvLU7+immutablex-imx

EGLD 56.10098365117234
Icon Url: https://cdn.coinranking.com/X62ruAuZQ/Elrond.svg
Rank Url: https://coinranking.com/coin/omwkOTglq+elrond-egld

XTZ 1.3464716853331917
Icon Url: https://cdn.coinranking.com/HkLUdilQ7/xtz.svg
Rank Url: https://coinranking.com/coin/fsIbGOEJWbzxG+tezos-xtz

SAND 0.7878124927811557
Icon Url: https://cdn.coinranking.com/kd_vwOcnI/sandbox.png
Rank Url: https://coinranking.com/coin/pxtKbG5rg+thesandbox-sand

CHZ 0.1868622362362506
Icon Url: https://cdn.coinranking.com/gTsOlSnwR/4066.png
Rank Url: https://coinranking.com/coin/GSCt2y6YSgO26+chiliz-chz

HT 5.21855378165937
Icon Url: https://cdn.coinranking.com/ryFpQe0c7/ht.svg
Rank Url: https://coinranking.com/coin/DXwP4wF9ksbBO+huobitoken-ht

LDO 1.2806928309055696
Icon Url: https://cdn.coinranking.com/Wp6LFY6ZZ/8000.png
Rank Url: https://coinranking.com/coin/Pe93bIOD2+lidodaotoken-ldo

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.

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.