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': "7798c19b40msh9672054d4a4cb3cp176d9cjsn9d6a5cf1b9bf",
    '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": "7798c19b40msh9672054d4a4cb3cp176d9cjsn9d6a5cf1b9bf",  # 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":1500,"totalCoins":15880,"totalMarkets":29499,"totalExchanges":173,"totalMarketCap":"983612677451","total24hVolume":"62240853493"},"coins":[{"uuid":"Qwsogvtv82FCd","symbol":"BTC","name":"Bitcoin","color":"#f7931A","iconUrl":"https://cdn.coinranking.com/bOabBYkcX/bitcoin_btc.svg","marketCap":"384354342963","price":"20048.365017211556","listedAt":1330214400,"tier":1,"change":"0.09","rank":1,"sparkline":["20051.438940241358","20112.942136659854","20157.819968805998","20254.029991435713","20303.466331336567","20352.46379557382","20340.736960702463","20383.68761580728","20327.56610010769","20249.0598171069","20216.33733971908","20183.62088115384","20159.744112050765","20135.103620334423","20152.838726388378","20223.999055486038","20188.386841136497","20099.650776087008","20022.525302913724","20060.360700925474","20058.49372151537","20101.79019444109","20068.60680042962","20037.990245449524","20040.006424632564"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Qwsogvtv82FCd+bitcoin-btc","24hVolume":"34448619621","btcPrice":"1"},{"uuid":"razxDUgYGNAdQ","symbol":"ETH","name":"Ethereum","color":"#3C3C3D","iconUrl":"https://cdn.coinranking.com/rk4RKHOuW/eth.svg","marketCap":"166806840532","price":"1363.7268444859621","listedAt":1438905600,"tier":1,"change":"1.20","rank":2,"sparkline":["1349.1166752669458","1351.4752396724552","1352.7565855474788","1364.7069535474543","1375.2332279379189","1375.0120085043593","1372.8560956800545","1376.1109732749908","1374.2091487475132","1367.8770624662602","1366.413446523702","1362.598875204337","1360.3636987191837","1358.3640048395087","1360.4342504890021","1369.213281754299","1368.3676032576047","1364.1360571475047","1363.3432991494524","1364.0707758574745","1363.3606085887561","1364.148825121332","1361.3954792114398","1359.0031784082305","1360.6275497370877"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/razxDUgYGNAdQ+ethereum-eth","24hVolume":"11436403892","btcPrice":"0.0680218483310335"},{"uuid":"HIVsRcGKkPFtW","symbol":"USDT","name":"Tether USD","color":"#22a079","iconUrl":"https://cdn.coinranking.com/mgHqwlCLj/usdt.svg","marketCap":"68212126851","price":"0.9999934382419505","listedAt":1420761600,"tier":1,"change":"-0.26","rank":3,"sparkline":["1.0004730164696796","0.9996925245670222","1.0003305556540378","0.9991437132975184","0.9997206896584828","1.0003229307902617","1.0002174675069595","0.999925766541416","1.000708618241012","1.0010737689896891","1.0002632048681543","1.00097822584521","1.0002453605323327","1.0005499753502725","0.9999702733020642","0.9994598707479958","1.0012863570809547","1.0016448157620703","0.9996482331493484","1.0004215336032052","0.9999570213425627","0.9999224272643209","1.0007392056569566","1.000325844124763","1.0001333206640304"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/HIVsRcGKkPFtW+tetherusd-usdt","24hVolume":"40191076559","btcPrice":"0.000049879051852032"},{"uuid":"aKzUVe4Hh_CON","symbol":"USDC","name":"USDC","color":"#7894b4","iconUrl":"https://cdn.coinranking.com/jkDf8sQbY/usdc.svg","marketCap":"46264937814","price":"1.0001439253592908","listedAt":1539043200,"tier":1,"change":"-0.15","rank":4,"sparkline":["1.0003790781178878","0.9997290863175305","1.0003038765412497","0.9991408722230394","0.9997209463954263","1.0001156279108188","1.0002132589197983","0.999979672700525","1.0007058659518255","1.0009680461396826","1.0002125205262982","1.0008248585454766","1.0001965553835719","1.0005780931027144","1.0000088554796078","0.9994586243665149","1.0011869248897938","1.0015496148117664","0.9997673802296243","1.0003598578573154","1.0000778482427792","0.9998861638814902","1.0006873238669673","1.0002882569057026","1.0001093290939425"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/aKzUVe4Hh_CON+usdc-usdc","24hVolume":"3357548862","btcPrice":"0.000049886558056014"},{"uuid":"WcwrkfNI4FUAe","symbol":"BNB","name":"Binance Coin","color":"#e8b342","iconUrl":"https://cdn.coinranking.com/B1N19L_dZ/bnb.svg","marketCap":"41778239691","price":"288.372850606221","listedAt":1503014400,"tier":1,"change":"-1.62","rank":5,"sparkline":["293.0339632140167","293.22632610181876","293.9558805163323","295.03284994285843","297.1816835216467","296.57165154567053","296.508723433339","296.27500319415884","295.95929231412583","295.2368476142224","294.87128482644766","295.0512570831633","294.5306048069131","294.30050189031186","294.22403335151813","294.80827509690437","294.33033971155965","293.96591310440675","293.66576108995565","293.99310192770326","293.69072498915045","293.4540279331547","293.23188737664185","293.09086576852025","290.12424881390194"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/WcwrkfNI4FUAe+binancecoin-bnb","24hVolume":"864595768","btcPrice":"0.01438385875150679"},{"uuid":"-l8Mn2pVlRs-p","symbol":"XRP","name":"XRP","color":"#000000","iconUrl":"https://cdn.coinranking.com/B1oPuTyfX/xrp.svg","marketCap":"24922289815","price":"0.4998596422677392","listedAt":1421798400,"tier":1,"change":"1.07","rank":6,"sparkline":["0.4936121327589804","0.49360848838582033","0.49055029363897007","0.49224624716168","0.49591130268111816","0.4951932790046478","0.49595231887605623","0.5006001796445517","0.5025322706608095","0.4988268286009171","0.49511942477701776","0.4937997408415523","0.4938461715574201","0.4949672333116952","0.49671660295169745","0.4983157134968618","0.4984385599250301","0.4958643382230643","0.4954888154508337","0.4956388106133542","0.49687913330335365","0.49710524663432437","0.4967817423491458","0.4960523063301114","0.5002588730645078"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/-l8Mn2pVlRs-p+xrp-xrp","24hVolume":"1897470292","btcPrice":"0.000024932688617681"},{"uuid":"vSo2fu9iE1s0Y","symbol":"BUSD","name":"Binance USD","color":"#f0b90b","iconUrl":"https://cdn.coinranking.com/6SJHRfClq/busd.svg","marketCap":"21378094996","price":"0.9998341667790431","listedAt":1563197940,"tier":1,"change":"-0.28","rank":7,"sparkline":["1.000400357879546","0.9997126067360349","1.0002864262312419","0.9990306013607333","0.9996281277025894","1.0001801913869788","1.000112080834013","0.9998221448047259","1.0006914671738822","1.0010002833226768","1.0001548975570813","1.0008893072028962","1.0001675248577555","1.0004436296308015","0.9998831620327592","0.9993790802417244","1.0011655146499898","1.0015608327721508","0.9996737479147666","1.0003874163381075","0.999855178764249","0.9997695857566036","1.0006363550917916","1.0003015517514349","1.0001110800082091"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/vSo2fu9iE1s0Y+binanceusd-busd","24hVolume":"6496557308","btcPrice":"0.000049871107490346"},{"uuid":"qzawljRxB5bYu","symbol":"ADA","name":"Cardano","color":"#3cc8c8","iconUrl":"https://cdn.coinranking.com/ryY28nXhW/ada.svg","marketCap":"13375082160","price":"0.4298943742278509","listedAt":1506902400,"tier":1,"change":"0.15","rank":8,"sparkline":["0.42939125650203785","0.43033129399842107","0.431078111896934","0.4318859878379686","0.4357131618197005","0.43568381169625015","0.4346962887724402","0.4350131875819571","0.43469738319003864","0.43326982424487304","0.43263774502568014","0.43191341474300415","0.4312921949359245","0.4311011590020075","0.4302280684331196","0.4319813231178509","0.43173383257478504","0.4303997167352433","0.429398559339474","0.4299648257425132","0.4297343398397519","0.42997828353732326","0.42937033740290426","0.42883620108710657","0.42920069115240905"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/qzawljRxB5bYu+cardano-ada","24hVolume":"747679271","btcPrice":"0.000021442864485896"},{"uuid":"zNZHO_Sjf","symbol":"SOL","name":"Solana","color":"#9cddec","iconUrl":"https://cdn.coinranking.com/yvUG4Qex5/solana.svg","marketCap":"11976043875","price":"33.71428257698631","listedAt":1586539320,"tier":1,"change":"-0.19","rank":9,"sparkline":["33.75977114711794","33.875549349957005","34.01919374746187","34.25583589027168","34.33192527709708","34.34811446907118","34.327771426896376","34.39163652190693","34.37437113302313","34.210536634835925","34.010295904098804","34.032297629030815","34.0205375439139","33.986450347226565","33.97284356925897","34.12322348136839","34.04818308388973","33.90841528770745","33.922236226998955","33.895084271212774","33.877508596833344","33.769632367031555","33.71898828195219","33.69001212339477","33.72267866886839"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/zNZHO_Sjf+solana-sol","24hVolume":"728230383","btcPrice":"0.001681647483375454"},{"uuid":"a91GCGd_u96cF","symbol":"DOGE","name":"Dogecoin","color":"#c2a633","iconUrl":"https://cdn.coinranking.com/H1arXIuOZ/doge.svg","marketCap":"8490771840","price":"0.06399881605101142","listedAt":1391212800,"tier":1,"change":"-0.71","rank":10,"sparkline":["0.06430001652573364","0.06437036408966565","0.06456880597204392","0.06502233408584714","0.06503812200415436","0.06503998592742274","0.06588520090979873","0.06601129659338578","0.06581176470778156","0.06553294673649296","0.06533678130300317","0.06510197364336227","0.06525813392333525","0.06507123735868817","0.06508747877233641","0.06537694106515178","0.06521416310707462","0.06486795280882116","0.06440018609785521","0.06431000551190193","0.06399099516985579","0.0639611688502269","0.06388198077385676","0.06396888900414123","0.06390412971383753"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/a91GCGd_u96cF+dogecoin-doge","24hVolume":"549013562","btcPrice":"0.00000319222121086"},{"uuid":"uW2tk-ILY0ii","symbol":"MATIC","name":"Polygon","color":"#8247e5","iconUrl":"https://cdn.coinranking.com/WulYRq14o/polygon.png","marketCap":"7359047093","price":"0.8404891786387144","listedAt":1558961160,"tier":1,"change":"-0.30","rank":11,"sparkline":["0.8437744357312483","0.8509094697048541","0.8529940032792178","0.8540440777034858","0.8516241240942773","0.8496744646261335","0.8469999329838124","0.8481864165795252","0.8466077838956056","0.84420107235308","0.845768857513781","0.8474973485957346","0.8463925672110996","0.8432430183950218","0.8407816804410218","0.8419007497492077","0.8398864867524278","0.8393073071328305","0.8429567390022452","0.8430941255831178","0.8444119779861358","0.8446502533596543","0.8422100742264239","0.8398203812650741","0.8392859340943655"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/uW2tk-ILY0ii+polygon-matic","24hVolume":"508406775","btcPrice":"0.000041923078411489"},{"uuid":"25W7FG7om","symbol":"DOT","name":"Polkadot","color":"#d64cA8","iconUrl":"https://cdn.coinranking.com/RsljYqnbu/polkadot.svg","marketCap":"7337905156","price":"6.3785000633196605","listedAt":1598365200,"tier":1,"change":"-0.45","rank":12,"sparkline":["6.39825823489953","6.409513679699773","6.429741803717237","6.456004351045777","6.48959781266168","6.502842344430388","6.494975652303574","6.498153272584972","6.477193762524708","6.4749696116534","6.446783196251528","6.4451248697841494","6.445036089260377","6.436040246095806","6.435080457086081","6.463836456516857","6.450387542070514","6.421359237807177","6.391124134834344","6.389976567958392","6.385572049998837","6.392125200223458","6.382091060151221","6.386981587242469","6.371255606973179"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/25W7FG7om+polkadot-dot","24hVolume":"218901130","btcPrice":"0.000318155623056728"},{"uuid":"xz24e0BjL","symbol":"SHIB","name":"Shiba Inu","color":"#fda32b","iconUrl":"https://cdn.coinranking.com/D69LfI-tm/shib.png","marketCap":"6654002522","price":"0.000011286461059515","listedAt":1620650373,"tier":1,"change":"-0.56","rank":13,"sparkline":["0.000011388926295804","0.000011400691835227","0.000011433362145591","0.000011491345676996","0.000011523072429884","0.000011526229724601","0.000011561968127599","0.000011585318815413","0.000011497977586636","0.000011468707147471","0.000011434052857603","0.00001144032221974","0.000011461144205322","0.000011476554808705","0.000011469743005642","0.00001147197624755","0.000011424815330699","0.000011366708333454","0.0000113570498162","0.000011330129168691","0.000011283648128574","0.000011278387257469","0.000011289529854914","0.000011276233126799","0.000011273560500492"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/xz24e0BjL+shibainu-shib","24hVolume":"295884874","btcPrice":"5.6296167e-10"},{"uuid":"MoTuySvg7","symbol":"DAI","name":"Dai","color":null,"iconUrl":"https://cdn.coinranking.com/mAZ_7LwOE/mutli-collateral-dai.svg","marketCap":"6330102326","price":"0.9999136316591463","listedAt":1585574040,"tier":1,"change":"-0.12","rank":14,"sparkline":["1.0001442146345538","0.9995536933387662","0.9998892692241316","0.9989521525504824","0.9994530889305914","0.9997283495960755","0.9998553697654398","0.9995096259449162","1.00014999944705","1.000547118017383","1.0000224010848462","1.0003550198188038","1.0000223644977213","1.0001689023102156","0.9997500246036027","0.999188166117977","1.0005244452746045","1.0009465956605519","0.999923212227354","0.999943746062425","0.9998895246210896","0.9996584146724661","1.00032070114622","1.0001058587674057","0.9999037241650416"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/MoTuySvg7+dai-dai","24hVolume":"124698370","btcPrice":"0.000049875071149229"},{"uuid":"qUhEFk1I61atv","symbol":"TRX","name":"TRON","color":"#eb0029","iconUrl":"https://cdn.coinranking.com/behejNqQs/trx.svg","marketCap":"5777074397","price":"0.06256558134968382","listedAt":1505260800,"tier":1,"change":"0.36","rank":15,"sparkline":["0.06236865465429385","0.06246589991130288","0.06240843270681821","0.062249161574027316","0.06223099830897218","0.06264617941013605","0.06281452510294","0.06276275207762542","0.06268343841288901","0.06255691626086467","0.0624515709368335","0.062470443380712434","0.06256137344897823","0.06269756605100256","0.06269254530093321","0.06269809717602999","0.06270258509423554","0.06262935941097252","0.0625525372842027","0.0626080433578714","0.06263852382635865","0.06265458985596026","0.06258971581342093","0.06255323825419136","0.06256018276012307"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/qUhEFk1I61atv+tron-trx","24hVolume":"339553441","btcPrice":"0.000003120732353784"},{"uuid":"Mtfb0obXVh59u","symbol":"WETH","name":"Wrapped Ether","color":"#303030","iconUrl":"https://cdn.coinranking.com/KIviQyZlt/weth.svg","marketCap":"5506331908","price":"1363.1831262096398","listedAt":1600259445,"tier":1,"change":"0.91","rank":16,"sparkline":["1349.13607829603","1351.4689477854226","1354.685548232379","1361.146588456366","1373.1112591782544","1375.4567308292258","1373.5021921077062","1374.5798088672896","1374.2047922199295","1370.3789875745763","1366.6984725193515","1364.4398969103008","1361.7692633130323","1360.874730475116","1360.5880536977058","1367.7933188873656","1371.0864182649937","1366.2849418001506","1363.6612621508384","1366.3897957603679","1362.6017418911797","1363.558194381478","1361.1032201925939","1358.1013179936974","1359.5832745179157"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Mtfb0obXVh59u+wrappedether-weth","24hVolume":"190296605","btcPrice":"0.06801276462109211"},{"uuid":"_H5FVG9iW","symbol":"UNI","name":"Uniswap","color":"#ff007a","iconUrl":"https://cdn.coinranking.com/1heSvUgtl/uniswap-v2.svg?size=48x48","marketCap":"5412801667","price":"6.970342314938424","listedAt":1600323371,"tier":1,"change":"3.30","rank":17,"sparkline":["6.7736642117361905","6.756076217414185","6.793449625987095","6.865859893412923","6.937483195481218","6.979515536920047","6.9478029429015224","6.9284625247560845","6.907914104712911","6.874769405900166","6.896114575710537","6.902438327868096","6.863039316865727","6.8298809342946445","6.841694456601706","6.90374298301861","6.8980780970926565","6.846666245892528","6.840143513460894","6.886346571294433","6.894919048207694","6.8980327967208135","6.897799219282073","6.917336871562214","6.9384106402636725"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/_H5FVG9iW+uniswap-uni","24hVolume":"240553805","btcPrice":"0.000347676347121293"},{"uuid":"dvUj0CzDZ","symbol":"AVAX","name":"Avalanche","color":"#e84242","iconUrl":"https://cdn.coinranking.com/S0C6Cw2-w/avax-avalanche.png","marketCap":"5075125889","price":"17.140177883740314","listedAt":1600961596,"tier":1,"change":"-0.60","rank":18,"sparkline":["17.254732588660875","17.31200366632601","17.356953304800275","17.445230081280297","17.540093125466566","17.549902978316823","17.521869854955458","17.57089756434244","17.511675802061724","17.428511702438602","17.401335012223097","17.367848226413336","17.336368659218273","17.319601875912156","17.320429202377582","17.375834229410586","17.37115155021162","17.337499378166246","17.29492516682681","17.27482970087828","17.236186499512122","17.23084707590994","17.187481717207028","17.155821443785648","17.14078782290297"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/dvUj0CzDZ+avalanche-avax","24hVolume":"253512052","btcPrice":"0.000854941431334947"},{"uuid":"x4WXHge-vvFY","symbol":"WBTC","name":"Wrapped BTC","color":"#000000","iconUrl":"https://cdn.coinranking.com/o3-8cvCHu/wbtc[1].svg","marketCap":"4906795698","price":"20047.65670389833","listedAt":1549894980,"tier":1,"change":"0.00","rank":19,"sparkline":["20051.22405616085","20110.602103151356","20155.552573913872","20251.49133520362","20298.639411610195","20350.38567650615","20339.07972321146","20380.795072455694","20324.41856067999","20246.294276116678","20211.982370889044","20181.299321117534","20155.621076440202","20130.24398537466","20151.81371000324","20220.458796392188","20191.06461094672","20102.3711890372","20023.818445349818","20063.904548084807","20060.09333245677","20106.126030789226","20068.970588505534","20037.981397876472","20038.946703723883"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/x4WXHge-vvFY+wrappedbtc-wbtc","24hVolume":"40636617","btcPrice":"0.9999646697716937"},{"uuid":"Knsels4_Ol-Ny","symbol":"ATOM","name":"Cosmos","color":"#5064fb","iconUrl":"https://cdn.coinranking.com/HJzHboruM/atom.svg","marketCap":"4081058736","price":"13.109745393055944","listedAt":1552520100,"tier":1,"change":"2.04","rank":20,"sparkline":["12.874689417804111","12.977240987750184","12.999694810987828","13.05809448077896","13.134456340172274","13.166373400713976","13.174046618107784","13.156595139367123","13.136832518684233","13.059151743839621","13.024245747988846","13.012560239822703","12.998975121153673","12.998577583467394","12.961451954944232","13.060564440903033","13.110658052250319","13.099438593619361","13.13330326447949","13.33452783192435","13.373831271270106","13.343650016008963","13.181674409038528","13.131683725387289","13.11536231838439"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Knsels4_Ol-Ny+cosmos-atom","24hVolume":"309996311","btcPrice":"0.000653905960999872"},{"uuid":"PDKcptVnzJTmN","symbol":"OKB","name":"OKB","color":"#2d60e0","iconUrl":"https://cdn.coinranking.com/xcZdYtX6E/okx.png","marketCap":"3936402224","price":"15.643761032184168","listedAt":1538524800,"tier":1,"change":"0.08","rank":21,"sparkline":["15.560986349984056","15.561097044869294","15.520784658634735","15.569346159010081","15.638549620210085","15.735124066059186","15.725775504001712","15.757115892473582","15.718908551335334","15.673810075767081","15.65842199459123","15.651646315234636","15.638815307350377","15.638325526594082","15.630250194419004","15.770101867167902","15.772787444807776","15.726419071810144","15.730397527991796","15.706278363014619","15.644427965881071","15.661521309252834","15.65810007258811","15.657230878915703","15.653006930210385"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/PDKcptVnzJTmN+okb-okb","24hVolume":"16331845","btcPrice":"0.000780301087832049"},{"uuid":"D7B1x_ks7WhV5","symbol":"LTC","name":"Litecoin","color":"#345d9d","iconUrl":"https://cdn.coinranking.com/BUvPxmc9o/ltcnew.svg","marketCap":"3816060260","price":"53.84948369214034","listedAt":1382572800,"tier":1,"change":"-0.88","rank":22,"sparkline":["54.290318948555985","54.34626044318356","54.51609336019526","54.71164008880007","54.84017873250239","54.85783258935826","54.84912409601398","54.79423800415394","54.77093043110981","54.48254700568355","54.35863553823271","54.35097944334183","54.422181211169935","54.4489516734391","54.48573164038176","54.566006895097175","54.60169376918578","54.434757779526166","54.23335179752326","54.413459080815954","54.21240080510803","54.29942643192169","54.14247458562991","54.048141904913244","53.830450120278314"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/D7B1x_ks7WhV5+litecoin-ltc","24hVolume":"414799436","btcPrice":"0.002685978814028499"},{"uuid":"NfeOYfNcl","symbol":"FTT","name":"FTX Token","color":"#77d9ed","iconUrl":"https://cdn.coinranking.com/WyBm4_EzM/ftx-exchange.svg","marketCap":"3291898159","price":"24.66056515734731","listedAt":1566222960,"tier":1,"change":"-0.08","rank":23,"sparkline":["24.68367396586351","24.727036895780905","24.763295856196095","24.910218336026045","25.00389208839861","25.02149477638343","25.038245964336557","25.10263308087383","25.055084523451587","24.953428269092957","24.910919655194686","24.875936324284226","24.84671933295274","24.828862066050032","24.846952016930494","24.962693812346263","24.917387870404692","24.806139246634455","24.74429478499735","24.780282567891753","24.77215711531799","24.782999234672975","24.733584769696286","24.691015340268255","24.666234967252606"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/NfeOYfNcl+ftxtoken-ftt","24hVolume":"50721623","btcPrice":"0.001230053679498362"},{"uuid":"hnfQfsYfeIGUQ","symbol":"ETC","name":"Ethereum Classic","color":"#699070","iconUrl":"https://cdn.coinranking.com/rJfyor__W/etc.svg","marketCap":"3275220951","price":"28.15861108739772","listedAt":1469577600,"tier":1,"change":"2.09","rank":24,"sparkline":["27.570158653943103","27.588406181551","27.632000320786197","27.72407252402464","28.315134280524177","28.701663622553088","28.455510043787736","28.462425971003423","28.431530396764664","28.27063736534509","28.144183615836692","28.154520421670963","28.240843430286514","28.318006504862765","28.299833108837987","28.329928166122407","28.27078454554885","28.13957915693539","28.037422192263545","28.02538763544355","27.990684342238957","27.99587068353575","27.980180249457508","27.96831699810348","28.017446779311992"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/hnfQfsYfeIGUQ+ethereumclassic-etc","24hVolume":"640535452","btcPrice":"0.001404534038722036"},{"uuid":"3mVx2FX_iJFp5","symbol":"XMR","name":"Monero","color":"#ff7519","iconUrl":"https://cdn.coinranking.com/Syz-oSd_Z/xmr.svg","marketCap":"2707667553","price":"148.90777553169121","listedAt":1422489600,"tier":1,"change":"1.91","rank":25,"sparkline":["146.0468911817187","146.24477782260104","146.1611566569247","146.98453497183345","147.5235053627857","147.81325448931747","148.28163857932623","149.09225665366174","147.89654979841282","145.94227441308016","145.47852845356343","145.43911678899732","145.13011985927878","145.01926185302602","145.05380463743765","145.5189388138254","144.94121932498405","144.55169371872742","144.03637609256356","144.0602822952893","143.9422537624223","144.01800973377962","144.85743594518297","145.90656965474264","146.43871992411874"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/3mVx2FX_iJFp5+monero-xmr","24hVolume":"133434528","btcPrice":"0.00742742739389739"},{"uuid":"TpHE2IShQw-sJ","symbol":"ALGO","name":"Algorand","color":null,"iconUrl":"https://cdn.coinranking.com/lzbmCkUGB/algo.svg","marketCap":"2467767343","price":"0.3517782161281549","listedAt":1562082540,"tier":1,"change":"0.15","rank":26,"sparkline":["0.3515342629988674","0.3521676081477334","0.35309919565030656","0.3541903724348078","0.3566526799226524","0.3568785361406288","0.356277927477052","0.35771179232442063","0.3576900736402804","0.35714880263121757","0.3558025051327707","0.3549060979115252","0.3544949322189096","0.35419673898063","0.3545814398327581","0.3560563698021784","0.35476940248868055","0.35303138884975377","0.3526138360299577","0.353297325772352","0.3530050986834627","0.3519348960977679","0.3512839084444219","0.35035540536790366","0.35085105792254034"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/TpHE2IShQw-sJ+algorand-algo","24hVolume":"144267788","btcPrice":"0.000017546479018421"},{"uuid":"f3iaFeCKEmkaZ","symbol":"XLM","name":"Stellar","color":"#000000","iconUrl":"https://cdn.coinranking.com/78CxK1xsp/Stellar_symbol_black_RGB.svg","marketCap":"2437405709","price":"0.12063066323232836","listedAt":1484611200,"tier":1,"change":"1.44","rank":27,"sparkline":["0.11886242818438897","0.11904460107249429","0.11897292310970312","0.11903996874083529","0.11937706226353863","0.11928353420436945","0.1193565730892674","0.11973240195034526","0.11981307931058192","0.11920048145769879","0.11897308489799317","0.11911213921537671","0.11882743355055038","0.11868474386838856","0.11878227754760867","0.11974550069912294","0.11958643330478903","0.11927337184798883","0.11957351041625688","0.11944049884817015","0.12009378998253879","0.12024109052539109","0.12017728479638659","0.12012660542021919","0.12022267745313032"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/f3iaFeCKEmkaZ+stellar-xlm","24hVolume":"220566302","btcPrice":"0.000006016982588294"},{"uuid":"ZlZpzOJo43mIo","symbol":"BCH","name":"Bitcoin Cash","color":"#8dc451","iconUrl":"https://cdn.coinranking.com/By8ziihX7/bch.svg","marketCap":"2276566125","price":"118.99631691356878","listedAt":1541808000,"tier":1,"change":"-2.64","rank":28,"sparkline":["122.31973609743602","122.22980221659442","122.20905014823225","122.74951121547188","123.19407940957747","122.98427770012786","122.7489561074102","122.622367281349","122.2248259758892","121.53652687792291","121.05542080331115","121.08144019937376","121.3486844528348","121.35241663771652","121.4308975310673","121.83807088869149","121.79108869683151","121.38727041457742","120.77014246462569","120.9730955171752","120.81712651964756","120.67586343768751","120.35934093743896","119.33573062080143","118.92020484427697"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ZlZpzOJo43mIo+bitcoincash-bch","24hVolume":"236289638","btcPrice":"0.005935462408600913"},{"uuid":"9_jH48RBW","symbol":"BTCB","name":"Bitcoin BEP2","color":"#ff9d14","iconUrl":"https://cdn.coinranking.com/Swr_SeZio/4023.png","marketCap":"2254967512","price":"20043.97749206499","listedAt":1629334963,"tier":1,"change":"-0.40","rank":29,"sparkline":["20050.866782919587","20079.593668466954","20158.93074005341","20211.814480937664","20307.580914788625","20353.1967711348","20335.218938308455","20375.58916773032","20340.90091666203","20284.80368318787","20235.020272755173","20214.37272239842","20157.58477689183","20148.427911440165","20139.404745478332","20195.51476083255","20218.207717425983","20128.86850120113","20006.9744546404","20060.410623139804","20033.996371801375","20098.47310976815","20097.464012404307","20046.809041658624","20049.799901903058"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/9_jH48RBW+bitcoinbep2-btcb","24hVolume":"24085498","btcPrice":"1.0000463598965021"},{"uuid":"65PHZTpmE55b","symbol":"CRO","name":"Cronos","color":"#01275d","iconUrl":"https://cdn.coinranking.com/2o91jm73M/cro.svg","marketCap":"2206818970","price":"0.10972685957484773","listedAt":1548953220,"tier":1,"change":"0.20","rank":30,"sparkline":["0.10964137644253408","0.11000036549663396","0.11025327160010467","0.11070373939431584","0.11104511865941227","0.11109857702436873","0.1110924929009018","0.11126352122246669","0.11094331934275127","0.11059613120859749","0.11052423450494585","0.11037764443683885","0.11018324144957391","0.11015957429341776","0.11025941309951554","0.1107306596648452","0.11056541424952443","0.11033981054182589","0.11014982408569168","0.11018846762437533","0.11026378704001755","0.11036637137706824","0.11006396812568181","0.10976547166697294","0.10969235793422591"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/65PHZTpmE55b+cronos-cro","24hVolume":"18387033","btcPrice":"0.000005473107631502"},{"uuid":"DCrsaMv68","symbol":"NEAR","name":"NEAR Protocol","color":"#000000","iconUrl":"https://cdn.coinranking.com/Cth83dCnl/near.png","marketCap":"2206118169","price":"3.6294130789874477","listedAt":1615164591,"tier":1,"change":"-1.42","rank":31,"sparkline":["3.6761672965431966","3.690346882494526","3.694321108085478","3.7048560012992415","3.73751823983082","3.728316938499929","3.726590894963946","3.7324865567596524","3.7152125117728954","3.684688319254966","3.6728907302323908","3.6707256113983564","3.682858101631704","3.6816966205355786","3.6732422481738896","3.68742500998647","3.67949841043138","3.658086252545483","3.6466882303359083","3.653534815527586","3.6524651001872352","3.6566637162352977","3.6505578611908183","3.641624197517031","3.6360026668443743"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/DCrsaMv68+nearprotocol-near","24hVolume":"202730034","btcPrice":"0.000181032871053155"},{"uuid":"AaQUAs2Mc","symbol":"LUNC","name":"Terra Classic","color":"#0E3CA5","iconUrl":"https://cdn.coinranking.com/F-PJdF8Um/LUNA.svg","marketCap":"1912395175","price":"0.000290161158067028","listedAt":1565957940,"tier":1,"change":"-2.78","rank":32,"sparkline":["0.000297478449646947","0.000299529084347598","0.00030173904471774","0.000299746687090643","0.000298962325969473","0.000302229563415801","0.0003030758001857","0.000301535490436218","0.000300445667829273","0.000299094184910521","0.000295609729343043","0.00029451177987895","0.000296163406502654","0.000295896753590268","0.000296293813138895","0.00029712340206075","0.000296241802461865","0.000294833413425782","0.000295805632133273","0.000295448279840089","0.000294342506473691","0.000292052607134611","0.000290629002509443","0.000292037309457244","0.000292007407136324"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/AaQUAs2Mc+terraclassic-lunc","24hVolume":"118053677","btcPrice":"1.4473058417e-8"},{"uuid":"08CsQa-Ov","symbol":"WEMIX","name":"WEMIX TOKEN","color":"#9bdc70","iconUrl":"https://cdn.coinranking.com/1N84MQsoO/7548.png","marketCap":"1807723577","price":"1.8077235769379718","listedAt":1638249982,"tier":1,"change":"-1.13","rank":33,"sparkline":["1.8196832340882974","1.8253360632832465","1.8285082236543482","1.8347555694945936","1.8381094917557752","1.833948476565528","1.8341444284523087","1.8382997009905768","1.8395788091068113","1.8309599664678795","1.8205198309645931","1.8134695201238413","1.8119386729956268","1.8082288357010967","1.8068009632735749","1.8188388540688198","1.8203819894312625","1.814524337055796","1.808721193963964","1.8196357521223283","1.815149328780377","1.8112776438372116","1.8108458436676627","1.8027262559586126","1.805119314397385"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/08CsQa-Ov+wemixtoken-wemix","24hVolume":"12084190","btcPrice":"0.00009016812968968"},{"uuid":"QQ0NCmjVq","symbol":"FLOW","name":"Flow","color":"#9efad7","iconUrl":"https://cdn.coinranking.com/xh8X8QBss/flow.png","marketCap":"1767953502","price":"1.706189443694046","listedAt":1614963736,"tier":1,"change":"1.26","rank":34,"sparkline":["1.6890181082125528","1.6914682243282655","1.6953510291771732","1.7032242512223692","1.7136242682184002","1.7136009177534397","1.7149865876802517","1.7184074490109524","1.710995334162153","1.7048864523565708","1.699721441021863","1.7003688832097956","1.6968447607894448","1.6929234664355564","1.692450465901943","1.7010313056523052","1.6985550988885165","1.6893705490937398","1.6866645696902811","1.7019443099317626","1.7014230772153076","1.7069133070811424","1.7033611748224882","1.6994360137640887","1.704400633762173"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/QQ0NCmjVq+flow-flow","24hVolume":"69926340","btcPrice":"0.000085103670161097"},{"uuid":"SbWqqTui-","symbol":"ENS","name":"EnergySwap","color":"#ffda55","iconUrl":"https://cdn.coinranking.com/fmYxEUV5a/cropped-logo37-Converted-01-192x192.png","marketCap":"1725996262","price":"17.259962623670035","listedAt":1626134763,"tier":1,"change":"1.03","rank":35,"sparkline":["17.076100017021975","17.06662658749615","17.23481897642682","17.392304714899172","17.34806076924321","17.37896364967073","17.3987048654455","17.64170122029659","17.57215127384117","17.43018850760622","17.342435916635672","17.445574853391744","17.32297480082281","17.37509972478323","17.34525419003646","17.409372532584655","17.389133405821546","17.35036829752898","17.427069919455597","17.552044170794996","17.412493725255267","17.349458429441366","17.146992959728287","17.252120262541386","17.264212303383914"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/SbWqqTui-+energyswap-ens","24hVolume":"19832838","btcPrice":"0.000860915853391649"},{"uuid":"ymQub4fuB","symbol":"FIL","name":"Filecoin","color":"#0090ff","iconUrl":"https://cdn.coinranking.com/vUmvv-IQA/FIL3-filecoin.svg?size=48x48","marketCap":"1632153006","price":"5.553293070555647","listedAt":1602839473,"tier":1,"change":"-0.38","rank":36,"sparkline":["5.56243119343507","5.567298776850595","5.576308807839807","5.601722240721692","5.625170729423998","5.620904303320557","5.636315942124946","5.635348964222284","5.621159554675177","5.60335716785942","5.5905571062639625","5.592369569284194","5.578504466675582","5.569698214994045","5.57106966286358","5.5871830930712845","5.58594625512426","5.567567471367906","5.557070809165411","5.564056973722409","5.560812558868851","5.555371588027569","5.5431943077677825","5.540294464973471","5.542380071855275"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ymQub4fuB+filecoin-fil","24hVolume":"137601011","btcPrice":"0.000276994810588701"},{"uuid":"aMNLwaUbY","symbol":"ICP","name":"Internet Computer (DFINITY)","color":"#00042b","iconUrl":"https://cdn.coinranking.com/1uJ_RVrmC/dfinity-icp.png","marketCap":"1579574894","price":"6.014970665776294","listedAt":1601555742,"tier":1,"change":"-0.15","rank":37,"sparkline":["6.0162195206336015","6.027382655786574","6.024819723237437","6.039340191092633","6.06724228192398","6.084822176339837","6.12213244622854","6.122207846967171","6.115223803839146","6.090144995430115","6.059958922242473","6.054607074054347","6.044824998176658","6.039684832886364","6.031722431559297","6.051848135596568","6.052505386943968","6.039004021283348","6.03094716124407","6.0282463753416","6.032921444329065","6.04632010848593","6.041115706175561","6.045998924171826","6.0229305076806545"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/aMNLwaUbY+internetcomputerdfinity-icp","24hVolume":"38865516","btcPrice":"0.000300023002405056"},{"uuid":"FEbS54wxo4oIl","symbol":"VET","name":"VeChain","color":"#4bc0fa","iconUrl":"https://cdn.coinranking.com/B1_TDu9Dm/VEN.svg","marketCap":"1572728539","price":"0.023557685371196242","listedAt":1533427200,"tier":1,"change":"-0.75","rank":38,"sparkline":["0.0237501279975899","0.023800623235562788","0.02386182467215722","0.023973179564354224","0.024039808529594694","0.024056225110206598","0.02401908035553596","0.02404102526204194","0.02399624253894211","0.023865905918825207","0.023792587646072907","0.023839365677651318","0.02381560283772684","0.02375080527252874","0.023755408145521056","0.02387716977416547","0.02387351543491939","0.023763817483126306","0.023691552163897643","0.023726104965078293","0.02368589760998112","0.023671062742535463","0.023601726034422614","0.0235570377718252","0.0235469112210421"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/FEbS54wxo4oIl+vechain-vet","24hVolume":"71397619","btcPrice":"0.00000117504272049"},{"uuid":"ncYFcP709","symbol":"CAKE","name":"PancakeSwap","color":"#fe9555","iconUrl":"https://cdn.coinranking.com/aRtgdw7bQ/pancakeswap-cake-logo.png","marketCap":"1553521920","price":"4.671050346324434","listedAt":1613642379,"tier":1,"change":"0.16","rank":39,"sparkline":["4.660082859245468","4.665507699491085","4.669686398275825","4.704354056302064","4.729879002222916","4.714593691596935","4.7230722097715105","4.727203946438871","4.714055794424472","4.703283518317288","4.699762821774249","4.700438661119112","4.691700450917038","4.677135351952703","4.694429858732558","4.721898404666295","4.72192706714792","4.711492514608389","4.722961417487937","4.727350513894986","4.726777756847048","4.730691546772397","4.723894121828546","4.720900237522959","4.694323412913096"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/ncYFcP709+pancakeswap-cake","24hVolume":"69066093","btcPrice":"0.000232989091245811"},{"uuid":"tEf7-dnwV3BXS","symbol":"MANA","name":"Decentraland","color":"#f47e33","iconUrl":"https://cdn.coinranking.com/ph_svUzXs/decentraland(1).svg","marketCap":"1535034674","price":"0.6998105202178926","listedAt":1500336000,"tier":1,"change":"-0.42","rank":40,"sparkline":["0.7016494769558138","0.7013306881258784","0.7024614313806439","0.7044272163104102","0.706472351768559","0.7093918654850726","0.7108366867405783","0.7107953770862832","0.7099623704106002","0.7073510016314243","0.7053811315549995","0.7072193110953995","0.7050915198697436","0.7044747588216688","0.7041160697442599","0.7066206655413716","0.7058549946852882","0.7032486369948753","0.7012876549332069","0.7009747852786251","0.700473849406315","0.7005982029037023","0.7002369574369308","0.7006334207984222","0.7000127772948245"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/tEf7-dnwV3BXS+decentraland-mana","24hVolume":"113001150","btcPrice":"0.000034906114270022"},{"uuid":"Z96jIvLU7","symbol":"IMX","name":"Immutable X","color":"#000000","iconUrl":"https://cdn.coinranking.com/naRGT2Y_X/10603.png","marketCap":"1529701789","price":"0.7648508946257417","listedAt":1649387294,"tier":1,"change":"-2.82","rank":41,"sparkline":["0.7860619259860426","0.7859435779761835","0.7861918029620322","0.7917396985406836","0.7933727507309073","0.7916402869669651","0.7935301886412963","0.7934006370508817","0.7896677909111062","0.786328322377868","0.7828512102910562","0.7827849158908187","0.7815399732777862","0.7772118263855671","0.7746419330272937","0.7799681155884691","0.777981466209664","0.7739045575146072","0.7718550460057184","0.7715939215456447","0.7695383673672498","0.7673191324882311","0.7657534786224457","0.764881660541454","0.7646092366582135"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Z96jIvLU7+immutablex-imx","24hVolume":"39160980","btcPrice":"0.000038150287765068"},{"uuid":"jad286TjB","symbol":"HBAR","name":"Hedera","color":"#000000","iconUrl":"https://cdn.coinranking.com/dSCnSLilQ/hedera.svg","marketCap":"1412205915","price":"0.05800578172077061","listedAt":1568704980,"tier":1,"change":"0.49","rank":42,"sparkline":["0.05770823380663813","0.05774903033415054","0.057915572884848006","0.05810678934296818","0.05824109880306974","0.05837365821928798","0.058391844857850296","0.058420669824922486","0.058284382479036986","0.05817173526970868","0.05807921716077961","0.058157030241846555","0.05809696154952601","0.05804430834562561","0.058079013279903904","0.058270287529447726","0.05828744692577993","0.05819030965298005","0.05799510351002881","0.05801850162696806","0.05804288093820356","0.05809254408384736","0.05803413483043568","0.057982852173679544","0.05799862984287226"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/jad286TjB+hedera-hbar","24hVolume":"47303997","btcPrice":"0.000002893292379253"},{"uuid":"KfWtaeV1W","symbol":"FRAX","name":"Frax","color":"#000000","iconUrl":"https://cdn.coinranking.com/BpVNCX-NM/frax.png","marketCap":"1359852507","price":"1.0013157341865748","listedAt":1615299931,"tier":1,"change":"0.07","rank":43,"sparkline":["0.9998387203956588","0.9991795416493741","0.9995865702781206","0.9984005488287919","0.9990889387633427","0.9992832524161939","0.9995431951063479","0.9992818968259785","0.9999311001849419","1.0002320414176233","0.9996418223412398","1.0001187705349235","0.9995079927133396","0.999782374902935","0.999308877507305","0.9988846870195152","1.0005152287641716","1.0008340522704022","0.9994436410988572","0.9996849217788387","0.9995211220531371","0.999211197536607","0.9999983085146361","0.999769500498533","1.0011860473290413"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/KfWtaeV1W+frax-frax","24hVolume":"6816224","btcPrice":"0.0000499450071528"},{"uuid":"bauj_21eYVwso","symbol":"QNT","name":"Quant","color":"#585e63","iconUrl":"https://cdn.coinranking.com/a-i9Dl392/quant.png","marketCap":"1353673348","price":"138.4515366225178","listedAt":1533945600,"tier":1,"change":"0.55","rank":44,"sparkline":["136.7723467133241","137.81098287130007","138.04298230548113","138.87720276266452","139.1125352948242","139.0565202511056","139.15754518214834","138.81990972517082","137.89167052928534","137.45970305588784","137.8392892605069","139.3980081209242","138.9594762558207","139.35956951767986","139.76224675334996","140.73346306408735","139.70014562219615","139.58102151134608","139.19177605867037","139.65458123164169","139.17824474960636","139.1901615972891","138.83319330338816","138.1218448902609","138.15277303739376"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/bauj_21eYVwso+quant-qnt","24hVolume":"91114375","btcPrice":"0.006905876688879963"},{"uuid":"omwkOTglq","symbol":"EGLD","name":"Elrond","color":"#000000","iconUrl":"https://cdn.coinranking.com/X62ruAuZQ/Elrond.svg","marketCap":"1315560385","price":"55.68031129283641","listedAt":1612524044,"tier":1,"change":"1.67","rank":45,"sparkline":["54.447577507868715","54.128375568181134","54.23440566519872","54.73707935361438","55.29878160930527","55.12497748150301","55.42130584548864","55.15246246213931","55.040118775249475","54.79984173940808","54.611754004068196","54.73084890510059","55.07467359664748","55.12258904806393","55.12232719822051","55.10748540691841","55.01733359597467","54.876885804473424","54.85576050348866","55.096674446643746","55.35611005385607","54.96784781952569","54.84449264613283","54.95034295425699","55.112649002423744"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/omwkOTglq+elrond-egld","24hVolume":"56551571","btcPrice":"0.002777299358079064"},{"uuid":"fsIbGOEJWbzxG","symbol":"XTZ","name":"Tezos","color":"#2c7df7","iconUrl":"https://cdn.coinranking.com/HkLUdilQ7/xtz.svg","marketCap":"1298765552","price":"1.4300647644749105","listedAt":1530662400,"tier":1,"change":"0.35","rank":46,"sparkline":["1.4215338154290353","1.425785384185857","1.4279580637852494","1.4343164461157478","1.44533506798751","1.4458980149471825","1.442887292689709","1.4491458802390045","1.4448918253453362","1.4395360524680738","1.4357054965075182","1.436366388066666","1.4339651090330499","1.4334495267586773","1.4333504141935083","1.4389840361204465","1.4379456439736016","1.4315401694215406","1.4240153029007887","1.4240927210678032","1.4220389629012662","1.4290008245398644","1.4312652127406216","1.4310909189590104","1.4306725904273427"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/fsIbGOEJWbzxG+tezos-xtz","24hVolume":"39973056","btcPrice":"0.000071330742594082"},{"uuid":"GSCt2y6YSgO26","symbol":"CHZ","name":"Chiliz","color":"#d05e72","iconUrl":"https://cdn.coinranking.com/gTsOlSnwR/4066.png","marketCap":"1281111260","price":"0.21564361283618286","listedAt":1562332440,"tier":1,"change":"-0.44","rank":47,"sparkline":["0.2154110356391449","0.21556395298813918","0.21654088100155322","0.21734996911672455","0.21877239367594722","0.21947482492922862","0.21980181027276333","0.21907182102411207","0.21837999474902092","0.2179201134075193","0.21682795818287987","0.21600225868090728","0.21587704160172458","0.2158448062065273","0.21568131629647883","0.21628666481515962","0.21575577092565493","0.21492437995400548","0.21514404501911413","0.2171108493305216","0.21771656940310347","0.21679986568652215","0.21607273994568685","0.21599406892348155","0.216016823604864"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/GSCt2y6YSgO26+chiliz-chz","24hVolume":"230327611","btcPrice":"0.000010756169525597"},{"uuid":"pxtKbG5rg","symbol":"SAND","name":"The Sandbox","color":"#00adef","iconUrl":"https://cdn.coinranking.com/kd_vwOcnI/sandbox.png","marketCap":"1273362601","price":"0.8492083368987202","listedAt":1613583024,"tier":1,"change":"-1.45","rank":48,"sparkline":["0.8587964523939258","0.8597445619216338","0.8611496857436736","0.865552155362601","0.8666655073914699","0.8666063461880543","0.8661421792463039","0.8670202524108236","0.8645275388953965","0.8601521201043011","0.8593695662980281","0.8662535514126233","0.8588847882234059","0.8544149170251873","0.8528484459196816","0.8567742977148085","0.8559971556239261","0.8526369746427614","0.8503963749700182","0.8514893353210455","0.8513642787546029","0.8508505323793061","0.8483933250963328","0.8475209589259349","0.8482538011775931"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/pxtKbG5rg+thesandbox-sand","24hVolume":"76483572","btcPrice":"0.000042357984612195"},{"uuid":"Pe93bIOD2","symbol":"LDO","name":"Lido DAO Token","color":"#77cced","iconUrl":"https://cdn.coinranking.com/Wp6LFY6ZZ/8000.png","marketCap":"1216992139","price":"1.5130652728504481","listedAt":1627361901,"tier":1,"change":"-0.27","rank":49,"sparkline":["1.514949369280686","1.5184328905530695","1.5246699575717297","1.5386072083468705","1.5536094881641007","1.5570507422780526","1.5627604927137266","1.5612721472754483","1.5639154910163686","1.549373162283526","1.5394363442551757","1.5413748243293799","1.5406687905041778","1.5536997118197664","1.5585509390347834","1.5605461378658754","1.556322526404288","1.5432139594119398","1.527711427666444","1.5295360489082588","1.5251991365229256","1.523882390305484","1.5152199119209957","1.5079084095454254","1.5059207760888258"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/Pe93bIOD2+lidodaotoken-ldo","24hVolume":"8936326","btcPrice":"0.000075470756420859"},{"uuid":"iAzbfXiBBKkR6","symbol":"EOS","name":"EOS","color":"#443f54","iconUrl":"https://cdn.coinranking.com/PqOYrWSje/eos2.svg","marketCap":"1158011402","price":"1.1714655273717414","listedAt":1498694400,"tier":1,"change":"0.17","rank":50,"sparkline":["1.1695001042910693","1.1712804054845907","1.1741562139239061","1.1794010183679478","1.1847650307406867","1.1855240685834143","1.1866371525249342","1.1885970359357818","1.1869956333747422","1.1822077005037634","1.1770242148628085","1.17614591514241","1.1773458464363997","1.1770861707666584","1.1811474861902838","1.1833592012519114","1.1818251357201783","1.1782503602022067","1.176960097898779","1.1767921922729265","1.1759604894059537","1.1750064515228658","1.1729163746108195","1.170358956437112","1.1692075076471242"],"lowVolume":false,"coinrankingUrl":"https://coinranking.com/coin/iAzbfXiBBKkR6+eos-eos","24hVolume":"216574047","btcPrice":"0.000058431973199113"}]}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

WBTC 20047.65670389833
Icon Url: https://cdn.coinranking.com/o3-8cvCHu/wbtc[1].svg
Rank Url: https://coinranking.com/coin/x4WXHge-vvFY+wrappedbtc-wbtc

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

EOS 1.1714655273717414
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.

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.