Get the current price of Bitcoin and Ethereum in USD.

https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd

Example-> JSON data

1 2 3 4 5 6 7 8 { "bitcoin": { "usd": 62708 }, "ethereum": { "usd": 3447.06 } }

List all supported coins id, name, and symbol.

https://api.coingecko.com/api/v3/coins/list

Example-> JSON data

1 2 3 4 5 6 7 8 { "bitcoin": { "usd": 62708 }, "ethereum": { "usd": 3447.06 } }

List the top 10 cryptocurrencies by market cap in USD.

https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=10&page=1&sparkline=false

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 { "id": "bitcoin", "symbol": "btc", "name": "Bitcoin", "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400", "current_price": 62750, "market_cap": 1237271563843, "market_cap_rank": 1, "fully_diluted_valuation": 1317630590876, "total_volume": 22552522281, "high_24h": 63791, "low_24h": 62364, "price_change_24h": 109.34, "price_change_percentage_24h": 0.17455, "market_cap_change_24h": 3286888832, "market_cap_change_percentage_24h": 0.26636, "circulating_supply": 19719262, "total_supply": 21000000, "max_supply": 21000000, "ath": 73738, "ath_change_percentage": -14.95853, "ath_date": "2024-03-14T07:10:36.635Z", "atl": 67.81, "atl_change_percentage": 92377.13745, "atl_date": "2013-07-06T00:00:00.000Z", "roi": null, "last_updated": "2024-07-02T12:02:50.955Z" },

Get current data (name, price, market, ...) for a coin by its id.

https://api.coingecko.com/api/v3/coins/{id}

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 { "id": "bitcoin", "symbol": "btc", "name": "Bitcoin", "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400", "current_price": 62750, "market_cap": 1237271563843, "market_cap_rank": 1, "fully_diluted_valuation": 1317630590876, "total_volume": 22552522281, "high_24h": 63791, "low_24h": 62364, "price_change_24h": 109.34, "price_change_percentage_24h": 0.17455, "market_cap_change_24h": 3286888832, "market_cap_change_percentage_24h": 0.26636, "circulating_supply": 19719262, "total_supply": 21000000, "max_supply": 21000000, "ath": 73738, "ath_change_percentage": -14.95853, "ath_date": "2024-03-14T07:10:36.635Z", "atl": 67.81, "atl_change_percentage": 92377.13745, "atl_date": "2013-07-06T00:00:00.000Z", "roi": null, "last_updated": "2024-07-02T12:02:50.955Z" },

List all exchanges.

https://api.coingecko.com/api/v3/exchanges

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 { "id": "binance", "name": "Binance", "year_established": 2017, "country": "Cayman Islands", "description": "", "url": "https://www.binance.com/", "image": "https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274", "has_trading_incentive": false, "trust_score": 10, "trust_score_rank": 1, "trade_volume_24h_btc": 153672.98493765166, "trade_volume_24h_btc_normalized": 88955.03252105687 },

Get exchange volume in BTC and tickers for a specific exchange by its id.

https://api.coingecko.com/api/v3/exchanges/{id}

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 { "id": "binance", "name": "Binance", "year_established": 2017, "country": "Cayman Islands", "description": "", "url": "https://www.binance.com/", "image": "https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274", "has_trading_incentive": false, "trust_score": 10, "trust_score_rank": 1, "trade_volume_24h_btc": 153672.98493765166, "trade_volume_24h_btc_normalized": 88955.03252105687 },

Get cryptocurrency global data.

