#1: Get Data by ID or Address
First thing first, here’s few key rules that help you understand the basics
1. There are 2 main ways to query price & market data of specific Coins:
a) Coin ID
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd
b) Coin Contract Address

2. In most cases, you will have to specify in which currency that you want the API data return.
Type
Currency
vs_currencies (API value)
3. Here’s another way to obtain coin prices & market data in bulk, by using ‘per_page’
Last updated