Links

#3: Get Exchanges & NFT Data

Too simple? Let’s get into something slightly more advance: Exchanges & NFT
Exchange and NFT data work very similarly as Coin data, which you already mastered them in tutorial #1 and #2.
  1. 1.
    First, get the id (coin, exchange or NFT) from /list endpoint
  2. 2.
    Then use the id to query latest market data or historical data
​
TYPE
Coins
NFT
Exchanges
Derivatives
To get full list of ids
/coins/list
/nfts/list
/exchanges/list
/derivatives/exchanges/list
To get latest market data - Coins: price, volume, metadata, image, price change %,.. - Exchange: volume in BTC, image,.. - NFT: floor price, volume, metadata, image,..
/coins/{id}
/nfts/{id}
/exchanges/{id}
/derivatives/exchanges/{id}
Historical data
/coins/{id}/market_chart
/nfts/market_chart
/exchanges/{id}/volume_chart
/exchanges/{id}/volume_chart
^See the similarities here? 😏
Try to look for exchanges and NFT endpoints on https://www.coingecko.com/en/api/documentation and try them out.
​
Now that you've mastered all the basics, wanna learn more on the common use cases? Continue to read the next section!