https://api.coingecko.com/api/v3/global

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 "data": { "active_cryptocurrencies": 14871, "upcoming_icos": 0, "ongoing_icos": 49, "ended_icos": 3376, "markets": 1149, "total_market_cap": { "btc": 38825019.45306031, "eth": 706726731.8488785, "ltc": 32346866755.994804, "bch": 6305622841.344227, "bnb": 4208395466.196753, "eos": 4199757175810.622, "xrp": 5014168708183.004, "xlm": 26098933763264.047, "link": 166686615943.05646, "dot": 381140764373.3244, "yfi": 368973822.6029083, "usd": 2433877750161.5464, "aed": 8939645145732.115, "ars": 2223388700694327.5, "aud": 3657463545378.0137, "bdt": 285972598979650.94, "bhd": 917416143634.8936, "bmd": 2433877750161.5464, "brl": 13739461382537.186, "cad": 3341093512145.5137, "chf": 2199551302009.2456, "clp": 2304736196737976, "cny": 17697211896974.633, "czk": 57149640063768.24, "dkk": 16922608398085.98, "eur": 2268775652979.3374, "gbp": 1922614956084.864, "gel": 6814857700452.325, "hkd": 19016495331449.723, "huf": 897915038904608.1, "idr": 39857455901437810, "ils": 9170332946647.912, "inr": 203178887909099.94, "jpy": 393259882176727.4, "krw": 3377039552426636, "kwd": 746056546757.0175, "lkr": 744078234942498.5, "mmk": 5362660204474835, "mxn": 44693774166255.59, "myr": 11485469103012.348, "ngn": 3661769075118047.5, "nok": 26035153785311.805, "nzd": 4014975848099.257, "php": 143115664960001.94, "pkr": 677507039504589.5, "pln": 9811839840769.012, "rub": 215223611007666.6, "sar": 9130789734841.05, "sek": 25908385262694.66, "sgd": 3305580801892.9087, "thb": 89664056315951.61, "try": 79571383490980.11, "twd": 79384091730349.53, "uah": 99237673070290.05, "vef": 243704179123.67587, "vnd": 61954379268590630, "zar": 44976313298760.59, "xdr": 1850316617516.3137, "xag": 83253319677.13579, "xau": 1048636228.657102, "bits": 38825019453060.305, "sats": 3882501945306030.5 }, "total_volume": { "btc": 990005.5127558701, "eth": 18020940.372952722, "ltc": 824818038.9846591, "bch": 160788106.79895377, "bnb": 107310563.39659329, "eos": 107090294219.04927, "xrp": 127857106909.90709, "xlm": 665500975058.6249, "link": 4250369246.711066, "dot": 9718770606.715944, "yfi": 9408523.77115017, "usd": 62061846303.69469, "aed": 227953471782.7022, "ars": 56694551649812.32, "aud": 93262260357.7975, "bdt": 7292062012467.638, "bhd": 23393344098.329487, "bmd": 62061846303.69469, "brl": 350344770012.36993, "cad": 85195089204.16542, "chf": 56086717927.11394, "clp": 58768844738820.69, "cny": 451264096843.42474, "czk": 1457268006872.4243, "dkk": 431512355700.6575, "eur": 57851880959.683556, "gbp": 49025072807.294334, "gel": 173773169650.34503, "hkd": 484904720632.3431, "huf": 22896082243479.586, "idr": 1016331778392377.1, "ils": 233835817699.05865, "inr": 5180891650261.898, "jpy": 10027797971135.232, "krw": 86111683156760.34, "kwd": 19023817747.4715, "lkr": 18973372451373.406, "mmk": 136743348496844.9, "mxn": 1139653847796.6233, "myr": 292869852707.13556, "ngn": 93372047763908.69, "nok": 663874638982.9274, "nzd": 102378524961.34756, "php": 3649329717488.55, "pkr": 17275862665088.33, "pln": 250193706776.70917, "rub": 5488022011950.85, "sar": 232827498882.16284, "sek": 660642147718.2001, "sgd": 84289544804.74826, "thb": 2286358417828.1187, "try": 2029003704915.6553, "twd": 2024227921718.8892, "uah": 2530477635212.308, "vef": 6214252670.388955, "vnd": 1579784836667688.8, "zar": 1146858359286.6274, "xdr": 47181525662.84305, "xag": 2122889997.138031, "xau": 26739346.47994685, "bits": 990005512755.8701, "sats": 99000551275587.02 }, "market_cap_percentage": { "btc": 50.7900891687658, "eth": 17.021492174228925, "usdt": 4.6269182485294245, "bnb": 3.653864287169078, "sol": 2.840573783255472, "steth": 1.3776198079653044, "usdc": 1.333914284799473, "xrp": 1.1106023040408737, "ton": 0.8086469622697625, "doge": 0.7374408432743274 }, "market_cap_change_percentage_24h_usd": 0.16446896601911876, "updated_at": 1719922085 }