{"info":{"_postman_id":"67aff2aa-9e02-44e2-88cf-767e2150ac0f","name":"Trader Joe v2","description":"<html><head></head><body><h2 id=\"api-backend-for-trader-joe-that-calculates-tvl-apr-and-apy-for-all-the-pairs-pools-and-lending-protocols\">API backend for Trader Joe that calculates TVL, APR and APY for all the Pairs, Pools, and Lending protocols.</h2>\n<p>This is a project submission for Moralis + Avalanche Hackathon. The task was to create a set of APIs to calculate APY, APR ,and TVL for Trader Joe's Platform. The&nbsp;<code>joe-api-v2</code>&nbsp;has following features -</p>\n<ul>\n<li>Versioning support currently has v1 and v2 API paths.</li>\n<li>Backward compatible with&nbsp;<a href=\"https://github.com/traderjoe-xyz/joe-api\">joe-api</a>. All the&nbsp;<code>joe-api</code>&nbsp;APIs are available at&nbsp;<code>https://joe-api-v2.herokuapp.com/v1/</code>.</li>\n<li>All the new APIs are available at -&nbsp;<code>https://joe-api-v2.herokuapp.com/v2/</code>.</li>\n<li>Awesome API documentation available here -&nbsp;<a href=\"https://documenter.getpostman.com/view/13371978/UVeDs7Pt\">Postman Documentation</a></li>\n<li>Always returns a json object in response.</li>\n<li>Have rate limiting configuration. Each user/IP can make 1000 API calls in 15 mins.</li>\n<li>Implemented caching to provide a blazing-fast response.</li>\n<li>The cache is auto-updated once the data is expired by timely jobs.</li>\n<li>Build with typescript for a better developer experience.</li>\n<li>Has a great logging feature to debug the production app.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13371978","collectionId":"67aff2aa-9e02-44e2-88cf-767e2150ac0f","publishedId":"UVeDs7Pt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-01-31T16:39:21.000Z"},"item":[{"name":"V2 APIs","item":[{"name":"Get TVL","id":"66a701e1-a788-4990-918b-499fadfdba3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/tvl","description":"<p>Returns the overall TVL of Trader Joe.</p>\n<p>The TVL is the addition of -</p>\n<ul>\n<li><strong>All the liquidity present in the pools</strong> - <em>This data is fetched from the trader joe subgraph</em></li>\n<li><strong>All the staked joe tokens</strong> - <em>This data is fetched directly from the contract</em></li>\n<li><strong>All the tokens present in the lending protocol</strong> - <em>This is fetched from the comptroller smart contract of trader joe in real time</em></li>\n</ul>\n<p><code>tvl = liquidity(USD) + staking(USD) + lendingSupply(USD)</code></p>\n<p>Response Example -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"tvl\": {\n        \"liquidityUSD\": \"782929671.00\",\n        \"stakingUSD\": \"115035203.28\",\n        \"lendingSupplyUSD\": \"711264918.28\"\n    },\n    \"totalTvl\": \"1609229792.56\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","tvl"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"66a701e1-a788-4990-918b-499fadfdba3e"},{"name":"Stake","id":"f1f42ded-bfcb-479a-aea5-3f5c32e5e661","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/stake","description":"<p>Returns all the JOE and xJOE data along with historical data of staking in Joe protocol.</p>\n<p>Response includes -</p>\n<ul>\n<li>Avg APR, one-day volume, one-day fees, total staked joe in USD, total APR, and total APY.</li>\n<li>Historical data includes - JOE staked, JOE harvested, xJOE minted, xJOE burned, APY, APR and Fees.</li>\n</ul>\n<p>Response Example -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"averageApy\": 81.29897816102566,\n    \"oneDayVolume\": 222407695.52986908,\n    \"oneDayFees\": 111203.84776493454,\n    \"totalStakedUSD\": 117273052.49608223,\n    \"totalApr\": 0.34611024076104,\n    \"totalApy\": 0.41332664094705374,\n    \"joeStakedUSD\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 0\n        },\n        ...\n    ],\n    \"joeHarvestedUSD\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 0\n        },\n        ...\n    ],\n    \"xJoeMinted\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 608496.6541629409\n        },\n        ...\n    ],\n    \"xJoeBurned\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 37731.80019136335\n        },\n        ...\n    ],\n    \"joeStakedUSD\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 0\n        },\n    ],\n    \"xJoe\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 1133118.916275913\n        },\n        ...\n    ],\n    \"apr\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 0\n        },\n        ...\n    ],\n    \"apy\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 0\n        },\n        ...\n    ],\n    \"fees\": [\n        {\n            \"date\": 1625616000000,\n            \"value\": 0\n        },\n        ...\n    ],\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","stake"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1f42ded-bfcb-479a-aea5-3f5c32e5e661"},{"name":"Get All Pairs","id":"6b977dd5-c3e0-4b18-9403-20d95c39f2c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/pairs?first=25&skip=0","description":"<p>Returns a list of pairs along with tokens, reserves, one-day volume, seven-day volume, fees, APR, etc.</p>\n<p>This is a paginated API and requires the following query parameters.</p>\n<p><code>first</code> (Optional)- Number of pairs of data required in an API call</p>\n<p><code>skip</code> (Optional) - Number of pairs to skip and then fetch next pairs</p>\n<p>All the Pairs data is fetched from the trader-joe exchange subgraph and reserves of all the pairs are fetched directly from the smart contract in real-time.</p>\n<p>Response Example -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"pairAddress\": \"0xa389f9430876455c36478deea9769b7ca4e3ddb1\",\n        \"token0\": {\n            \"address\": \"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664\",\n            \"name\": \"USD Coin\",\n            \"symbol\": \"USDC.e\",\n            \"price\": \"70.34084958107298369022794065561972\"\n        },\n        \"token1\": {\n            \"address\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n            \"name\": \"Wrapped AVAX\",\n            \"symbol\": \"WAVAX\",\n            \"price\": \"0.01421649021806918496794941192316601\"\n        },\n        \"reserveUSD\": \"153037332.8598057610728236747136097\",\n        \"reserve0\": \"0.000076513459889606\",\n        \"reserve1\": \"1087771.120074236563790221\",\n        \"oneDay\": {\n            \"untrackedVolumeUSD\": \"9848956502.768839277526332936417757\",\n            \"volumeUSD\": \"9848956502.768839277526332936417759\",\n            \"reserveUSD\": \"174596253.1204068801834901054786424\",\n            \"txCount\": \"1281364\"\n        },\n        \"sevenDay\": {\n            \"untrackedVolumeUSD\": \"9419655087.770186346914815534749342\",\n            \"volumeUSD\": \"9419655087.770186346914815534749344\",\n            \"reserveUSD\": \"150224515.6308221987877116571478522\",\n            \"txCount\": \"1199703\"\n        },\n        \"displayName\": \"USDC.e-WAVAX\",\n        \"oneDayVolume\": 51058091.19617081,\n        \"sevenDayVolume\": 480359506.1948242,\n        \"oneDayFees\": 127645.22799042703,\n        \"sevenDayFees\": 1200898.7654870606,\n        \"oneYearFeesAPR\": 30.44388408100815\n    },\n    {\n        \"pairAddress\": \"0xed8cbd9f0ce3c6986b22002f03c6475ceb7a6256\",\n        \"token0\": {\n            \"address\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n            \"name\": \"Wrapped AVAX\",\n            \"symbol\": \"WAVAX\",\n            \"price\": \"0.01423079680696679145719177391191375\"\n        },\n        \"token1\": {\n            \"address\": \"0xc7198437980c041c805a1edcba50c1ce5db95118\",\n            \"name\": \"Tether USD\",\n            \"symbol\": \"USDT.e\",\n            \"price\": \"70.27013410172806557425938126758454\"\n        },\n        \"reserveUSD\": \"109303758.0633395652121505668039445\",\n        \"reserve0\": \"0.000076513459889606\",\n        \"reserve1\": \"1087771.120074236563790221\",\n        \"oneDay\": {\n            \"untrackedVolumeUSD\": \"8987931856.903825446117260869593385\",\n            \"volumeUSD\": \"8987931856.903825446117260869593384\",\n            \"reserveUSD\": \"130265420.2974980684039991531760014\",\n            \"txCount\": \"1619478\"\n        },\n        \"sevenDay\": {\n            \"untrackedVolumeUSD\": \"8722880576.907510942499380878726198\",\n            \"volumeUSD\": \"8722880576.907510942499380878726197\",\n            \"reserveUSD\": \"111881320.3887999542692733360144296\",\n            \"txCount\": \"1545598\"\n        },\n        \"displayName\": \"WAVAX-USDT.e\",\n        \"oneDayVolume\": 27894247.169303894,\n        \"sevenDayVolume\": 292945527.1656189,\n        \"oneDayFees\": 69735.61792325974,\n        \"sevenDayFees\": 732363.8179140473,\n        \"oneYearFeesAPR\": 23.286939985393694\n    },\n    {\n        \"pairAddress\": \"0xfe15c2695f1f920da45c30aae47d11de51007af9\",\n        \"token0\": {\n            \"address\": \"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab\",\n            \"name\": \"Wrapped Ether\",\n            \"symbol\": \"WETH.e\",\n            \"price\": \"0.02626774021495189554277040621159447\"\n        },\n        \"token1\": {\n            \"address\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n            \"name\": \"Wrapped AVAX\",\n            \"symbol\": \"WAVAX\",\n            \"price\": \"38.06951004604456467203421905836612\"\n        },\n        \"reserveUSD\": \"97340419.03521422345646710320212888\",\n        \"reserve0\": \"0.000076513459889606\",\n        \"reserve1\": \"1087771.120074236563790221\",\n        \"oneDay\": {\n            \"untrackedVolumeUSD\": \"4463826895.371199882617148309513338\",\n            \"volumeUSD\": \"4463826895.371199882617148309513339\",\n            \"reserveUSD\": \"94727632.04034794157536009491392983\",\n            \"txCount\": \"443608\"\n        },\n        \"sevenDay\": {\n            \"untrackedVolumeUSD\": \"4380105452.696798822511969079280104\",\n            \"volumeUSD\": \"4380105452.696798822511969079280105\",\n            \"reserveUSD\": \"81961598.27857283545202905234432002\",\n            \"txCount\": \"429754\"\n        },\n        \"displayName\": \"ETH.e-WAVAX\",\n        \"oneDayVolume\": 8841205.04135704,\n        \"sevenDayVolume\": 92562647.71575737,\n        \"oneDayFees\": 22103.012603392603,\n        \"sevenDayFees\": 231406.61928939342,\n        \"oneYearFeesAPR\": 8.28802637198401\n    },\n    {\n        \"pairAddress\": \"0x454e67025631c065d3cfad6d71e6892f74487a15\",\n        \"token0\": {\n            \"address\": \"0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd\",\n            \"name\": \"JoeToken\",\n            \"symbol\": \"JOE\",\n            \"price\": \"54.54111569054078801517666829353616\"\n        },\n        \"token1\": {\n            \"address\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n            \"name\": \"Wrapped AVAX\",\n            \"symbol\": \"WAVAX\",\n            \"price\": \"0.01833479178669300089524803800826264\"\n        },\n        \"reserveUSD\": \"40572014.8475223792737657711680899\",\n        \"reserve0\": \"0.000076513459889606\",\n        \"reserve1\": \"1087771.120074236563790221\",\n        \"oneDay\": {\n            \"untrackedVolumeUSD\": \"2596569506.733327051423104873643231\",\n            \"volumeUSD\": \"2597808186.32391771015855466484932\",\n            \"reserveUSD\": \"39064444.48639644647715643641694835\",\n            \"txCount\": \"936544\"\n        },\n        \"sevenDay\": {\n            \"untrackedVolumeUSD\": \"2550758867.580672276327990284854657\",\n            \"volumeUSD\": \"2551998587.864361173856709097896995\",\n            \"reserveUSD\": \"25977627.67651716034185333392232174\",\n            \"txCount\": \"911260\"\n        },\n        \"displayName\": \"JOE-WAVAX\",\n        \"oneDayVolume\": 5659583.9735479355,\n        \"sevenDayVolume\": 51469182.433104515,\n        \"oneDayFees\": 14148.959933869839,\n        \"sevenDayFees\": 128672.95608276129,\n        \"oneYearFeesAPR\": 12.728897973815725\n    },\n    {\n        \"pairAddress\": \"0x2a8a315e82f85d1f0658c5d66a452bbdd9356783\",\n        \"token0\": {\n            \"address\": \"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664\",\n            \"name\": \"USD Coin\",\n            \"symbol\": \"USDC.e\",\n            \"price\": \"0.999270883150030758326897789106453\"\n        },\n        \"token1\": {\n            \"address\": \"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e\",\n            \"name\": \"USD Coin\",\n            \"symbol\": \"USDC\",\n            \"price\": \"1.00072964884923978306584803984605\"\n        },\n        \"reserveUSD\": \"34253173.68155370742075811252831247\",\n        \"reserve0\": \"0.000076513459889606\",\n        \"reserve1\": \"1087771.120074236563790221\",\n        \"oneDay\": {\n            \"untrackedVolumeUSD\": \"215915408.2751527022447558364505122\",\n            \"volumeUSD\": \"215868074.6926028101402118780949232\",\n            \"reserveUSD\": \"32644002.5713179880534357439541401\",\n            \"txCount\": \"80900\"\n        },\n        \"sevenDay\": {\n            \"untrackedVolumeUSD\": \"177819456.2324240613984878234020495\",\n            \"volumeUSD\": \"177772572.3216469889266785700156994\",\n            \"reserveUSD\": \"25874669.20589572882002526487852614\",\n            \"txCount\": \"66545\"\n        },\n        \"displayName\": \"USDC.e-USDC\",\n        \"oneDayVolume\": 5122678.827816904,\n        \"sevenDayVolume\": 43218181.19877273,\n        \"oneDayFees\": 12806.697069542259,\n        \"sevenDayFees\": 108045.45299693182,\n        \"oneYearFeesAPR\": 13.646748397215653\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","pairs"],"host":["joe-api-v2","herokuapp","com"],"query":[{"key":"first","value":"25"},{"key":"skip","value":"0"}],"variable":[]}},"response":[],"_postman_id":"6b977dd5-c3e0-4b18-9403-20d95c39f2c7"},{"name":"Get Single Pair","id":"add060c8-1d9a-49fc-bca0-f4a80b7ad85a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://joe-api-v2.herokuapp.com/v2/pairs/0x87dee1cc9ffd464b79e058ba20387c1984aed86a","description":"<p>Returns all the data for a Pair along with <strong>Historical chart data</strong>.</p>\n<p>Historical chart data includes -</p>\n<ul>\n<li>Historical liquidity of the Pair</li>\n<li>Historical volume of the Pair</li>\n<li>Recent transactions information</li>\n<li>APRs, fees, avg trader price, transactions, volumes, one-day volume, two-day volume, etc..</li>\n</ul>\n<p>Response Example -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pairAddress\": \"0xa389f9430876455c36478deea9769b7ca4e3ddb1\",\n    \"token0\": {\n        \"address\": \"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664\",\n        \"name\": \"USD Coin\",\n        \"symbol\": \"USDC.e\",\n        \"decimals\": \"6\",\n        \"price\": \"70.03794811442197002900824455166156\"\n    },\n    \"token1\": {\n        \"address\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n        \"name\": \"Wrapped AVAX\",\n        \"symbol\": \"WAVAX\",\n        \"decimals\": \"18\",\n        \"price\": \"0.01427797396871601792897495936666496\"\n    },\n    \"reserveUSD\": \"152795215.6587818687868763050484877\",\n    \"txCount\": \"1294437\",\n    \"reserve0\": \"76337028.22888\",\n    \"reserve1\": \"1089938.037517803985544543\",\n    \"oneDay\": {\n        \"untrackedVolumeUSD\": \"9850032576.24823308526259430569164\",\n        \"volumeUSD\": \"9850032576.248233085262594305691642\",\n        \"reserveUSD\": \"174279625.358043412312593498516391\",\n        \"txCount\": \"1281510\"\n    },\n    \"sevenDay\": {\n        \"untrackedVolumeUSD\": \"9420507899.17416518162070200445781\",\n        \"volumeUSD\": \"9420507899.174165181620702004457812\",\n        \"reserveUSD\": \"149297149.4879158540240830473761962\",\n        \"txCount\": \"1199850\"\n    },\n    \"volumeUSD\": \"9900638962.227859628576668358736266\",\n    \"displayName\": \"USDC.e-WAVAX\",\n    \"oneDayVolume\": 50606385.9796257,\n    \"sevenDayVolume\": 480131063.0536938,\n    \"oneDayFees\": 126515.96494906426,\n    \"sevenDayFees\": 1200327.6576342345,\n    \"oneYearFeesAPR\": 30.22236462529864,\n    \"twoDay\": {\n        \"untrackedVolumeUSD\": \"9805132379.837774927170587242903483\",\n        \"volumeUSD\": \"9805132379.837774927170587242903485\",\n        \"reserveUSD\": \"167799447.8572194964424771964384928\",\n        \"txCount\": \"1268823\"\n    },\n    \"fees\": 126515.96494906426,\n    \"feesYesterday\": 112250.4910261488,\n    \"avgTradePrice\": 3914.7819277191693,\n    \"avgTradePriceYesturday\": 3539.071207571492,\n    \"avgTradePriceChange\": 10.61608252876861,\n    \"utilisation\": 33.12039958936837,\n    \"utilisationYesterday\": 25.763307855531416,\n    \"utilisationChange\": 28.556471766327846,\n    \"tx\": 12927,\n    \"txYesterday\": 12687,\n    \"txChange\": 1.8917001655237644,\n    \"volume\": 50606385.9796257,\n    \"volumeYesterday\": 44900196.41045952,\n    \"volumeChange\": 12.70860714506123,\n    \"oneDayVolumeUSD\": \"9850032576.248233085262594305691642\",\n    \"twoDayVolumeUSD\": \"9805132379.837774927170587242903485\",\n    \"transactionData\": [\n        {\n            \"amount0In\": \"0\",\n            \"amount0Out\": \"500\",\n            \"amount1In\": \"7.160421348348610165\",\n            \"amount1Out\": \"0\",\n            \"amountUSD\": \"501.1480103333498411429885108520985\",\n            \"id\": \"0x7a74475960a875acff3786f0bd2dfee247d13f07a3cb98694b141e81ad8dd84e-0\",\n            \"pair\": {\n                \"token0\": {\n                    \"symbol\": \"USDC.e\"\n                },\n                \"token1\": {\n                    \"symbol\": \"WAVAX\"\n                }\n            },\n            \"sender\": \"0x60ae616a2155ee3d9a68541ba4544862310933d4\",\n            \"timestamp\": \"1643649266\",\n            \"to\": \"0x305a07b42db7fe68e66f1031d9dc682a5fec965f\"\n        },\n      .....\n      .....\n      ],\n      \"chartDatas\": {\n        \"liquidity\": [\n            {\n                \"date\": 1629849600,\n                \"value\": 10968656.565947805\n            },\n            ....\n            ....\n        ],\n      },\n   }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","pairs","0x87dee1cc9ffd464b79e058ba20387c1984aed86a"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"add060c8-1d9a-49fc-bca0-f4a80b7ad85a"},{"name":"Get All Lending Pairs","id":"8128a945-932a-475b-800e-667407592f7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/lending","description":"<p>Returns all the jToken available in the comptroller smart contract of Trader Joe along with <strong>historical data.</strong></p>\n<p>Historical data is optional and can be fetched by adding a query <code>?historical=true</code> in the GET request.</p>\n<p>jToken data is fetched directly from the comptroller contract of trader joe and historical data is fetched from the lending subgraph.</p>\n<p>Response includes -</p>\n<ul>\n<li>total supply, total borrowed, total reserves, and total liquidity in the protocol</li>\n<li>total supply, total borrowed, total reserves, and total liquidity in each jToken along with jtoken's underlying data</li>\n</ul>\n<p>Example Response (Without historical data) -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"allLendingData\": {\n        \"totalSupplyUSD\": \"712888592.186104\",\n        \"totalBorrowsUSD\": \"343721622.4821269\",\n        \"totalReservesUSD\": \"2878906.493777075\",\n        \"totalLiquidityUSD\": \"369166969.70397836\",\n        \"jTokens\": [\n            {\n                \"jtoken\": \"0xC22F01ddc8010Ee05574028528614634684EC29e\",\n                \"name\": \"jAVAX\",\n                \"totalBorrows\": \"717012.886746150115612523\",\n                \"totalSupply\": \"91702091.58239116\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"70.15601852\",\n                \"underlyingSymbol\": \"WAVAX\",\n                \"exchangeRate\": \"0.0203191521591921808730137257\",\n                \"cash\": \"1148185.469745296325802012\",\n                \"reserve\": \"1889.604312663988300532\",\n                \"liquidityUSD\": \"80419553.96469119\",\n                \"totalSupplyUSD\": \"130722323.32633275\",\n                \"totalBorrowsUSD\": \"50302769.36164157\",\n                \"supplyRate\": \"2.7764224421616\",\n                \"borrowRate\": \"9.6201566934336\"\n            },\n            {\n                \"jtoken\": \"0x929f5caB61DFEc79a5431a7734a68D714C4633fa\",\n                \"name\": \"jWETH\",\n                \"totalBorrows\": \"2331.085712261846444607\",\n                \"totalSupply\": \"681385.442794\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"2684.08663214\",\n                \"underlyingSymbol\": \"WETH.e\",\n                \"exchangeRate\": \"0.0200896980705776994171197844\",\n                \"cash\": \"11449.186892164642789444\",\n                \"reserve\": \"91.444789008136053335\",\n                \"liquidityUSD\": \"30485163.750376027\",\n                \"totalSupplyUSD\": \"36741999.7490306\",\n                \"totalBorrowsUSD\": \"6256835.998654572\",\n                \"supplyRate\": \"0.5437324252656\",\n                \"borrowRate\": \"4.2572778014159995\"\n            },\n            {\n                \"jtoken\": \"0x3fE38b7b610C0ACD10296fEf69d9b18eB7a9eB1F\",\n                \"name\": \"jWBTC\",\n                \"totalBorrows\": \"112.80494917\",\n                \"totalSupply\": \"59064.73817001\",\n                \"underlyingDecimal\": \"8\",\n                \"underlyingPriceUSD\": \"38463.40213225\",\n                \"underlyingSymbol\": \"WBTC.e\",\n                \"exchangeRate\": \"0.020090664942158654\",\n                \"cash\": \"1076.8964267\",\n                \"reserve\": \"3.0515114\",\n                \"liquidityUSD\": \"41303728.80485583\",\n                \"totalSupplyUSD\": \"45642590.92728957\",\n                \"totalBorrowsUSD\": \"4338862.12243373\",\n                \"supplyRate\": \"0.1694386138752\",\n                \"borrowRate\": \"2.3765424080543998\"\n            },\n            {\n                \"jtoken\": \"0xEd6AaF91a2B084bd594DBd1245be3691F9f637aC\",\n                \"name\": \"jUSDC\",\n                \"totalBorrows\": \"161088968.672715\",\n                \"totalSupply\": \"13046512034.82001825\",\n                \"underlyingDecimal\": \"6\",\n                \"underlyingPriceUSD\": \"1.00019885\",\n                \"underlyingSymbol\": \"USDC.e\",\n                \"exchangeRate\": \"0.0205054548154744\",\n                \"cash\": \"107873186.801585\",\n                \"reserve\": \"1437492.444754\",\n                \"liquidityUSD\": \"106456859.09465386\",\n                \"totalSupplyUSD\": \"267577860.3087883\",\n                \"totalBorrowsUSD\": \"161121001.2141356\",\n                \"supplyRate\": \"5.8737974312592\",\n                \"borrowRate\": \"10.838632233096\"\n            },\n            {\n                \"jtoken\": \"0x8b650e26404AC6837539ca96812f0123601E4448\",\n                \"name\": \"jUSDT\",\n                \"totalBorrows\": \"107777560.362156\",\n                \"totalSupply\": \"8518113571.24459894\",\n                \"underlyingDecimal\": \"6\",\n                \"underlyingPriceUSD\": \"1.00025671\",\n                \"underlyingSymbol\": \"USDT.e\",\n                \"exchangeRate\": \"0.0205275256832695\",\n                \"cash\": \"68249773.870401\",\n                \"reserve\": \"1171539.125827\",\n                \"liquidityUSD\": \"67095454.39821527\",\n                \"totalSupplyUSD\": \"174900682.33789185\",\n                \"totalBorrowsUSD\": \"107805227.93967657\",\n                \"supplyRate\": \"6.1547674863312\",\n                \"borrowRate\": \"11.094834374193601\"\n            },\n            {\n                \"jtoken\": \"0xc988c170d0E38197DC634A45bF00169C7Aa7CA19\",\n                \"name\": \"jDAI\",\n                \"totalBorrows\": \"2296524.39904340271293604\",\n                \"totalSupply\": \"158781403.93578768\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"1.00015855\",\n                \"underlyingSymbol\": \"DAI.e\",\n                \"exchangeRate\": \"0.0204064907321597827748794201\",\n                \"cash\": \"1164198.877454042619526042\",\n                \"reserve\": \"220552.02864247518410219\",\n                \"liquidityUSD\": \"943796.4640194466\",\n                \"totalSupplyUSD\": \"3240684.977006318\",\n                \"totalBorrowsUSD\": \"2296888.512986871\",\n                \"supplyRate\": \"8.1380661226704\",\n                \"borrowRate\": \"12.757794576739201\"\n            },\n            {\n                \"jtoken\": \"0x585E7bC75089eD111b656faA7aeb1104F5b96c15\",\n                \"name\": \"jLINK\",\n                \"totalBorrows\": \"53221.992776336086134803\",\n                \"totalSupply\": \"90092533.78551309\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"17.35372151\",\n                \"underlyingSymbol\": \"LINK.e\",\n                \"exchangeRate\": \"0.0200956498177814201733324968\",\n                \"cash\": \"1761607.083851550603362188\",\n                \"reserve\": \"4361.066477574121820747\",\n                \"liquidityUSD\": \"30494758.01006461\",\n                \"totalSupplyUSD\": \"31418357.650912374\",\n                \"totalBorrowsUSD\": \"923599.640847768\",\n                \"supplyRate\": \"0.0202540464576\",\n                \"borrowRate\": \"0.91865046024\"\n            },\n            {\n                \"jtoken\": \"0xcE095A9657A02025081E0607c8D8b081c76A75ea\",\n                \"name\": \"jMIM\",\n                \"totalBorrows\": \"10433943.644522904981022399\",\n                \"totalSupply\": \"687343916.59714306\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"0.99437346\",\n                \"underlyingSymbol\": \"MIM\",\n                \"exchangeRate\": \"0.020545194634681261509484369\",\n                \"cash\": \"3705120.436779052931704403\",\n                \"reserve\": \"17449.533849529822528594\",\n                \"liquidityUSD\": \"3666922.075087354\",\n                \"totalSupplyUSD\": \"14042158.718336605\",\n                \"totalBorrowsUSD\": \"10375236.643249253\",\n                \"supplyRate\": \"7.3699074695808\",\n                \"borrowRate\": \"13.2995405682864\"\n            },\n            {\n                \"jtoken\": \"0xC146783a59807154F92084f9243eb139D58Da696\",\n                \"name\": \"jXJOE\",\n                \"totalBorrows\": \"0.0\",\n                \"totalSupply\": \"242591117.94307378\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"1.656095860177791676\",\n                \"underlyingSymbol\": \"xJOE\",\n                \"exchangeRate\": \"0.0200000000000104333032926041\",\n                \"cash\": \"4877140.410481430593181335\",\n                \"reserve\": \"25318.051617423966471743\",\n                \"liquidityUSD\": \"8035082.922832729\",\n                \"totalSupplyUSD\": \"8035082.922832729\",\n                \"totalBorrowsUSD\": \"0\",\n                \"supplyRate\": \"0\",\n                \"borrowRate\": \"0\"\n            },\n            {\n                \"jtoken\": \"0x29472D511808Ce925F501D25F9Ee9efFd2328db2\",\n                \"name\": \"jUSDCNative\",\n                \"totalBorrows\": \"301141.16658\",\n                \"totalSupply\": \"28243650.66423444\",\n                \"underlyingDecimal\": \"6\",\n                \"underlyingPriceUSD\": \"1.00019885\",\n                \"underlyingSymbol\": \"USDC\",\n                \"exchangeRate\": \"0.0200660523122697\",\n                \"cash\": \"265807.547134\",\n                \"reserve\": \"210.141996\",\n                \"liquidityUSD\": \"265650.2191820117\",\n                \"totalSupplyUSD\": \"566851.2676829854\",\n                \"totalBorrowsUSD\": \"301201.0485009745\",\n                \"supplyRate\": \"4.0657175665488\",\n                \"borrowRate\": \"9.5644469397744\"\n            }\n        ]\n    }\n}\n\n</code></pre>\n<p>Response Example (With historical data) -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"allLendingData\": {\n        \"totalSupplyUSD\": \"712888592.186104\",\n        \"totalBorrowsUSD\": \"343721622.4821269\",\n        \"totalReservesUSD\": \"2878906.493777075\",\n        \"totalLiquidityUSD\": \"369166969.70397836\",\n        \"jTokens\": [\n            {\n                \"jtoken\": \"0xC22F01ddc8010Ee05574028528614634684EC29e\",\n                \"name\": \"jAVAX\",\n                \"totalBorrows\": \"717012.886746150115612523\",\n                \"totalSupply\": \"91702091.58239116\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"70.15601852\",\n                \"underlyingSymbol\": \"WAVAX\",\n                \"exchangeRate\": \"0.0203191521591921808730137257\",\n                \"cash\": \"1148185.469745296325802012\",\n                \"reserve\": \"1889.604312663988300532\",\n                \"liquidityUSD\": \"80419553.96469119\",\n                \"totalSupplyUSD\": \"130722323.32633275\",\n                \"totalBorrowsUSD\": \"50302769.36164157\",\n                \"supplyRate\": \"2.7764224421616\",\n                \"borrowRate\": \"9.6201566934336\"\n            },\n            {\n                \"jtoken\": \"0x929f5caB61DFEc79a5431a7734a68D714C4633fa\",\n                \"name\": \"jWETH\",\n                \"totalBorrows\": \"2331.085712261846444607\",\n                \"totalSupply\": \"681385.442794\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"2684.08663214\",\n                \"underlyingSymbol\": \"WETH.e\",\n                \"exchangeRate\": \"0.0200896980705776994171197844\",\n                \"cash\": \"11449.186892164642789444\",\n                \"reserve\": \"91.444789008136053335\",\n                \"liquidityUSD\": \"30485163.750376027\",\n                \"totalSupplyUSD\": \"36741999.7490306\",\n                \"totalBorrowsUSD\": \"6256835.998654572\",\n                \"supplyRate\": \"0.5437324252656\",\n                \"borrowRate\": \"4.2572778014159995\"\n            },\n            {\n                \"jtoken\": \"0x3fE38b7b610C0ACD10296fEf69d9b18eB7a9eB1F\",\n                \"name\": \"jWBTC\",\n                \"totalBorrows\": \"112.80494917\",\n                \"totalSupply\": \"59064.73817001\",\n                \"underlyingDecimal\": \"8\",\n                \"underlyingPriceUSD\": \"38463.40213225\",\n                \"underlyingSymbol\": \"WBTC.e\",\n                \"exchangeRate\": \"0.020090664942158654\",\n                \"cash\": \"1076.8964267\",\n                \"reserve\": \"3.0515114\",\n                \"liquidityUSD\": \"41303728.80485583\",\n                \"totalSupplyUSD\": \"45642590.92728957\",\n                \"totalBorrowsUSD\": \"4338862.12243373\",\n                \"supplyRate\": \"0.1694386138752\",\n                \"borrowRate\": \"2.3765424080543998\"\n            },\n            {\n                \"jtoken\": \"0xEd6AaF91a2B084bd594DBd1245be3691F9f637aC\",\n                \"name\": \"jUSDC\",\n                \"totalBorrows\": \"161088968.672715\",\n                \"totalSupply\": \"13046512034.82001825\",\n                \"underlyingDecimal\": \"6\",\n                \"underlyingPriceUSD\": \"1.00019885\",\n                \"underlyingSymbol\": \"USDC.e\",\n                \"exchangeRate\": \"0.0205054548154744\",\n                \"cash\": \"107873186.801585\",\n                \"reserve\": \"1437492.444754\",\n                \"liquidityUSD\": \"106456859.09465386\",\n                \"totalSupplyUSD\": \"267577860.3087883\",\n                \"totalBorrowsUSD\": \"161121001.2141356\",\n                \"supplyRate\": \"5.8737974312592\",\n                \"borrowRate\": \"10.838632233096\"\n            },\n            {\n                \"jtoken\": \"0x8b650e26404AC6837539ca96812f0123601E4448\",\n                \"name\": \"jUSDT\",\n                \"totalBorrows\": \"107777560.362156\",\n                \"totalSupply\": \"8518113571.24459894\",\n                \"underlyingDecimal\": \"6\",\n                \"underlyingPriceUSD\": \"1.00025671\",\n                \"underlyingSymbol\": \"USDT.e\",\n                \"exchangeRate\": \"0.0205275256832695\",\n                \"cash\": \"68249773.870401\",\n                \"reserve\": \"1171539.125827\",\n                \"liquidityUSD\": \"67095454.39821527\",\n                \"totalSupplyUSD\": \"174900682.33789185\",\n                \"totalBorrowsUSD\": \"107805227.93967657\",\n                \"supplyRate\": \"6.1547674863312\",\n                \"borrowRate\": \"11.094834374193601\"\n            },\n            {\n                \"jtoken\": \"0xc988c170d0E38197DC634A45bF00169C7Aa7CA19\",\n                \"name\": \"jDAI\",\n                \"totalBorrows\": \"2296524.39904340271293604\",\n                \"totalSupply\": \"158781403.93578768\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"1.00015855\",\n                \"underlyingSymbol\": \"DAI.e\",\n                \"exchangeRate\": \"0.0204064907321597827748794201\",\n                \"cash\": \"1164198.877454042619526042\",\n                \"reserve\": \"220552.02864247518410219\",\n                \"liquidityUSD\": \"943796.4640194466\",\n                \"totalSupplyUSD\": \"3240684.977006318\",\n                \"totalBorrowsUSD\": \"2296888.512986871\",\n                \"supplyRate\": \"8.1380661226704\",\n                \"borrowRate\": \"12.757794576739201\"\n            },\n            {\n                \"jtoken\": \"0x585E7bC75089eD111b656faA7aeb1104F5b96c15\",\n                \"name\": \"jLINK\",\n                \"totalBorrows\": \"53221.992776336086134803\",\n                \"totalSupply\": \"90092533.78551309\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"17.35372151\",\n                \"underlyingSymbol\": \"LINK.e\",\n                \"exchangeRate\": \"0.0200956498177814201733324968\",\n                \"cash\": \"1761607.083851550603362188\",\n                \"reserve\": \"4361.066477574121820747\",\n                \"liquidityUSD\": \"30494758.01006461\",\n                \"totalSupplyUSD\": \"31418357.650912374\",\n                \"totalBorrowsUSD\": \"923599.640847768\",\n                \"supplyRate\": \"0.0202540464576\",\n                \"borrowRate\": \"0.91865046024\"\n            },\n            {\n                \"jtoken\": \"0xcE095A9657A02025081E0607c8D8b081c76A75ea\",\n                \"name\": \"jMIM\",\n                \"totalBorrows\": \"10433943.644522904981022399\",\n                \"totalSupply\": \"687343916.59714306\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"0.99437346\",\n                \"underlyingSymbol\": \"MIM\",\n                \"exchangeRate\": \"0.020545194634681261509484369\",\n                \"cash\": \"3705120.436779052931704403\",\n                \"reserve\": \"17449.533849529822528594\",\n                \"liquidityUSD\": \"3666922.075087354\",\n                \"totalSupplyUSD\": \"14042158.718336605\",\n                \"totalBorrowsUSD\": \"10375236.643249253\",\n                \"supplyRate\": \"7.3699074695808\",\n                \"borrowRate\": \"13.2995405682864\"\n            },\n            {\n                \"jtoken\": \"0xC146783a59807154F92084f9243eb139D58Da696\",\n                \"name\": \"jXJOE\",\n                \"totalBorrows\": \"0.0\",\n                \"totalSupply\": \"242591117.94307378\",\n                \"underlyingDecimal\": \"18\",\n                \"underlyingPriceUSD\": \"1.656095860177791676\",\n                \"underlyingSymbol\": \"xJOE\",\n                \"exchangeRate\": \"0.0200000000000104333032926041\",\n                \"cash\": \"4877140.410481430593181335\",\n                \"reserve\": \"25318.051617423966471743\",\n                \"liquidityUSD\": \"8035082.922832729\",\n                \"totalSupplyUSD\": \"8035082.922832729\",\n                \"totalBorrowsUSD\": \"0\",\n                \"supplyRate\": \"0\",\n                \"borrowRate\": \"0\"\n            },\n            {\n                \"jtoken\": \"0x29472D511808Ce925F501D25F9Ee9efFd2328db2\",\n                \"name\": \"jUSDCNative\",\n                \"totalBorrows\": \"301141.16658\",\n                \"totalSupply\": \"28243650.66423444\",\n                \"underlyingDecimal\": \"6\",\n                \"underlyingPriceUSD\": \"1.00019885\",\n                \"underlyingSymbol\": \"USDC\",\n                \"exchangeRate\": \"0.0200660523122697\",\n                \"cash\": \"265807.547134\",\n                \"reserve\": \"210.141996\",\n                \"liquidityUSD\": \"265650.2191820117\",\n                \"totalSupplyUSD\": \"566851.2676829854\",\n                \"totalBorrowsUSD\": \"301201.0485009745\",\n                \"supplyRate\": \"4.0657175665488\",\n                \"borrowRate\": \"9.5644469397744\"\n            }\n        ]\n    },\n    \"graphData\": {\n        \"liquidationDayDatas\": [\n            {\n                \"date\": 1643500800,\n                \"id\": \"0xc22f01ddc8010ee05574028528614634684ec29e-0x8b650e26404ac6837539ca96812f0123601e4448-19022\",\n                \"underlyingCollateralSeizedAmountUSD\": \"175.0567593119017713761495475\",\n                \"underlyingRepayAmountUSD\": \"161.854149086034\"\n            },\n            {\n                \"date\": 1643414400,\n                \"id\": \"0xed6aaf91a2b084bd594dbd1245be3691f9f637ac-0xed6aaf91a2b084bd594dbd1245be3691f9f637ac-19021\",\n                \"underlyingCollateralSeizedAmountUSD\": \"8454.036077364456\",\n                \"underlyingRepayAmountUSD\": \"7827.811831011168\"\n            },\n            ...\n            ...\n        ],\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","lending"],"host":["joe-api-v2","herokuapp","com"],"query":[{"disabled":true,"key":"historical","value":"true"}],"variable":[]}},"response":[],"_postman_id":"8128a945-932a-475b-800e-667407592f7f"},{"name":"Get Single Lending Pair","id":"73fb770c-853b-484e-ab39-296174d210db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/lending/0x929f5caB61DFEc79a5431a7734a68D714C4633fa","description":"<p>Returns a particular jToken data from the comptroller smart contract of Trader Joe along.</p>\n<p>Example Response -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"jtoken\": \"0x929f5caB61DFEc79a5431a7734a68D714C4633fa\",\n    \"name\": \"jWETH\",\n    \"totalBorrows\": \"2331.085712261846444607\",\n    \"totalSupply\": \"681385.442794\",\n    \"underlyingDecimal\": \"18\",\n    \"underlyingPriceUSD\": \"2684.08663214\",\n    \"underlyingSymbol\": \"WETH.e\",\n    \"exchangeRate\": \"0.0200896980705776994171197844\",\n    \"cash\": \"11449.186892164642789444\",\n    \"reserve\": \"91.444789008136053335\",\n    \"liquidityUSD\": \"30485163.750376027\",\n    \"totalSupplyUSD\": \"36741999.7490306\",\n    \"totalBorrowsUSD\": \"6256835.998654572\",\n    \"supplyRate\": \"0.5437324252656\",\n    \"borrowRate\": \"4.2572778014159995\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","lending","0x929f5caB61DFEc79a5431a7734a68D714C4633fa"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"73fb770c-853b-484e-ab39-296174d210db"},{"name":"Get All Pools","id":"246ead76-4a52-4fb4-981d-68037cd5da9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/pool","description":"<p>Returns all the Pools data are available in Trader Joe from joe exchange and masterchef subgraph.</p>\n<p>Response includes -</p>\n<ul>\n<li>Calculated APR/APY, ROI(daily, monthly, and yearly), TVL, rewards rate</li>\n<li>Pair information like reserves, tokens, volume, total supply, etc.</li>\n</ul>\n<p>Response Example -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"accJoePerShare\": \"229264179217023\",\n        \"allocPoint\": \"100\",\n        \"balance\": \"9472075435421468354323\",\n        \"id\": \"62\",\n        \"lastRewardTimestamp\": \"1643641394\",\n        \"owner\": {\n            \"id\": \"0xd6a4f121ca35509af06a0be99093d08462f53052\",\n            \"joePerSec\": \"9000000000000000000\",\n            \"totalAllocPoint\": \"39900\"\n        },\n        \"pair\": \"0xc3e6d9f7a3a5e3e223356383c7c055ee3f26a34f\",\n        \"timestamp\": \"1632837023\",\n        \"userCount\": \"86\",\n        \"liquidityPair\": {\n            \"id\": \"0xc3e6d9f7a3a5e3e223356383c7c055ee3f26a34f\",\n            \"reserve0\": \"6628.817362621917127963\",\n            \"reserve1\": \"14873.531109552971676741\",\n            \"reserveAVAX\": \"29747.062219105943353482\",\n            \"reserveUSD\": \"2090349.334991463383485164669088089\",\n            \"timestamp\": \"1630317428\",\n            \"token0\": {\n                \"derivedAVAX\": \"2.243768427445404349719372639707267\",\n                \"id\": \"0x63a72806098bd3d9520cc43356dd78afe5d386d9\",\n                \"name\": \"Aave Token\",\n                \"symbol\": \"AAVE.e\",\n                \"totalSupply\": \"17128\"\n            },\n            \"token0Price\": \"0.4456787909875927351733143281183681\",\n            \"token1\": {\n                \"derivedAVAX\": \"1\",\n                \"id\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n                \"name\": \"Wrapped AVAX\",\n                \"symbol\": \"WAVAX\",\n                \"totalSupply\": \"17504\"\n            },\n            \"token1Price\": \"2.243768427445404349719372639707267\",\n            \"totalSupply\": \"9507.528809927150863469\",\n            \"trackedReserveAVAX\": \"29747.06221910594335348199999999999\",\n            \"txCount\": \"43733\",\n            \"untrackedVolumeUSD\": \"98032013.0901726012281302650734089\",\n            \"volumeUSD\": \"98035370.65422942108324310531001801\"\n        },\n        \"rewardPerSec\": 0.011278195488721804,\n        \"roiPerHour\": 0.00002527986740047181,\n        \"roiPerDay\": 0.0006067168176113235,\n        \"roiPerMonth\": 0.018201504528339706,\n        \"roiPerYear\": 0.21841805434007647,\n        \"tvl\": \"2090349.334991463383485164669088089\"\n    },\n    {\n        \"accJoePerShare\": \"8163500128223\",\n        \"allocPoint\": \"50\",\n        \"balance\": \"6750533592026733497669\",\n        \"id\": \"59\",\n        \"lastRewardTimestamp\": \"1643641406\",\n        \"owner\": {\n            \"id\": \"0xd6a4f121ca35509af06a0be99093d08462f53052\",\n            \"joePerSec\": \"9000000000000000000\",\n            \"totalAllocPoint\": \"39900\"\n        },\n        \"pair\": \"0x41f3092d6dd8db25ec0f7395f56cac107ecb7a12\",\n        \"timestamp\": \"1632836921\",\n        \"userCount\": \"52\",\n        \"liquidityPair\": {\n            \"id\": \"0x41f3092d6dd8db25ec0f7395f56cac107ecb7a12\",\n            \"reserve0\": \"66234.332303467702610136\",\n            \"reserve1\": \"938.212978995284348001\",\n            \"reserveAVAX\": \"1876.425957990568696002\",\n            \"reserveUSD\": \"131825.9540635594723643784034475161\",\n            \"timestamp\": \"1628309520\",\n            \"token0\": {\n                \"derivedAVAX\": \"0.01416505528728888762133029877395541\",\n                \"id\": \"0x78c42324016cd91d1827924711563fb66e33a83a\",\n                \"name\": \"Relay Token\",\n                \"symbol\": \"RELAY\",\n                \"totalSupply\": \"17128\"\n            },\n            \"token0Price\": \"70.59626522583057341116800104503957\",\n            \"token1\": {\n                \"derivedAVAX\": \"1\",\n                \"id\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n                \"name\": \"Wrapped AVAX\",\n                \"symbol\": \"WAVAX\",\n                \"totalSupply\": \"17504\"\n            },\n            \"token1Price\": \"0.01416505528728888762133029877395541\",\n            \"totalSupply\": \"7083.948743245955235392\",\n            \"trackedReserveAVAX\": \"1876.425957990568696002\",\n            \"txCount\": \"18101\",\n            \"untrackedVolumeUSD\": \"18737118.39619477054975325443505969\",\n            \"volumeUSD\": \"18745971.85360983000350532985891652\"\n        },\n        \"rewardPerSec\": 0.005639097744360902,\n        \"roiPerHour\": 0.0002095451188585809,\n        \"roiPerDay\": 0.005029082852605941,\n        \"roiPerMonth\": 0.15087248557817823,\n        \"roiPerYear\": 1.8104698269381387,\n        \"tvl\": \"131825.9540635594723643784034475161\"\n    },\n    ...\n    ...\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","pool"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"246ead76-4a52-4fb4-981d-68037cd5da9d"},{"name":"Get Single Pool","id":"0f8a1be1-1ca6-46bc-a2ee-fe59200be220","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/pool/62?historical=true","description":"<p>Returns Pool data for a particilar pool and historical data available in Trader Joe from joe exchange and masterchef subgraph.</p>\n<p>Historical data is optional and can be fetched by adding a query <code>?historical=true</code> in the GET request.</p>\n<p>Historical data includes -</p>\n<ul>\n<li>LP Age, User count, LP Deposited, LP Withdrawn, LP average, LP Balance and TVL</li>\n</ul>\n<p>Example Response (Without historical data) -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pool\": {\n        \"accJoePerShare\": \"229264179217023\",\n        \"allocPoint\": \"100\",\n        \"balance\": \"9472075435421468354323\",\n        \"id\": \"62\",\n        \"lastRewardTimestamp\": \"1643641394\",\n        \"owner\": {\n            \"id\": \"0xd6a4f121ca35509af06a0be99093d08462f53052\",\n            \"joePerSec\": \"9000000000000000000\",\n            \"totalAllocPoint\": \"39900\"\n        },\n        \"pair\": \"0xc3e6d9f7a3a5e3e223356383c7c055ee3f26a34f\",\n        \"timestamp\": \"1632837023\",\n        \"userCount\": \"86\",\n        \"liquidityPair\": {\n            \"id\": \"0xc3e6d9f7a3a5e3e223356383c7c055ee3f26a34f\",\n            \"reserve0\": \"6628.817362621917127963\",\n            \"reserve1\": \"14873.531109552971676741\",\n            \"reserveAVAX\": \"29747.062219105943353482\",\n            \"reserveUSD\": \"2090349.334991463383485164669088089\",\n            \"timestamp\": \"1630317428\",\n            \"token0\": {\n                \"derivedAVAX\": \"2.243768427445404349719372639707267\",\n                \"id\": \"0x63a72806098bd3d9520cc43356dd78afe5d386d9\",\n                \"name\": \"Aave Token\",\n                \"symbol\": \"AAVE.e\",\n                \"totalSupply\": \"17128\"\n            },\n            \"token0Price\": \"0.4456787909875927351733143281183681\",\n            \"token1\": {\n                \"derivedAVAX\": \"1\",\n                \"id\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n                \"name\": \"Wrapped AVAX\",\n                \"symbol\": \"WAVAX\",\n                \"totalSupply\": \"17504\"\n            },\n            \"token1Price\": \"2.243768427445404349719372639707267\",\n            \"totalSupply\": \"9507.528809927150863469\",\n            \"trackedReserveAVAX\": \"29747.06221910594335348199999999999\",\n            \"txCount\": \"43733\",\n            \"untrackedVolumeUSD\": \"98032013.0901726012281302650734089\",\n            \"volumeUSD\": \"98035370.65422942108324310531001801\"\n        },\n        \"rewardPerSec\": 0.011278195488721804,\n        \"roiPerHour\": 0.00002527986740047181,\n        \"roiPerDay\": 0.0006067168176113235,\n        \"roiPerMonth\": 0.018201504528339706,\n        \"roiPerYear\": 0.21841805434007647,\n        \"tvl\": \"2090349.334991463383485164669088089\"\n    },\n}\n\n</code></pre>\n<p>Example Response (With historical data) -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pool\": {\n        \"accJoePerShare\": \"229264179217023\",\n        \"allocPoint\": \"100\",\n        \"balance\": \"9472075435421468354323\",\n        \"id\": \"62\",\n        \"lastRewardTimestamp\": \"1643641394\",\n        \"owner\": {\n            \"id\": \"0xd6a4f121ca35509af06a0be99093d08462f53052\",\n            \"joePerSec\": \"9000000000000000000\",\n            \"totalAllocPoint\": \"39900\"\n        },\n        \"pair\": \"0xc3e6d9f7a3a5e3e223356383c7c055ee3f26a34f\",\n        \"timestamp\": \"1632837023\",\n        \"userCount\": \"86\",\n        \"liquidityPair\": {\n            \"id\": \"0xc3e6d9f7a3a5e3e223356383c7c055ee3f26a34f\",\n            \"reserve0\": \"6628.817362621917127963\",\n            \"reserve1\": \"14873.531109552971676741\",\n            \"reserveAVAX\": \"29747.062219105943353482\",\n            \"reserveUSD\": \"2090349.334991463383485164669088089\",\n            \"timestamp\": \"1630317428\",\n            \"token0\": {\n                \"derivedAVAX\": \"2.243768427445404349719372639707267\",\n                \"id\": \"0x63a72806098bd3d9520cc43356dd78afe5d386d9\",\n                \"name\": \"Aave Token\",\n                \"symbol\": \"AAVE.e\",\n                \"totalSupply\": \"17128\"\n            },\n            \"token0Price\": \"0.4456787909875927351733143281183681\",\n            \"token1\": {\n                \"derivedAVAX\": \"1\",\n                \"id\": \"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7\",\n                \"name\": \"Wrapped AVAX\",\n                \"symbol\": \"WAVAX\",\n                \"totalSupply\": \"17504\"\n            },\n            \"token1Price\": \"2.243768427445404349719372639707267\",\n            \"totalSupply\": \"9507.528809927150863469\",\n            \"trackedReserveAVAX\": \"29747.06221910594335348199999999999\",\n            \"txCount\": \"43733\",\n            \"untrackedVolumeUSD\": \"98032013.0901726012281302650734089\",\n            \"volumeUSD\": \"98035370.65422942108324310531001801\"\n        },\n        \"rewardPerSec\": 0.011278195488721804,\n        \"roiPerHour\": 0.00002527986740047181,\n        \"roiPerDay\": 0.0006067168176113235,\n        \"roiPerMonth\": 0.018201504528339706,\n        \"roiPerYear\": 0.21841805434007647,\n        \"tvl\": \"2090349.334991463383485164669088089\"\n    },\n    \"poolHistory\": {\n        \"slpAge\": [\n            {\n                \"date\": 1632837075000\n            },\n            ...\n            ...\n        ],\n        \"slpAgeRemoved\": [\n            {\n                \"date\": 1632837075000\n            }\n            ...\n            ...\n        ],\n        \"userCount\": [\n            {\n                \"date\": 1632837075000,\n                \"value\": 152\n            }\n            ...\n            ...\n        ],\n        \"slpDeposited\": [\n            {\n                \"date\": 1632837075000,\n                \"value\": null\n            }\n            ...\n            ...\n        ],\n        \"slpWithdrawn\": [\n            {\n                \"date\": 1632837075000,\n                \"value\": null\n            }\n            ...\n            ...\n        ],\n        \"slpAgeAverage\": [\n            {\n                \"date\": 1632837075000,\n                \"value\": 0\n            }\n            ...\n            ...\n        ],\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","pool","62"],"host":["joe-api-v2","herokuapp","com"],"query":[{"key":"historical","value":"true"}],"variable":[]}},"response":[],"_postman_id":"0f8a1be1-1ca6-46bc-a2ee-fe59200be220"},{"name":"Get All Tokens","id":"80e9812b-650b-4309-8c0f-fff39d77025f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/tokens?first=25&skip=0","description":"<p>Returns a list of tokens along with liquidity, total supply, name, symbol, decimal, volume, volume USD, one-day, seven-day data, etc.</p>\n<p>This is a paginated API and requires the following query parameters.</p>\n<p><code>first</code> (Optional)- Number of tokens data required in an API call</p>\n<p><code>skip</code> (Optional) - Number of tokens to skip and then fetch next tokens</p>\n<p>Response Example -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"decimals\": \"6\",\n        \"derivedAVAX\": \"0.01426613282679840364280437660017322\",\n        \"id\": \"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664\",\n        \"liquidity\": \"122041825.903042\",\n        \"name\": \"USD Coin\",\n        \"symbol\": \"USDC.e\",\n        \"totalSupply\": \"17128\",\n        \"txCount\": \"2229132\",\n        \"untrackedVolumeUSD\": \"11590626403.09415776574456954163122\",\n        \"volume\": \"11612383138.065936\",\n        \"volumeUSD\": \"11589840154.30396941664389790757555\",\n        \"oneDay\": {\n            \"volumeUSD\": \"11525839544.86827838506366232697936\",\n            \"derivedAVAX\": \"0.01441329911625433364092376559398305\",\n            \"liquidity\": \"133300920.977196\"\n        },\n        \"sevenDay\": {\n            \"volumeUSD\": \"10990820115.27754477173365365741668\",\n            \"derivedAVAX\": \"0.01607949900491005840467607367204263\",\n            \"liquidity\": \"111266083.903018\"\n        }\n    },\n    {\n        \"decimals\": \"6\",\n        \"derivedAVAX\": \"0.01427318720460397784174464515280969\",\n        \"id\": \"0xc7198437980c041c805a1edcba50c1ce5db95118\",\n        \"liquidity\": \"65250318.568389\",\n        \"name\": \"Tether USD\",\n        \"symbol\": \"USDT.e\",\n        \"totalSupply\": \"17152\",\n        \"txCount\": \"2439611\",\n        \"untrackedVolumeUSD\": \"33558071260791361.43736832449359619\",\n        \"volume\": \"10368406625.18669\",\n        \"volumeUSD\": \"10369382175.46858403732215722705351\",\n        \"oneDay\": {\n            \"volumeUSD\": \"10337367762.49277263435973614296534\",\n            \"derivedAVAX\": \"0.01443187577511231960721641605080355\",\n            \"liquidity\": \"76032016.503475\"\n        },\n        \"sevenDay\": {\n            \"volumeUSD\": \"10058335780.58484654951221498763471\",\n            \"derivedAVAX\": \"0.01608968389743023380580596023594125\",\n            \"liquidity\": \"67629964.236372\"\n        }\n    },\n    ...\n    ...\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","tokens"],"host":["joe-api-v2","herokuapp","com"],"query":[{"key":"first","value":"25"},{"key":"skip","value":"0"}],"variable":[]}},"response":[],"_postman_id":"80e9812b-650b-4309-8c0f-fff39d77025f"},{"name":"Get Single Tokens","id":"73cd59a7-6a0a-4caa-badb-e5dffab0b13e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v2/tokens/0x7d1232b90d3f809a54eeaeebc639c62df8a8942f","description":"<p>Returns all the data for a Token along with <strong>some additional information</strong></p>\n<p>Response includes price, yesterday price, price change, last week price, one week price change, liquidity and volume.</p>\n<p>Response Example -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"decimals\": \"9\",\n    \"derivedAVAX\": \"2.595261257159291493883439977190306\",\n    \"id\": \"0x7d1232b90d3f809a54eeaeebc639c62df8a8942f\",\n    \"liquidity\": \"33054.447917238\",\n    \"name\": \"Snowbank\",\n    \"symbol\": \"SB\",\n    \"totalSupply\": \"17152\",\n    \"txCount\": \"254715\",\n    \"untrackedVolumeUSD\": \"1099361421.794659904002029614270169\",\n    \"volume\": \"774738.753938721\",\n    \"volumeUSD\": \"1096250331.358759026535402169502463\",\n    \"oneDay\": {\n        \"volumeUSD\": \"1095890528.30427835188614415136186\",\n        \"derivedAVAX\": \"2.545906823484250772019188330951075\",\n        \"liquidity\": \"33393.581594429\"\n    },\n    \"sevenDay\": {\n        \"volumeUSD\": \"1091787134.543159408065060608444724\",\n        \"derivedAVAX\": \"2.665218790820034019960473037350897\",\n        \"liquidity\": \"34111.860811739\"\n    },\n    \"price\": 181.82391235172554,\n    \"priceYesterday\": 176.49965107838082,\n    \"priceChange\": 3.016584588589523,\n    \"priceLastWeek\": 165.98094839422583,\n    \"sevenDayPriceChange\": 9.545049664296805,\n    \"liquidityUSD\": 6010089.040938559,\n    \"volumeYesterday\": 359803.0544805527\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","tokens","0x7d1232b90d3f809a54eeaeebc639c62df8a8942f"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"73cd59a7-6a0a-4caa-badb-e5dffab0b13e"}],"id":"545922bd-d316-4ef4-9bab-a9564620d71c","_postman_id":"545922bd-d316-4ef4-9bab-a9564620d71c","description":""},{"name":"V1 APIs","item":[{"name":"Circulating Supply","id":"aaa77efb-3ea6-4128-8610-32ea325c5371","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/supply/circulating","urlObject":{"protocol":"https","path":["v1","supply","circulating"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"aaa77efb-3ea6-4128-8610-32ea325c5371"},{"name":"Circulating Supply Adjusted","id":"e4913cca-226d-4d07-b850-60fd3dd199bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/supply/circulating-adjusted","urlObject":{"protocol":"https","path":["v1","supply","circulating-adjusted"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4913cca-226d-4d07-b850-60fd3dd199bc"},{"name":"Total Supply","id":"70d19bc1-59e8-43e0-91fc-4b9d2d92680f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/supply/total","urlObject":{"protocol":"https","path":["v1","supply","total"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"70d19bc1-59e8-43e0-91fc-4b9d2d92680f"},{"name":"Max Supply","id":"0302e42c-9197-44fe-a30b-c3a533cff489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/supply/max","urlObject":{"protocol":"https","path":["v1","supply","max"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0302e42c-9197-44fe-a30b-c3a533cff489"},{"name":"NFT","id":"47903d07-881e-4689-aba1-f4fae9c88acc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/nft/hat","urlObject":{"protocol":"https","path":["v1","nft","hat"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"47903d07-881e-4689-aba1-f4fae9c88acc"},{"name":"NFT Details","id":"080fe9b2-6dee-4e19-80f9-d5aa676e3997","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/nft/hat/21","urlObject":{"protocol":"https","path":["v1","nft","hat","21"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"080fe9b2-6dee-4e19-80f9-d5aa676e3997"},{"name":"Token Price AVAX","id":"4d1e70b2-b14d-413b-86fa-707adf6cbeec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/priceavax/0x50b7545627a5162f82a992c33b87adc75187b218","urlObject":{"protocol":"https","path":["v1","priceavax","0x50b7545627a5162f82a992c33b87adc75187b218"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d1e70b2-b14d-413b-86fa-707adf6cbeec"},{"name":"Token Price USD","id":"320c4e02-d915-4512-96e3-0f2ccf8405e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/priceusd/0x50b7545627a5162f82a992c33b87adc75187b218","urlObject":{"protocol":"https","path":["v1","priceusd","0x50b7545627a5162f82a992c33b87adc75187b218"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"320c4e02-d915-4512-96e3-0f2ccf8405e1"},{"name":"Lending Supply","id":"d70d55bd-1960-4597-b74d-2eea9511aae4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/lending/supply","urlObject":{"protocol":"https","path":["v1","lending","supply"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d70d55bd-1960-4597-b74d-2eea9511aae4"},{"name":"Lending Borrowed","id":"40b060ad-be9a-4bf8-a336-3c9cf594b21e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://joe-api-v2.herokuapp.com/v1/lending/borrow","urlObject":{"protocol":"https","path":["v1","lending","borrow"],"host":["joe-api-v2","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"40b060ad-be9a-4bf8-a336-3c9cf594b21e"}],"id":"caa56e86-adec-45df-85c1-90b8ed058f73","_postman_id":"caa56e86-adec-45df-85c1-90b8ed058f73","description":""}]}