π New to CoinGecko and CoinGecko API? Sign up for an account here
1. Creating a new API Key
- Once you have signed up and logged in to your CoinGecko account, go to Developer Dashboard
![CoinGecko API Developer Dashboard](https://files.readme.io/ad714e9-image.png)
CoinGecko API Developer Dashboard
- Click on + Add New Key button to create a new API key
2. Making API Request
- The root URL for the CoinGecko Public Demo Plan API is
https://api.coingecko.com/api/v3/
- Refer to the Authentication page for detailed information
- For a demonstration using the Ping Endpoint, use the following example:
https://api.coingecko.com/api/v3/ping?x_cg_demo_api_key=YOUR_API_KEY
- Feel free to experiment with Ping or other endpoints in the documentation by entering your API Key in the
x-cg-demo-api-key
section and clicking the "Try It!" button
![Ping Endpoint](https://files.readme.io/f174128-image.png)
Ping Endpoint
3. Edit or Delete API Key
- Go to Developer's Dashboard and click βEditβ button on a specific API Key
- In case the API Key is compromised, you may delete the API Key by clicking the "Delete Key" button
- You may also update the label and save the changes by clicking "Confirm" button
![Edit API Key](https://files.readme.io/f349405-image.png)
Edit API Key
4. API Usage Report
- You can monitor your API usage in the Usage Report section, which provides details such as:
- Total Monthly API Calls
- Remaining Monthly API Calls
- Rate Limit (Request Per Minute) - maximum number of API requests allowed in one minute
- Last Used - the timestamp of the last used instance
![API Usage Report](https://files.readme.io/9e7d4c2-image.png)
API Usage Report
- You can also check your full historical usage by specifying
API Keys
,timeframe
ordate range
. You may export as CSV for more comprehensive view
![Historical Data Usage](https://files.readme.io/ed3143e-image.png)
Historical Data Usage