{"id":8037,"date":"2021-02-26T18:22:33","date_gmt":"2021-02-26T18:22:33","guid":{"rendered":"http:\/\/algotrading101.com\/learn\/?p=8037"},"modified":"2023-04-03T21:11:40","modified_gmt":"2023-04-03T21:11:40","slug":"coingecko-api-guide","status":"publish","type":"post","link":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/","title":{"rendered":"CoinGecko API &#8211; A Complete Guide"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_8037\" class=\"pvc_stats total_only  \" data-element-id=\"8037\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>\n<h3 class=\"wp-block-heading\">Table of contents:<\/h3>\n\n\n\n<ol><li><a href=\"#what-is-coingecko\">What is the CoinGecko API?<\/a><\/li><li><a href=\"#why-should-i-use-coingecko\">Why should I use CoinGecko?<\/a><\/li><li><a href=\"#why-shouldnt-i-use-coingecko\">Why shouldn\u2019t I use the CoinGecko?<\/a><\/li><li><a href=\"#what-are-the-alternatives-to-using-coingecko\">What are the alternatives to using CoinGecko?<\/a><\/li><li><a href=\"#what-clients-are-available-for-coingecko\">What Coding Languages\/Clients are available for the CoinGecko API?<\/a><\/li><li><a href=\"#how-to-get-started-with-coingecko\">How to get started with the the CoinGecko API?<\/a><\/li><li><a href=\"#how-to-obtain-price-data-with-coingecko\">How to obtain price data with the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">API?<\/a><\/li><li><a href=\"#how-to-get-historical-data-with-coingecko\">How to get historical data with the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">API?<\/a><\/li><li><a href=\"#what-are-the-coingecko-coin-functions\">What are the the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">API<\/a> <a href=\"#what-are-the-coingecko-coin-functions\">coin functions?<\/a><ul><li><a href=\"#how-to-get-a-list-of-coins-using-coingecko\">How to get a list of coins using the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><li><a href=\"#how-to-get-status-updates-for-a-specific-coin-using-coingecko\">How to get status updates for a specific coin using the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><li><a href=\"#how-to-obtain-the-trending-coins-using-coingecko\">How to obtain the trending coins using the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><\/ul><\/li><li><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#what-is-the-coingecko-trust-score\">What is the CoinGecko Trust Score?<\/a><\/li><li><a href=\"#what-are-the-coingecko-exchange-functions\">What are the CoinGecko API exchange functions?<\/a><ul><li><a href=\"#how-to-get-the-exchange-list-using-coingecko\">How to get the exchange list using the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><li><a href=\"#how-to-get-exchange-volume-in-btc-with-the-top-100-tickers-using-coingecko\">How to get exchange volume in BTC with the top 100 tickers using the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><li><a href=\"#how-to-get-volume-chart-data-with-coingecko\">How to get volume chart data with the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><li><a href=\"#how-to-get-status-updates-with-coingecko\">How to get Status updates with the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><\/ul><\/li><li><a href=\"#how-to-get-derivatives-using-coingecko\">How to get derivatives using CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><li><a href=\"#how-to-get-events-using-coingecko\">How to get events using the CoinGecko <\/a><a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">AP<a href=\"https:\/\/algotrading101.com\/learn\/wp-admin\/post.php?post=8037&amp;action=edit#how-to-get-started-with-coingecko\">I?<\/a><\/a><\/li><li><a href=\"#how-to-import-coingecko-data-into-google-sheets\">How to import CoinGecko data into Google Sheets?<\/a><\/li><li><a href=\"#what-widgets-does-coingecko-offer\">What widgets does CoinGecko offer?<\/a><\/li><li><a href=\"#about-coingecko\">More about CoinGecko<\/a><\/li><li><a href=\"#full-code\">Full code<\/a><\/li><\/ol>\n\n\n\n<a name=\"what-is-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\">What is the CoinGecko API?<\/h2>\n\n\n\n<p>The CoinGecko API allows us to retrieve cryptocurrency data such as price, volume, market cap, and exchange data from CoinGecko using code.<\/p>\n\n\n\n<p>We will demonstrate this in this article using Python.<\/p>\n\n\n\n<p>CoinGecko is a data provider and crypto tracking website for live pricings, tickers, historical data, exchanges, events, trading volumes, global markets, coin info, and more.<\/p>\n\n\n\n<p>Link: <a href=\"https:\/\/www.coingecko.com\">https:\/\/www.coingecko.com<\/a><\/p>\n\n\n\n<a name=\"why-should-i-use-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Why should I use CoinGecko?<\/strong><\/strong><\/h2>\n\n\n\n<ul><li><strong>It\u2019s completely free<\/strong><\/li><li><strong>No listing fees<\/strong> \u2013 CoinGecko doesn\u2019t charge the listing of coins. Rather, the coins must fulfill some ordinary requirements to be listed.<\/li><li><strong>Has multi-language support<\/strong> \u2013 Their website supports many languages like English, German, Italian, Spanish, French, and more.<\/li><li><strong>Transparency<\/strong> \u2013 CoinGecko is open about their coin ranking methodology and workflow.<\/li><li><strong>Has mobile apps for iOS and Android<\/strong><\/li><li><strong>Has a Google Chrome Extension<\/strong><\/li><li><strong>Provides crypto updates and news <\/strong>\u2013 On the CoinGecko website, we can find a plethora of crypto news, analysis, updates, and research.<\/li><li><strong>Has a great amount of data and available coins<\/strong><\/li><li><strong>Has a good ranking algorithm<\/strong><\/li><li><strong>Easy to use and beginner-friendly<\/strong><\/li><\/ul>\n\n\n\n<a name=\"why-shouldnt-i-use-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why shouldn\u2019t I use the CoinGecko?<\/strong><\/h2>\n\n\n\n<ul><li><strong>GoinGecko isn\u2019t always accurate<\/strong><\/li><li><strong>The API needs more endpoints<\/strong><\/li><li><strong>Doesn\u2019t have official libraries<\/strong><\/li><\/ul>\n\n\n\n<a name=\"what-are-the-alternatives-to-using-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What are the alternatives to using CoinGecko?<\/strong><\/h2>\n\n\n\n<p>CoinGecko can be replaced with other websites that can be more suitable for you needs. Here are some of them:<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/algotrading101.com\/learn\/coinmarketcap-api-guide\/\">CoinMarketCap<\/a><\/li><li>Blockchain wallet<\/li><li>Coinsflare<\/li><li>Coincodex<\/li><li>CryptoCompare<\/li><li>Blockfolio<\/li><li>Wallmine<\/li><li>Coincheckup<\/li><li>Cesium<\/li><li>Cryptonaut<\/li><\/ul>\n\n\n\n<a name=\"what-clients-are-available-for-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Coding Languages\/Clients are available for the CoinGecko<\/strong> API<strong>?<\/strong><\/h2>\n\n\n\n<p>CoinGecko doesn\u2019t feature official clients but the unofficial ones are the following:<\/p>\n\n\n\n<ul><li>NodeJs<\/li><li>Go<\/li><li>.Net<\/li><li>Python<\/li><li>Java<\/li><li>Kotlin<\/li><li>Google Sheets<\/li><li>Cryptosheets<\/li><li>PHP<\/li><li>WordPress Plugin<\/li><\/ul>\n\n\n\n<a name=\"how-to-get-started-with-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to get started with the CoinGecko API?<\/strong><\/h2>\n\n\n\n<p>In order to get started with CoinGecko we will go over to their website that is found on the following link:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.coingecko.com\/en\">https:\/\/www.coingecko.com\/en<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"835\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/Capture-5-1024x835.jpg\" alt=\"\" class=\"wp-image-16231\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/Capture-5-1024x835.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/Capture-5-300x245.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/Capture-5-768x626.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/Capture-5.jpg 1035w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In the top right corner there is a Sing Up button so let\u2019s go ahead and click it. After that, we\u2019ll input our email and password in order to create an account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"492\" height=\"491\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-10.jpg\" alt=\"\" class=\"wp-image-16232\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-10.jpg 492w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-10-300x300.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-10-150x150.jpg 150w\" sizes=\"(max-width: 492px) 100vw, 492px\" \/><\/figure>\n\n\n\n<p>A confirmation email will be sent that will take us straight to the CoinGecko website when confirmed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"281\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-14-1024x281.jpg\" alt=\"\" class=\"wp-image-16234\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-14-1024x281.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-14-300x82.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-14-768x211.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-14.jpg 1030w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As we\u2019ll be mostly focusing on the CoinGecko API let\u2019s go ahead and install it with Python.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>pip install pycoingecko<\/code><\/pre><\/div>\n\n\n\n<p>In our next chapters we\u2019ll explore the CoinGecko API functions using Python and Google Sheets. If you want to play with it some more you can freely use the CoinGecko API tester that is found on the following link:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.coingecko.com\/api\/documentations\/v3\">https:\/\/www.coingecko.com\/api\/documentations\/v3<\/a><\/p>\n\n\n\n<a name=\"how-to-obtain-price-data-with-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to obtain price data with the CoinGecko API?<\/strong><\/h2>\n\n\n\n<p>CoinGecko allows us many ways to obtain price data and we will cover most of them. Firstly, let\u2019s import the CoinGecko library and set the client up.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from pycoingecko import CoinGeckoAPI\ncg = CoinGeckoAPI()<\/code><\/pre><\/div>\n\n\n\n<p>Firstly, we will do a simple API call by asking for the BTC\/USD price data:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_price(ids=&#39;bitcoin&#39;, vs_currencies=&#39;usd&#39;)<\/code><\/pre><\/div>\n\n\n\n<p>If you want to obtain the price data for multiple cryptocurrencies for the USD, you can write the following code:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_price(ids=[&#39;bitcoin&#39;, &#39;ethereum&#39;,&#39;litecoin&#39;], vs_currencies=&#39;usd&#39;)<\/code><\/pre><\/div>\n\n\n\n<p>We can also ask for the same thing in a different way:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_price(ids=&#39;bitcoin,litecoin,ethereum&#39;, vs_currencies=&#39;usd&#39;)<\/code><\/pre><\/div>\n\n\n\n<p>If we want to update the data with more parameters like the 24 hour change and volume or market cap, we can write the following code:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_price(ids=&#39;bitcoin&#39;, vs_currencies=&#39;usd&#39;, include_market_cap=&#39;true&#39;, include_24hr_vol=&#39;true&#39;, include_24hr_change=&#39;true&#39;, include_last_updated_at=&#39;true&#39;)<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"756\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/price.jpg\" alt=\"\" class=\"wp-image-16235\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/price.jpg 971w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/price-300x234.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/price-768x598.jpg 768w\" sizes=\"(max-width: 971px) 100vw, 971px\" \/><\/figure>\n\n\n\n<a name=\"how-to-get-historical-data-with-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to get historical data with the CoinGecko <strong>API<\/strong>?<\/strong><\/h2>\n\n\n\n<p>For this example we will ask for the Historical Data of Bitcoin for a given date of 10.11.2020. The data will provide us with the market data, market cap, total volume, community data and developer data for the given coin.<\/p>\n\n\n\n<p>Firstly, let\u2019s input the relevant library and create the client:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from pycoingecko import CoinGeckoAPI\ncg = CoinGeckoAPI()<\/code><\/pre><\/div>\n\n\n\n<p>The next step is to pass a call for the historical data endpoint with a specific currency and date.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>data = cg.get_coin_history_by_id(id=&#39;bitcoin&#39;,date=&#39;10-11-2020&#39;, localization=&#39;false&#39;)<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"686\" height=\"671\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist.jpg\" alt=\"\" class=\"wp-image-16236\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist.jpg 686w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist-300x293.jpg 300w\" sizes=\"(max-width: 686px) 100vw, 686px\" \/><\/figure>\n\n\n\n<p>If we want to obtain historical data with a 24h volume or more we will simply write the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_coin_market_chart_by_id(id=&#39;bitcoin&#39;,vs_currency=&#39;usd&#39;,days=&#39;3&#39;)<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"467\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist2-1024x467.jpg\" alt=\"\" class=\"wp-image-16237\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist2-1024x467.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist2-300x137.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist2-768x350.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist2.jpg 1248w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you want to obtain historical data with a precise UNIX timestamp range do the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_coin_market_chart_range_by_id(id=&#39;bitcoin&#39;,vs_currency=&#39;usd&#39;,from_timestamp=&#39;1605096000&#39;,to_timestamp=&#39;1605099600&#39;)<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"394\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist3-1024x394.jpg\" alt=\"\" class=\"wp-image-16238\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist3-1024x394.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist3-300x115.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist3-768x295.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/hist3.jpg 1443w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<a name=\"what-are-the-coingecko-coin-functions\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What are the the CoinGecko <strong>API<\/strong> coin functions?<\/strong><\/h2>\n\n\n\n<p>In CoinGecko there are several ways through which we can obtain the coin data. In this example, we\u2019ll cover most of them ranked by the simplest to more complex and informative ones.<\/p>\n\n\n\n<p>Have in mind that some examples will be placed into a data frame for easier observation. For a look into the full code, click <a href=\"#full-code\">here<\/a>.<\/p>\n\n\n\n<a name=\"how-to-get-a-list-of-coins-using-coingecko\">\n\n\n\n<h3 class=\"wp-block-heading\">How to get a list of coins using the CoinGecko API?<\/h3>\n\n\n\n<p>If you want to get a list of available coins using CoinGecko all you need to do is the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from pycoingecko import CoinGeckoAPI\ncg = CoinGeckoAPI()\ncg.get_coins_list()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"626\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin.jpg\" alt=\"\" class=\"wp-image-16239\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin.jpg 621w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin-298x300.jpg 298w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin-150x150.jpg 150w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/figure>\n\n\n\n<p>In order to list all the supported coins prices, volume, market caps and related data for a specific currency (USD), we can write the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_coins_markets(vs_currency=&#39;usd&#39;)<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"756\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin1.jpg\" alt=\"\" class=\"wp-image-16240\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin1.jpg 744w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin1-295x300.jpg 295w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/figure>\n\n\n\n<p>If you want to get the current data for a specific coin (BTC) aka spot price data, write the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_coin_by_id(id=\u2019bitcoin\u2019)<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"685\" height=\"538\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin2.jpg\" alt=\"\" class=\"wp-image-16241\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin2.jpg 685w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin2-300x236.jpg 300w\" sizes=\"(max-width: 685px) 100vw, 685px\" \/><\/figure>\n\n\n\n<p>Have in mind that this call will give you plethora of information from which you need to discriminate what you exactly need.<\/p>\n\n\n\n<p>In order to get all the tickers for a specific coin (BTC) we can write the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_coin_ticker_by_id(id=\u2019bitcoin\u2019)<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"762\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin3.jpg\" alt=\"\" class=\"wp-image-16242\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin3.jpg 698w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin3-275x300.jpg 275w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/figure>\n\n\n\n<a name=\"how-to-get-status-updates-for-a-specific-coin-using-coingecko\">\n\n\n\n<h3 class=\"wp-block-heading\">How to get status updates for a specific coin using the CoinGecko API?<\/h3>\n\n\n\n<p>In order to get status updates for a specific coin (Litecoin) using CoinGecko, write the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_coin_status_updates_by_id(id=\u2019bitcoin\u2019)<\/code><\/pre><\/div>\n\n\n\n<a name=\"how-to-obtain-the-trending-coins-using-coingecko\">\n\n\n\n<h3 class=\"wp-block-heading\">How to obtain the trending coins using the CoinGecko API?<\/h3>\n\n\n\n<p>In order to obtain the trending coins using CoinGecko, write the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_search_trending()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"750\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin5.jpg\" alt=\"\" class=\"wp-image-16243\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin5.jpg 740w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin5-296x300.jpg 296w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/figure>\n\n\n\n<a name=\"what-is-the-coingecko-trust-score\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is the CoinGecko Trust Score?<\/strong><\/h2>\n\n\n\n<p>In the cryptocurrency market many unregulated exchanges exist that engage in things like wash trading and deviant behavior in order to inflate the trading volume. Thus, the high trading volume can\u2019t be equated to high liquidity of the market.<\/p>\n\n\n\n<p>CoinGecko demised a plan to combat the described behavior by implementing a new ranking algorithm called the \u201cTrust Score\u201d.<\/p>\n\n\n\n<p>Exchanges and trading pairs aren\u2019t anymore ranked by their report but by various metrics that, when pondered, create a holistic Trust Score.<\/p>\n\n\n\n<p>The trust score measures many characteristics of a cryptocurrency and some of them are: trading activity, cybersecurity, web traffic, order book spread and depth, liquidity, technical expertise and more.<\/p>\n\n\n\n<p>If you want to take a deeper look into the methodology behind the Trust Score be sure to visit the following link: <a href=\"https:\/\/www.coingecko.com\/en\/methodology\">https:\/\/www.coingecko.com\/en\/methodology<\/a><\/p>\n\n\n\n<a name=\"what-are-the-coingecko-exchange-functions\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What are the the CoinGecko <strong>API<\/strong> exchange functions?<\/strong><\/h2>\n\n\n\n<p>In CoinGecko there are six ways through which we can obtain the exchange data. In this example, we\u2019ll cover all of them ranked by the simplest to more complex and informative ones.<\/p>\n\n\n\n<p>Firstly, let\u2019s input the relevant library and create the client:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from pycoingecko import CoinGeckoAPI\ncg = CoinGeckoAPI()<\/code><\/pre><\/div>\n\n\n\n<a name=\"how-to-get-the-exchange-list-using-coingecko\">\n\n\n\n<h3 class=\"wp-block-heading\">How to get the exchange list using the CoinGecko API?<\/h3>\n\n\n\n<p>Now, let\u2019s ask CoinGecko to give as a full list of all exchanges it carries.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_exchanges_list()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"750\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin5-1.jpg\" alt=\"\" class=\"wp-image-16244\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin5-1.jpg 740w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/coin5-1-296x300.jpg 296w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/figure>\n\n\n\n<p>As we can see, it gives us details like the trust score, trust score rank and the 24h trading volume. As the information can seem a bit cluttered, let\u2019s make a pandas data frame with the trust score and trust score rank of each exchange.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import pandas as pd\ndf =pd.DataFrame(data, columns=[&#39;name&#39;, &#39;trust_score&#39;,&#39;trust_score_rank&#39;])\ndf.set_index(&#39;name&#39;,inplace=True)\ndf.head()<\/code><\/pre><\/div>\n\n\n\n<p>Let\u2019s show the first 5 and last 5 exchanges by their trust score:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"419\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch1.jpg\" alt=\"\" class=\"wp-image-16245\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch1.jpg 672w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch1-300x187.jpg 300w\" sizes=\"(max-width: 672px) 100vw, 672px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"676\" height=\"422\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch2.jpg\" alt=\"\" class=\"wp-image-16246\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch2.jpg 676w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch2-300x187.jpg 300w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/figure>\n\n\n\n<p>The next example will show us a list of all supported markets with their id and name. Have in mind that I\u2019ll put them into a pandas DataFrame for a better view:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>data_id=cg.get_exchanges_id_name_list()\ndf_id = pd.DataFrame(data_id, columns=[&#39;id&#39;, &#39;name&#39;])\ndf_id.set_index(&#39;id&#39;,inplace=True)\ndf_id.tail()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"810\" height=\"610\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch3.jpg\" alt=\"\" class=\"wp-image-16247\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch3.jpg 810w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch3-300x226.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch3-768x578.jpg 768w\" sizes=\"(max-width: 810px) 100vw, 810px\" \/><\/figure>\n\n\n\n<a name=\"how-to-get-exchange-volume-in-btc-with-the-top-100-tickers-using-coingecko\">\n\n\n\n<h3 class=\"wp-block-heading\">How to get exchange volume in BTC with the top 100 tickers using the CoinGecko API?<\/h3>\n\n\n\n<p>In this example, we\u2019ll ask for a specific exchange that will give us its exchange volume in BTC and the top 100 tickers. <\/p>\n\n\n\n<p>I\u2019ll ask for Binance and arrange it into a pandas data frame while asking for the top and bottom five tickers.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>data_binance=cg.get_exchanges_by_id(&#39;binance&#39;)\ndf_binance =pd.DataFrame(data_binance[&#39;tickers&#39;], columns=[&#39;base&#39;,&#39;target&#39;,&#39;volume&#39;])\ndf_binance.head()\ndf_binance.tail()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"736\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch4.jpg\" alt=\"\" class=\"wp-image-16248\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch4.jpg 515w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch4-210x300.jpg 210w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/><\/figure>\n\n\n\n<p>Speaking of Binance, you can find an article about their API on our website:<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-quantitative-trading-ideas-and-guides-algotrading-101-blog\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"BEiMSA1NOH\"><a href=\"https:\/\/algotrading101.com\/learn\/binance-python-api-guide\/\">Binance Python API \u2013 A Step-by-Step Guide<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Binance Python API \u2013 A Step-by-Step Guide&#8221; &#8212; Quantitative Trading Ideas and Guides - AlgoTrading101 Blog\" src=\"https:\/\/algotrading101.com\/learn\/binance-python-api-guide\/embed\/#?secret=LVyH8LOkj7#?secret=BEiMSA1NOH\" data-secret=\"BEiMSA1NOH\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<a name=\"how-to-get-volume-chart-data-with-coingecko\">\n\n\n\n<h3 class=\"wp-block-heading\">How to get volume chart data with the CoinGecko API?<\/h3>\n\n\n\n<p>If we want to get the tickers for a specific exchange (i.e. Coinbase Pro) that are paginated we can write the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_exchanges_tickers_by_id(id=&#39;gdax&#39;)<\/code><\/pre><\/div>\n\n\n\n<p>I\u2019ll go ahead and arrange it:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>data_coinbase_pro=cg.get_exchanges_tickers_by_id(id=&#39;gdax&#39;)\ndf_coinbase_pro = pd.DataFrame(data_coinbase_pro[&#39;tickers&#39;], columns=[&#39;base&#39;, &#39;target&#39;,&#39;volume&#39;])\ndf_coinbase_pro.set_index(&#39;base&#39;,inplace=True)\ndf_coinbase_pro<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"650\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch5.jpg\" alt=\"\" class=\"wp-image-16249\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch5.jpg 384w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch5-177x300.jpg 177w\" sizes=\"(max-width: 384px) 100vw, 384px\" \/><\/figure>\n\n\n\n<a name=\"how-to-get-status-updates-with-coingecko\">\n\n\n\n<h3 class=\"wp-block-heading\">How to get Status updates with the CoinGecko API?<\/h3>\n\n\n\n<p>The next thing one might look for is obtaining the status updates for a given exchange or volume chart data. Let\u2019s cover these and move to our next chapter:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch6-1024x506.jpg\" alt=\"\" class=\"wp-image-16250\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch6-1024x506.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch6-300x148.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch6-768x380.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/exch6.jpg 1484w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<a name=\"how-to-get-derivatives-using-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to get derivatives using the CoinGecko <strong>API<\/strong>?<\/strong><\/h2>\n\n\n\n<p>In CoinGecko there are four ways through which we can obtain the derivates data. In this example, we\u2019ll cover all of them ranked by the simplest to more complex and informative ones.<\/p>\n\n\n\n<p>Have in mind that some examples will be placed into a data frame for easier observation. For a look into the full code, click <a href=\"#full-code\">here<\/a>.<\/p>\n\n\n\n<p>Let\u2019s obtain a full list of available derivatives:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_derivatives()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"536\" height=\"581\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives.jpg\" alt=\"\" class=\"wp-image-16251\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives.jpg 536w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives-277x300.jpg 277w\" sizes=\"(max-width: 536px) 100vw, 536px\" \/><\/figure>\n\n\n\n<p>In order to get all of the derivative exchange data we do the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_derivatives_exchanges()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"294\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives1.jpg\" alt=\"\" class=\"wp-image-16252\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives1.jpg 701w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives1-300x126.jpg 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/figure>\n\n\n\n<p>If you want to do the same but with an id do this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_derivatives_exchanges_by_id(id=\u2019bitmex\u2019)<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"346\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives2.jpg\" alt=\"\" class=\"wp-image-16253\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives2.jpg 751w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/derivatives2-300x138.jpg 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/figure>\n\n\n\n<p>To get a list of all derivatives exchanges write the following:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_derivatives_exchanges_list()<\/code><\/pre><\/div>\n\n\n\n<a name=\"how-to-get-events-using-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to get events using the CoinGecko <strong>API<\/strong>?<\/strong><\/h2>\n\n\n\n<p>In CoinGecko there are three types of events functions:<\/p>\n\n\n\n<ul><li>Basic events function \u2013 Obtains events paginated by 100<\/li><li>Countries events \u2013 Obtains a list of event countries<\/li><li>Event types \u2013 Obtains a list of event types<\/li><\/ul>\n\n\n\n<p>Let\u2019s invoke all three of them:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>cg.get_events()\ndata_countries=cg.get_events_countries()\ncg.get_events_types()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"653\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/events.png\" alt=\"\" class=\"wp-image-6317\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/events.png 751w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/events-300x261.png 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/figure>\n\n\n\n<a name=\"how-to-import-coingecko-data-into-google-sheets\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to import CoinGecko data into Google Sheets?<\/strong><\/h2>\n\n\n\n<p>CoinGecko can be used in Google Sheets. For this, go to the \u201cTools\u201d button and select the script editor option. In a newly opened window paste the following code and select the run arrow.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>\/**\n* Imports JSON data to your spreadsheet\n* @param url URL of your JSON data as string\n* @param xpath simplified xpath as string\n* @customfunction\n*\/\nfunction IMPORTJSON(url,xpath){\n\ntry{\n\/\/ \/rates\/EUR\nvar res = UrlFetchApp.fetch(url);\nvar content = res.getContentText();\nvar json = JSON.parse(content);\n\nvar patharray = xpath.split(&quot;.&quot;);\n\/\/Logger.log(patharray);\n\nfor(var i=0;i&lt;patharray.length;i++){\njson = json[patharray[i]];\n}\n\n\/\/Logger.log(typeof(json));\n\nif(typeof(json) === &quot;undefined&quot;){\nreturn &quot;Node Not Available&quot;;\n} else if(typeof(json) === &quot;object&quot;){\nvar tempArr = [];\n\nfor(var obj in json){\ntempArr.push([obj,json[obj]]);\n}\nreturn tempArr;\n} else if(typeof(json) !== &quot;object&quot;) {\nreturn json;\n}\n}\ncatch(err){\nreturn &quot;Error getting data&quot;; \n}\n}<\/code><\/pre><\/div>\n\n\n\n<p> Be sure to save the code as \u201cImportJSON\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"801\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/excel1.jpg\" alt=\"\" class=\"wp-image-16254\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/excel1.jpg 729w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/excel1-273x300.jpg 273w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><\/figure>\n\n\n\n<p>Have in mind that all of the Google Sheet code is built from these blocks:<\/p>\n\n\n\n<p>=ImportJSON (\u201cAPI URL\u201d,\u201dJsonPath\u201d)<\/p>\n\n\n\n<p>Now, let\u2019s ask for the Bitcoin market data for 11-11-2020.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"149\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/excel2-1024x149.jpg\" alt=\"\" class=\"wp-image-16255\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/excel2-1024x149.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/excel2-300x44.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/excel2-768x112.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/excel2.jpg 1350w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>CoinGecko has created a few Google Sheets templates that you can find and use on the following links:<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1XI8e256upCetxeTAmuDe8wKAdoCtyx1DnuH3EyOQRoA\/edit#gid=471367795\">https:\/\/docs.google.com\/spreadsheets\/d\/1XI8e256upCetxeTAmuDe8wKAdoCtyx1DnuH3EyOQRoA\/edit#gid=471367795<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1XI8e256upCetxeTAmuDe8wKAdoCtyx1DnuH3EyOQRoA\/edit#gid=0\">https:\/\/docs.google.com\/spreadsheets\/d\/1XI8e256upCetxeTAmuDe8wKAdoCtyx1DnuH3EyOQRoA\/edit#gid=0<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1wTTuxXt8n9q7C4NDXqQpI3wpKu1_5bGVmP9Xz0XGSyU\/edit#gid=0\">https:\/\/docs.google.com\/spreadsheets\/d\/1wTTuxXt8n9q7C4NDXqQpI3wpKu1_5bGVmP9Xz0XGSyU\/edit#gid=0<\/a><\/p>\n\n\n\n<a name=\"what-widgets-does-coingecko-offer\">\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What widgets does CoinGecko offer?<\/strong><\/h2>\n\n\n\n<p>CoinGecko has created several interesting widgets that may be of use to its users. The available widgets are the following:<\/p>\n\n\n\n<ul><li>Coin Ticker Widget<\/li><li>Coin Market Ticker List Widget<\/li><li>Coin Price Chart Widget<\/li><li>Coin Converter Widget<\/li><li>Coin List Widget<\/li><li>Coin Price Marquee Widget<\/li><li>Coin Price Static Headline Widget<\/li><li>Coin Heatmap Widget<\/li><li>Coin Compare &nbsp;Chart Widget<\/li><li>Beam Widget<\/li><li>Random Coin Widget<\/li><\/ul>\n\n\n\n<p>Now, allow me to show a few of them:<\/p>\n\n\n\n<figure class=\"wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"409\" data-id=\"16256\"  src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w1-1024x409.jpg\" alt=\"\" class=\"wp-image-16256\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w1-1024x409.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w1-300x120.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w1-768x306.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w1-1536x613.jpg 1536w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w1.jpg 1699w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"447\" data-id=\"16257\"  src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w2-1024x447.jpg\" alt=\"\" class=\"wp-image-16257\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w2-1024x447.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w2-300x131.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w2-768x335.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w2-1536x670.jpg 1536w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w2.jpg 1724w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"496\" data-id=\"16258\"  src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w3-1024x496.jpg\" alt=\"\" class=\"wp-image-16258\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w3-1024x496.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w3-300x145.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w3-768x372.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w3-1536x744.jpg 1536w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w3.jpg 1677w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"489\" data-id=\"16259\"  src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w4-1024x489.jpg\" alt=\"\" class=\"wp-image-16259\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w4-1024x489.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w4-300x143.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w4-768x367.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w4-1536x734.jpg 1536w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w4.jpg 1698w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"459\" data-id=\"16260\"  src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w5-1024x459.jpg\" alt=\"\" class=\"wp-image-16260\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w5-1024x459.jpg 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w5-300x134.jpg 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w5-768x344.jpg 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w5-1536x688.jpg 1536w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/w5.jpg 1697w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<a name=\"about-coingecko\">\n\n\n\n<h2 class=\"wp-block-heading\">More about CoinGecko<\/h2>\n\n\n\n<p>CoinGecko is also used for ranking cryptocurrencies and their evaluation. The users of their website can track various currencies while having insight into the qualitative data and metrics behind them.<\/p>\n\n\n\n<p>All of this allows us to make better market decisions, better algorithms and also aids the predictive values of our models.<\/p>\n\n\n\n<p>CoinGecko follows a holistic approach when it comes to data aggregation. Currently, CoinGecko is tracking more than 4,750 coins and over 350 exchanges.<\/p>\n\n\n\n<p>Moreover, CoinGecko doesn\u2019t just track coins by measuring their market cap or trading volume, they also include other indicators like project\u2019s code progress, community growth, developer stats, and major events that impact the said coins.<\/p>\n\n\n\n<p>For example, the developer stats are obtained by tracking Gitlab, Github and Bitbucket. All the commits, lines added\/deeted, forks, stars and pull requests are being counted for.<\/p>\n\n\n\n<p>On the other hand, community stats are obtained through the tracking of Reddit subs, Twitter followers, Facebook likes\/comments and more.<\/p>\n\n\n\n<p>By adding all of this data on-top of the market indicators, CoinGecko manages to get a solid grasp on cryptocurrencies and their overtime predicted change.<\/p>\n\n\n\n<p>As there is much uncertainty in the crypto market, CoinGecko decided to produce quarterly reports about the state of the crypto industry. This allows us to get a better understanding of the underlying movement of the crypto market.<\/p>\n\n\n\n<p>You can check out the quarterly reports here: <a href=\"https:\/\/www.coingecko.com\/en\/publications\/reports\">https:\/\/www.coingecko.com\/en\/publications\/reports<\/a><\/p>\n\n\n\n<p>CoinGecko also offers an automatic technical analysis tool for each coin.<\/p>\n\n\n\n<p>CoinGecko developers also managed to produce a Google Add-on, Google Chrome Extension, and a mobile app for Android and iOS.<\/p>\n\n\n\n<p>You can download the CoinGecko extension here:<\/p>\n\n\n\n<p><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/coingecko-bitcoin-cryptoc\/ofmoicejmilkphppeoekfhbpkleppdlb\/related\">https:\/\/chrome.google.com\/webstore\/detail\/coingecko-bitcoin-cryptoc\/ofmoicejmilkphppeoekfhbpkleppdlb\/related<\/a><\/p>\n\n\n\n<a name=\"full-code\">\n\n\n\n<h2 class=\"wp-block-heading\">Full code<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/Lucas170\/AlgoTrading101-CoinGecko-API-A-Complete-Guide\" target=\"_blank\" rel=\"noreferrer noopener\">Github Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_8037\" class=\"pvc_stats total_only  \" data-element-id=\"8037\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>Table of contents: What is the CoinGecko API? Why should I use CoinGecko? Why shouldn\u2019t I use the CoinGecko? What are the alternatives to using CoinGecko? What Coding Languages\/Clients are available for the CoinGecko API? How to get started with the the CoinGecko API? How to obtain price data with the CoinGecko API? How to [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":6292,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"no","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[3,2],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CoinGecko API - A Complete Guide - AlgoTrading101 Blog<\/title>\n<meta name=\"description\" content=\"The CoinGecko API allows us to retrieve cryptocurrency data such as price, volume, market cap, and exchange data from CoinGecko using code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CoinGecko API - A Complete Guide - AlgoTrading101 Blog\" \/>\n<meta property=\"og:description\" content=\"The CoinGecko API allows us to retrieve cryptocurrency data such as price, volume, market cap, and exchange data from CoinGecko using code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-26T18:22:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-03T21:11:40+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/1111.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1172\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Igor Radovanovic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Igor Radovanovic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CoinGecko API - A Complete Guide - AlgoTrading101 Blog","description":"The CoinGecko API allows us to retrieve cryptocurrency data such as price, volume, market cap, and exchange data from CoinGecko using code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/","og_locale":"en_US","og_type":"article","og_title":"CoinGecko API - A Complete Guide - AlgoTrading101 Blog","og_description":"The CoinGecko API allows us to retrieve cryptocurrency data such as price, volume, market cap, and exchange data from CoinGecko using code.","og_url":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/","og_site_name":"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog","article_published_time":"2021-02-26T18:22:33+00:00","article_modified_time":"2023-04-03T21:11:40+00:00","og_image":[{"width":1172,"height":628,"url":"http:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/1111.png","type":"image\/png"}],"author":"Igor Radovanovic","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Igor Radovanovic","Est. reading time":"17 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/#article","isPartOf":{"@id":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/"},"author":{"name":"Igor Radovanovic","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/a7ae60c112a73b7c3fe14ac56726a0ae"},"headline":"CoinGecko API &#8211; A Complete Guide","datePublished":"2021-02-26T18:22:33+00:00","dateModified":"2023-04-03T21:11:40+00:00","mainEntityOfPage":{"@id":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/"},"wordCount":2219,"publisher":{"@id":"https:\/\/algotrading101.com\/learn\/#organization"},"articleSection":["Programming","Trading"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/","url":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/","name":"CoinGecko API - A Complete Guide - AlgoTrading101 Blog","isPartOf":{"@id":"https:\/\/algotrading101.com\/learn\/#website"},"datePublished":"2021-02-26T18:22:33+00:00","dateModified":"2023-04-03T21:11:40+00:00","description":"The CoinGecko API allows us to retrieve cryptocurrency data such as price, volume, market cap, and exchange data from CoinGecko using code.","breadcrumb":{"@id":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/algotrading101.com\/learn\/coingecko-api-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/algotrading101.com\/learn\/"},{"@type":"ListItem","position":2,"name":"CoinGecko API &#8211; A Complete Guide"}]},{"@type":"WebSite","@id":"https:\/\/algotrading101.com\/learn\/#website","url":"https:\/\/algotrading101.com\/learn\/","name":"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog","description":"Authentic Stories about Algorithmic trading, coding and life.","publisher":{"@id":"https:\/\/algotrading101.com\/learn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/algotrading101.com\/learn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/algotrading101.com\/learn\/#organization","name":"AlgoTrading101","url":"https:\/\/algotrading101.com\/learn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/logo\/image\/","url":"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/AlgoTrading101-Lucas-Liew.jpg","contentUrl":"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/AlgoTrading101-Lucas-Liew.jpg","width":1200,"height":627,"caption":"AlgoTrading101"},"image":{"@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/a7ae60c112a73b7c3fe14ac56726a0ae","name":"Igor Radovanovic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d46175c509b3ee240a1e2bbe735a4d1e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d46175c509b3ee240a1e2bbe735a4d1e?s=96&d=mm&r=g","caption":"Igor Radovanovic"},"sameAs":["https:\/\/igorradovanovic.com","https:\/\/www.linkedin.com\/in\/igor-radovanovic-profile"],"url":"https:\/\/algotrading101.com\/learn\/author\/igor\/"}]}},"modified_by":"Igor Radovanovic","_links":{"self":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/8037"}],"collection":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/comments?post=8037"}],"version-history":[{"count":13,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/8037\/revisions"}],"predecessor-version":[{"id":21160,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/8037\/revisions\/21160"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/media\/6292"}],"wp:attachment":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/media?parent=8037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/categories?post=8037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/tags?post=8037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}